| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "frameworks_base_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["frameworks_base_license"], |
| } |
| |
| java_binary_host { |
| name: "codegen_cli", |
| main_class: "com.android.codegen.MainKt", |
| srcs: [ |
| "src/**/*.kt", |
| ], |
| static_libs: [ |
| "javaparser", |
| ], |
| } |
| |
| java_library_host { |
| name: "codegen-version-info", |
| |
| srcs: [ |
| "src/**/SharedConstants.kt", |
| ], |
| } |