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 ], 11 manifest: "src/main/AndroidManifest.xml", 12 static_libs: [ 13 "compatibility-device-util-axt", 14 "Nene", 15 "Queryable", 16 "statsdprotonano_mapped" 17 ], 18 min_sdk_version: "27" 19} 20 21// Rewrite the proto packages for use by MetricsRecorder 22java_library { 23 name: "statsdprotonano_mapped", 24 static_libs: [ 25 "statsdprotonano", 26 ], 27 target: { 28 android: { 29 jarjar_rules: "jarjar-rules.txt", 30 }, 31 } 32} 33