Merge "Fix build file such that CarSystemUi can be easily extended" into qt-qpr1-dev

This commit is contained in:
Brad Stenning
2019-09-12 18:24:40 +00:00
committed by Android (Google) Code Review

View File

@@ -13,18 +13,19 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
android_app { android_library {
name: "CarSystemUI", name: "CarSystemUI-core",
overrides: [
"SystemUI",
],
srcs: [ srcs: [
"src/**/*.java", "src/**/*.java",
"src/**/I*.aidl", "src/**/I*.aidl",
], ],
resource_dirs: [
"res-keyguard",
"res",
],
static_libs: [ static_libs: [
"SystemUI-core", "SystemUI-core",
"CarNotificationLib", "CarNotificationLib",
@@ -58,6 +59,28 @@ android_app {
manifest: "AndroidManifest.xml", manifest: "AndroidManifest.xml",
plugins: ["dagger2-compiler-2.19"],
}
android_app {
name: "CarSystemUI",
static_libs: [
"CarSystemUI-core",
],
libs: [
"telephony-common",
"android.car",
],
resource_dirs: [],
overrides: [
"SystemUI",
],
platform_apis: true, platform_apis: true,
product_specific: true, product_specific: true,
certificate: "platform", certificate: "platform",
@@ -68,12 +91,6 @@ android_app {
"proguard.flags", "proguard.flags",
], ],
}, },
resource_dirs: [
"res-keyguard",
"res",
],
dxflags: ["--multi-dex"], dxflags: ["--multi-dex"],
aaptflags: [ aaptflags: [
@@ -81,6 +98,8 @@ android_app {
"com.android.keyguard", "com.android.keyguard",
], ],
kotlincflags: ["-Xjvm-default=enable"],
plugins: ["dagger2-compiler-2.19"], plugins: ["dagger2-compiler-2.19"],
required: ["privapp_whitelist_com.android.systemui"], required: ["privapp_whitelist_com.android.systemui"],