blob: 546642db881a2e7eef7a45c2def7f58b85bdbe53 [file] [log] [blame]
Keun young Parkbd16eb52021-01-08 17:21:36 -08001// used both for the android_app and android_library
2shell_srcs = ["src/**/*.java",":dumpstate_aidl"]
3shell_static_libs = ["androidx.legacy_legacy-support-v4"]
4
Sasha Smundak995887e2019-05-02 21:35:45 -07005android_app {
6 name: "Shell",
Jeff Sharkeyd23b5372020-10-23 14:30:42 -06007 defaults: ["platform_app_defaults"],
Keun young Parkbd16eb52021-01-08 17:21:36 -08008 srcs: shell_srcs,
Sasha Smundak995887e2019-05-02 21:35:45 -07009 aidl: {
10 include_dirs: ["frameworks/native/cmds/dumpstate/binder"],
11 },
Keun young Parkbd16eb52021-01-08 17:21:36 -080012 static_libs: shell_static_libs,
Sasha Smundak995887e2019-05-02 21:35:45 -070013 platform_apis: true,
14 certificate: "platform",
15 privileged: true,
16 jacoco: {
17 include_filter: ["com.android.shell.*"],
18 },
19}
Keun young Parkbd16eb52021-01-08 17:21:36 -080020
21// A library for product type like auto to create a new shell package
22// with product specific permissions.
23android_library {
24 name: "Shell-package-library",
25 defaults: ["platform_app_defaults"],
26 srcs: shell_srcs,
27 aidl: {
28 include_dirs: ["frameworks/native/cmds/dumpstate/binder"],
29 },
30 resource_dirs: ["res"],
31 static_libs: shell_static_libs,
32 platform_apis: true,
33 manifest: "AndroidManifest.xml",
34}