1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5android_library { 6 name: "MetricsRecorder", 7 sdk_version: "test_current", 8 srcs: [ 9 "src/main/java/**/*.java", 10 "src/main/java/**/*.kt", 11 ], 12 manifest: "src/main/AndroidManifest.xml", 13 static_libs: [ 14 "compatibility-device-util-axt", 15 "Nene", 16 "Queryable", 17 "statsdprotonano_mapped", 18 ], 19 min_sdk_version: "29", 20} 21 22// Rewrite the proto packages for use by MetricsRecorder 23java_library { 24 name: "statsdprotonano_mapped", 25 static_libs: [ 26 "statsdprotonano", 27 ], 28 target: { 29 android: { 30 jarjar_rules: "jarjar-rules.txt", 31 }, 32 }, 33 sdk_version: "current", 34} 35