1// used both for the android_app and android_library 2shell_srcs = ["src/**/*.java",":dumpstate_aidl"] 3shell_static_libs = ["androidx.legacy_legacy-support-v4"] 4 5android_app { 6 name: "Shell", 7 srcs: shell_srcs, 8 aidl: { 9 include_dirs: ["frameworks/native/cmds/dumpstate/binder"], 10 }, 11 static_libs: shell_static_libs, 12 platform_apis: true, 13 certificate: "platform", 14 privileged: true, 15 jacoco: { 16 include_filter: ["com.android.shell.*"], 17 }, 18} 19 20// A library for product type like auto to create a new shell package 21// with product specific permissions. 22android_library { 23 name: "Shell-package-library", 24 srcs: shell_srcs, 25 aidl: { 26 include_dirs: ["frameworks/native/cmds/dumpstate/binder"], 27 }, 28 resource_dirs: ["res"], 29 static_libs: shell_static_libs, 30 platform_apis: true, 31 manifest: "AndroidManifest.xml", 32} 33