| 1 |
package { |
| 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 |
|
| 10 |
java_library_host { |
| 11 |
name: "libintdef-annotation-processor", |
| 12 |
|
| 13 |
srcs: [ |
| 14 |
":framework-annotations", |
| 15 |
"src/**/*.java", |
| 16 |
"src/**/*.kt", |
| 17 |
], |
| 18 |
|
| 19 |
use_tools_jar: true, |
| 20 |
} |
| 21 |
|
| 22 |
java_plugin { |
| 23 |
name: "intdef-annotation-processor", |
| 24 |
|
| 25 |
processor_class: "android.processor.IntDefProcessor", |
| 26 |
|
| 27 |
static_libs: ["libintdef-annotation-processor"], |
| 28 |
} |
| 29 |
|
| 30 |
java_test_host { |
| 31 |
name: "intdef-annotation-processor-test", |
| 32 |
|
| 33 |
srcs: [ |
| 34 |
"test/**/*.java", |
| 35 |
"test/**/*.kt", |
| 36 |
], |
| 37 |
java_resource_dirs: ["test/resources"], |
| 38 |
|
| 39 |
static_libs: [ |
| 40 |
"compile-testing-prebuilt", |
| 41 |
"truth-prebuilt", |
| 42 |
"junit", |
| 43 |
"guava", |
| 44 |
"libintdef-annotation-processor", |
| 45 |
], |
| 46 |
|
| 47 |
test_suites: ["general-tests"], |
| 48 |
} |