2021-02-04 10:08:28 +08:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2020-06-02 01:45:49 +08:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-java",
|
|
|
|
pkgPath: "android/soong/java",
|
|
|
|
deps: [
|
|
|
|
"blueprint",
|
|
|
|
"blueprint-pathtools",
|
|
|
|
"soong",
|
|
|
|
"soong-android",
|
|
|
|
"soong-cc",
|
|
|
|
"soong-dexpreopt",
|
|
|
|
"soong-genrule",
|
|
|
|
"soong-java-config",
|
2020-06-13 07:38:45 +08:00
|
|
|
"soong-python",
|
2020-06-02 01:45:49 +08:00
|
|
|
"soong-remoteexec",
|
|
|
|
"soong-tradefed",
|
|
|
|
],
|
|
|
|
srcs: [
|
|
|
|
"aapt2.go",
|
|
|
|
"aar.go",
|
|
|
|
"android_manifest.go",
|
|
|
|
"android_resources.go",
|
|
|
|
"androidmk.go",
|
|
|
|
"app_builder.go",
|
|
|
|
"app.go",
|
2020-12-22 04:29:12 +08:00
|
|
|
"app_import.go",
|
|
|
|
"app_set.go",
|
2021-03-18 06:56:23 +08:00
|
|
|
"base.go",
|
2021-01-20 23:16:56 +08:00
|
|
|
"boot_image.go",
|
2020-10-29 03:20:06 +08:00
|
|
|
"boot_jars.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"builder.go",
|
|
|
|
"device_host_converter.go",
|
|
|
|
"dex.go",
|
|
|
|
"dexpreopt.go",
|
|
|
|
"dexpreopt_bootjars.go",
|
|
|
|
"dexpreopt_config.go",
|
|
|
|
"droiddoc.go",
|
2021-03-25 03:39:08 +08:00
|
|
|
"droidstubs.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"gen.go",
|
|
|
|
"genrule.go",
|
|
|
|
"hiddenapi.go",
|
|
|
|
"hiddenapi_singleton.go",
|
|
|
|
"jacoco.go",
|
|
|
|
"java.go",
|
|
|
|
"jdeps.go",
|
|
|
|
"java_resources.go",
|
|
|
|
"kotlin.go",
|
2020-06-03 11:09:13 +08:00
|
|
|
"lint.go",
|
2020-07-10 01:03:41 +08:00
|
|
|
"legacy_core_platform_api_usage.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"platform_compat_config.go",
|
|
|
|
"plugin.go",
|
|
|
|
"prebuilt_apis.go",
|
|
|
|
"proto.go",
|
|
|
|
"robolectric.go",
|
2020-12-22 04:29:12 +08:00
|
|
|
"rro.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"sdk.go",
|
|
|
|
"sdk_library.go",
|
2020-10-19 16:25:58 +08:00
|
|
|
"sdk_library_external.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"support_libraries.go",
|
|
|
|
"system_modules.go",
|
|
|
|
"testing.go",
|
|
|
|
"tradefed.go",
|
|
|
|
],
|
|
|
|
testSrcs: [
|
|
|
|
"androidmk_test.go",
|
2020-12-22 04:29:12 +08:00
|
|
|
"app_import_test.go",
|
|
|
|
"app_set_test.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"app_test.go",
|
2021-01-20 23:16:56 +08:00
|
|
|
"boot_image_test.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"device_host_converter_test.go",
|
|
|
|
"dexpreopt_test.go",
|
|
|
|
"dexpreopt_bootjars_test.go",
|
2021-03-25 03:39:08 +08:00
|
|
|
"droiddoc_test.go",
|
|
|
|
"droidstubs_test.go",
|
2020-08-06 06:40:41 +08:00
|
|
|
"hiddenapi_singleton_test.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"java_test.go",
|
|
|
|
"jdeps_test.go",
|
|
|
|
"kotlin_test.go",
|
2021-03-16 18:12:49 +08:00
|
|
|
"platform_compat_config_test.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"plugin_test.go",
|
2020-12-22 04:29:12 +08:00
|
|
|
"rro_test.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
"sdk_test.go",
|
2021-03-11 16:07:46 +08:00
|
|
|
"system_modules_test.go",
|
2020-06-02 01:45:49 +08:00
|
|
|
],
|
|
|
|
pluginFor: ["soong_build"],
|
|
|
|
}
|