1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5android_app { 6 name: "Traceur", 7 platform_apis: true, 8 certificate: "platform", 9 optimize: { 10 shrink_resources: true, 11 }, 12 static_libs: [ 13 "androidx.leanback_leanback", 14 "androidx.leanback_leanback-preference", 15 "androidx.legacy_legacy-preference-v14", 16 "androidx.appcompat_appcompat", 17 "androidx.preference_preference", 18 "androidx.recyclerview_recyclerview", 19 "androidx.legacy_legacy-support-v4", 20 "TraceurCommon", 21 ], 22 resource_dirs: ["res"], 23 srcs: ["src/**/*.java"], 24 defaults: [ 25 "SettingsLibDefaults", 26 ], 27} 28 29android_library { 30 name: "TraceurCommon", 31 static_libs: [ 32 "androidx.appcompat_appcompat", 33 "androidx.legacy_legacy-support-v4", 34 "perfetto_config_java_protos", 35 ], 36 manifest: "AndroidManifest-common.xml", 37 resource_dirs: [], 38 srcs: ["src_common/**/*.java"], 39} 40