blob: 8835b4456771393c775a2c4419a5cdeffe1007c8 [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",
Liz Kammerdd849a82020-06-12 16:38:45 -070018 "soong-python",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070019 "soong-remoteexec",
20 "soong-tradefed",
21 ],
22 srcs: [
23 "aapt2.go",
24 "aar.go",
25 "android_manifest.go",
26 "android_resources.go",
27 "androidmk.go",
28 "app_builder.go",
29 "app.go",
Jaewoong Jungf9b44652020-12-21 12:29:12 -080030 "app_import.go",
31 "app_set.go",
Jaewoong Jung26342642021-03-17 15:56:23 -070032 "base.go",
Paul Duffin9a89a2a2020-10-28 19:20:06 +000033 "boot_jars.go",
Paul Duffinb67d8782021-04-22 11:49:41 +010034 "bootclasspath.go",
Paul Duffin7771eba2021-04-23 14:25:28 +010035 "bootclasspath_fragment.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070036 "builder.go",
Paul Duffine245b612021-06-10 08:59:41 +010037 "classpath_element.go",
Artur Satayeveabf2c12021-04-07 15:45:02 +010038 "classpath_fragment.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070039 "device_host_converter.go",
40 "dex.go",
41 "dexpreopt.go",
42 "dexpreopt_bootjars.go",
Jiakai Zhang0a0a2fb2021-09-30 09:38:19 +000043 "dexpreopt_check.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070044 "dexpreopt_config.go",
45 "droiddoc.go",
Colin Cross2207f872021-03-24 12:39:08 -070046 "droidstubs.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070047 "gen.go",
48 "genrule.go",
49 "hiddenapi.go",
Paul Duffinc6bb7cf2021-04-08 17:49:27 +010050 "hiddenapi_modular.go",
Paul Duffin438eb572021-05-21 16:58:23 +010051 "hiddenapi_monolithic.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070052 "hiddenapi_singleton.go",
53 "jacoco.go",
54 "java.go",
55 "jdeps.go",
56 "java_resources.go",
57 "kotlin.go",
Colin Cross014489c2020-06-02 20:09:13 -070058 "lint.go",
Pete Gillin84c38072020-07-09 18:03:41 +010059 "legacy_core_platform_api_usage.go",
Paul Duffinbb7f1ac2021-03-29 22:18:45 +010060 "platform_bootclasspath.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070061 "platform_compat_config.go",
62 "plugin.go",
63 "prebuilt_apis.go",
64 "proto.go",
65 "robolectric.go",
Jaewoong Jungf9b44652020-12-21 12:29:12 -080066 "rro.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070067 "sdk.go",
68 "sdk_library.go",
JaeMan Parkff715562020-10-19 17:25:58 +090069 "sdk_library_external.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070070 "support_libraries.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070071 "system_modules.go",
satayev95e9c5b2021-04-29 11:50:26 +010072 "systemserver_classpath_fragment.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070073 "testing.go",
74 "tradefed.go",
75 ],
76 testSrcs: [
77 "androidmk_test.go",
Jaewoong Jungf9b44652020-12-21 12:29:12 -080078 "app_import_test.go",
79 "app_set_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070080 "app_test.go",
Paul Duffin7771eba2021-04-23 14:25:28 +010081 "bootclasspath_fragment_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070082 "device_host_converter_test.go",
83 "dexpreopt_test.go",
84 "dexpreopt_bootjars_test.go",
Colin Cross2207f872021-03-24 12:39:08 -070085 "droiddoc_test.go",
86 "droidstubs_test.go",
Liz Kammer5ca3a622020-08-05 15:40:41 -070087 "hiddenapi_singleton_test.go",
Rupert Shuttleworthb7e30762021-04-21 11:09:52 -040088 "jacoco_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070089 "java_test.go",
90 "jdeps_test.go",
91 "kotlin_test.go",
Jaewoong Jung79e6f6b2021-04-21 14:01:55 -070092 "lint_test.go",
Paul Duffinbb7f1ac2021-03-29 22:18:45 +010093 "platform_bootclasspath_test.go",
Paul Duffin29072a92021-03-16 10:12:49 +000094 "platform_compat_config_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070095 "plugin_test.go",
Paul Duffin6d448b72021-10-29 12:35:36 +010096 "prebuilt_apis_test.go",
Jaewoong Jungf9b44652020-12-21 12:29:12 -080097 "rro_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070098 "sdk_test.go",
Paul Duffin9fc208e2021-06-27 20:42:04 +010099 "sdk_library_test.go",
Paul Duffindb284be2021-03-11 08:07:46 +0000100 "system_modules_test.go",
satayev95e9c5b2021-04-29 11:50:26 +0100101 "systemserver_classpath_fragment_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -0700102 ],
103 pluginFor: ["soong_build"],
104}