blob: e66f1a25e1cdf76cacaf0cf74fe0d1d947797786 [file] [log] [blame]
Colin Crosscf3a0b52017-11-16 00:15:28 -08001//
2// Copyright (C) 2008 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
17android_app {
18 name: "framework-res",
19 no_framework_libs: true,
20 certificate: "platform",
21
22 // Soong special-cases framework-res to install this alongside
23 // the libraries at /system/framework/framework-res.apk.
24
25 // Generate private symbols into the com.android.internal.R class
26 // so they are not accessible to 3rd party apps.
27 aaptflags: [
28 "--private-symbols",
29 "com.android.internal",
30
31 // Framework doesn't need versioning since it IS the platform.
32 "--no-auto-version",
33
34 // Allow overlay to add resource
35 "--auto-add-overlay",
36 ],
37
38 // Create package-export.apk, which other packages can use to get
39 // PRODUCT-agnostic resource data like IDs and type definitions.
40 export_package_resources: true,
41}