summaryrefslogtreecommitdiff
path: root/apex/Android.bp
blob: 51a7335f343297a85f63e991486bcf48a0204efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// Copyright (C) 2019 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// i18n APEX is intended as a home for ICU as of July 2019.
// Various parts and dependencies of ICU would be gradually moved into this APEX,
// and the below build rules should reflect the latest status.
// TODO(b/138434658): Move the apex declaration back to external/icu
// The apex is declared in libcore/ to workaround new dependency from external/icu
// to system/sepolicy in a downstream branch.
apex {
    name: "com.android.i18n",
    defaults: ["com.android.i18n-defaults"],
    certificate: ":com.android.i18n.certificate",
}

apex_defaults {
    name: "com.android.i18n-defaults",
    compile_multilib: "both",
    manifest: "manifest.json",
    prebuilts: ["apex_icu.dat"],
    key: "com.android.i18n.key",
}

apex_key {
    name: "com.android.i18n.key",
    public_key: "com.android.i18n.avbpubkey",
    private_key: "com.android.i18n.pem",
}

android_app_certificate {
    name: "com.android.i18n.certificate",
    certificate: "com.android.i18n",
}