Merge "add Shell-package-library to allow product type level update" into rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0ade1ea0eb
@@ -1,10 +1,14 @@
|
|||||||
|
// used both for the android_app and android_library
|
||||||
|
shell_srcs = ["src/**/*.java",":dumpstate_aidl"]
|
||||||
|
shell_static_libs = ["androidx.legacy_legacy-support-v4"]
|
||||||
|
|
||||||
android_app {
|
android_app {
|
||||||
name: "Shell",
|
name: "Shell",
|
||||||
srcs: ["src/**/*.java",":dumpstate_aidl"],
|
srcs: shell_srcs,
|
||||||
aidl: {
|
aidl: {
|
||||||
include_dirs: ["frameworks/native/cmds/dumpstate/binder"],
|
include_dirs: ["frameworks/native/cmds/dumpstate/binder"],
|
||||||
},
|
},
|
||||||
static_libs: ["androidx.legacy_legacy-support-v4"],
|
static_libs: shell_static_libs,
|
||||||
platform_apis: true,
|
platform_apis: true,
|
||||||
certificate: "platform",
|
certificate: "platform",
|
||||||
privileged: true,
|
privileged: true,
|
||||||
@@ -12,3 +16,17 @@ android_app {
|
|||||||
include_filter: ["com.android.shell.*"],
|
include_filter: ["com.android.shell.*"],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// A library for product type like auto to create a new shell package
|
||||||
|
// with product specific permissions.
|
||||||
|
android_library {
|
||||||
|
name: "Shell-package-library",
|
||||||
|
srcs: shell_srcs,
|
||||||
|
aidl: {
|
||||||
|
include_dirs: ["frameworks/native/cmds/dumpstate/binder"],
|
||||||
|
},
|
||||||
|
resource_dirs: ["res"],
|
||||||
|
static_libs: shell_static_libs,
|
||||||
|
platform_apis: true,
|
||||||
|
manifest: "AndroidManifest.xml",
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user