1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10java_plugin { 11 name: "view-inspector-annotation-processor", 12 13 processor_class: "android.processor.view.inspector.PlatformInspectableProcessor", 14 15 srcs: ["src/java/**/*.java"], 16 java_resource_dirs: ["src/resources"], 17 18 static_libs: [ 19 "javapoet", 20 "stub-annotations", 21 ], 22 23 use_tools_jar: true, 24} 25 26java_test_host { 27 name: "view-inspector-annotation-processor-test", 28 29 srcs: ["test/java/**/*.java"], 30 java_resource_dirs: ["test/resources"], 31 32 static_libs: [ 33 "junit", 34 "guava", 35 "view-inspector-annotation-processor" 36 ], 37 38 test_suites: ["general-tests"], 39} 40