blob: 51a7335f343297a85f63e991486bcf48a0204efa [file] [log] [blame]
Victor Chang856c2f32019-07-05 16:34:55 +01001//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16// i18n APEX is intended as a home for ICU as of July 2019.
17// Various parts and dependencies of ICU would be gradually moved into this APEX,
18// and the below build rules should reflect the latest status.
19// TODO(b/138434658): Move the apex declaration back to external/icu
20// The apex is declared in libcore/ to workaround new dependency from external/icu
21// to system/sepolicy in a downstream branch.
22apex {
23 name: "com.android.i18n",
24 defaults: ["com.android.i18n-defaults"],
25 certificate: ":com.android.i18n.certificate",
26}
27
28apex_defaults {
29 name: "com.android.i18n-defaults",
30 compile_multilib: "both",
31 manifest: "manifest.json",
32 prebuilts: ["apex_icu.dat"],
33 key: "com.android.i18n.key",
34}
35
36apex_key {
37 name: "com.android.i18n.key",
38 public_key: "com.android.i18n.avbpubkey",
39 private_key: "com.android.i18n.pem",
40}
41
42android_app_certificate {
43 name: "com.android.i18n.certificate",
44 certificate: "com.android.i18n",
45}