blob: 29c09570df809be332dfee0c6ff3973a3675a676 [file] [log] [blame]
Bob Badour02040de2021-02-03 18:08:28 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Jaewoong Jung4b79e982020-06-01 10:45:49 -07005bootstrap_go_package {
6 name: "soong-java",
7 pkgPath: "android/soong/java",
8 deps: [
9 "blueprint",
10 "blueprint-pathtools",
11 "soong",
12 "soong-android",
Rupert Shuttleworth5c4881c2021-07-28 06:21:31 -040013 "soong-bazel",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070014 "soong-cc",
15 "soong-dexpreopt",
16 "soong-genrule",
17 "soong-java-config",
Aditya Choudhary9b593522023-10-06 19:54:58 +000018 "soong-testing",
Wei Li340ee8e2022-03-18 17:33:24 -070019 "soong-provenance",
Liz Kammerdd849a82020-06-12 16:38:45 -070020 "soong-python",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070021 "soong-remoteexec",
22 "soong-tradefed",
23 ],
24 srcs: [
25 "aapt2.go",
26 "aar.go",
27 "android_manifest.go",
28 "android_resources.go",
29 "androidmk.go",
30 "app_builder.go",
31 "app.go",
Jaewoong Jungf9b44652020-12-21 12:29:12 -080032 "app_import.go",
33 "app_set.go",
Jaewoong Jung26342642021-03-17 15:56:23 -070034 "base.go",
Paul Duffin9a89a2a2020-10-28 19:20:06 +000035 "boot_jars.go",
Paul Duffinb67d8782021-04-22 11:49:41 +010036 "bootclasspath.go",
Paul Duffin7771eba2021-04-23 14:25:28 +010037 "bootclasspath_fragment.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070038 "builder.go",
Paul Duffine245b612021-06-10 08:59:41 +010039 "classpath_element.go",
Artur Satayeveabf2c12021-04-07 15:45:02 +010040 "classpath_fragment.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070041 "device_host_converter.go",
42 "dex.go",
43 "dexpreopt.go",
44 "dexpreopt_bootjars.go",
Jiakai Zhang0a0a2fb2021-09-30 09:38:19 +000045 "dexpreopt_check.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070046 "dexpreopt_config.go",
Paul Duffin8eb45732022-10-04 19:03:31 +010047 "dexpreopt_config_testing.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070048 "droiddoc.go",
Colin Cross2207f872021-03-24 12:39:08 -070049 "droidstubs.go",
Muhammad Haseeb Ahmadaa1d0cf2022-01-01 05:14:32 +000050 "fuzz.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070051 "gen.go",
Joe Onorato175073c2023-06-01 14:42:59 -070052 "generated_java_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070053 "genrule.go",
54 "hiddenapi.go",
Paul Duffinc6bb7cf2021-04-08 17:49:27 +010055 "hiddenapi_modular.go",
Paul Duffin438eb572021-05-21 16:58:23 +010056 "hiddenapi_monolithic.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070057 "hiddenapi_singleton.go",
58 "jacoco.go",
59 "java.go",
60 "jdeps.go",
61 "java_resources.go",
62 "kotlin.go",
Colin Cross014489c2020-06-02 20:09:13 -070063 "lint.go",
Pete Gillin84c38072020-07-09 18:03:41 +010064 "legacy_core_platform_api_usage.go",
Paul Duffinbb7f1ac2021-03-29 22:18:45 +010065 "platform_bootclasspath.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070066 "platform_compat_config.go",
67 "plugin.go",
68 "prebuilt_apis.go",
69 "proto.go",
Rico Winda9fd59a2023-11-03 10:26:38 +000070 "resourceshrinker.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070071 "robolectric.go",
Jaewoong Jungf9b44652020-12-21 12:29:12 -080072 "rro.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070073 "sdk.go",
74 "sdk_library.go",
JaeMan Parkff715562020-10-19 17:25:58 +090075 "sdk_library_external.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070076 "support_libraries.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070077 "system_modules.go",
satayev95e9c5b2021-04-29 11:50:26 +010078 "systemserver_classpath_fragment.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070079 "testing.go",
80 "tradefed.go",
81 ],
82 testSrcs: [
Sam Delmerico82602492022-06-10 17:05:42 +000083 "aar_test.go",
Colin Cross02bccdf2023-07-14 11:19:08 -070084 "android_manifest_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070085 "androidmk_test.go",
Jaewoong Jungf9b44652020-12-21 12:29:12 -080086 "app_import_test.go",
87 "app_set_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070088 "app_test.go",
Paul Duffin7771eba2021-04-23 14:25:28 +010089 "bootclasspath_fragment_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070090 "device_host_converter_test.go",
Colin Cross9bb9bfb2022-03-17 11:12:32 -070091 "dex_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070092 "dexpreopt_test.go",
Paul Duffin8eb45732022-10-04 19:03:31 +010093 "dexpreopt_config_test.go",
Colin Cross2207f872021-03-24 12:39:08 -070094 "droiddoc_test.go",
95 "droidstubs_test.go",
Jihoon Kang5cb82e32022-11-17 20:25:08 +000096 "fuzz_test.go",
Sam Delmerico974c6222022-05-27 19:14:36 +000097 "genrule_test.go",
Joe Onorato175073c2023-06-01 14:42:59 -070098 "generated_java_library_test.go",
Liz Kammer5ca3a622020-08-05 15:40:41 -070099 "hiddenapi_singleton_test.go",
Rupert Shuttleworthb7e30762021-04-21 11:09:52 -0400100 "jacoco_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700101 "java_test.go",
102 "jdeps_test.go",
103 "kotlin_test.go",
Jaewoong Jung79e6f6b2021-04-21 14:01:55 -0700104 "lint_test.go",
Paul Duffinbb7f1ac2021-03-29 22:18:45 +0100105 "platform_bootclasspath_test.go",
Paul Duffin29072a92021-03-16 10:12:49 +0000106 "platform_compat_config_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700107 "plugin_test.go",
Paul Duffin6d448b72021-10-29 12:35:36 +0100108 "prebuilt_apis_test.go",
Sam Delmerico974c6222022-05-27 19:14:36 +0000109 "proto_test.go",
Rico Winda9fd59a2023-11-03 10:26:38 +0000110 "resourceshrinker_test.go",
Jaewoong Jungf9b44652020-12-21 12:29:12 -0800111 "rro_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700112 "sdk_test.go",
Paul Duffin9fc208e2021-06-27 20:42:04 +0100113 "sdk_library_test.go",
Paul Duffindb284be2021-03-11 08:07:46 +0000114 "system_modules_test.go",
satayev95e9c5b2021-04-29 11:50:26 +0100115 "systemserver_classpath_fragment_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700116 ],
117 pluginFor: ["soong_build"],
118}