Dan Willemsen | 377737a | 2016-08-15 15:02:23 -0700 | [diff] [blame] | 1 | subdirs = [ |
| 2 | "androidmk", |
Jeff Gaston | aff66e5 | 2017-06-19 15:39:54 -0700 | [diff] [blame] | 3 | "bpfix", |
Dan Willemsen | 377737a | 2016-08-15 15:02:23 -0700 | [diff] [blame] | 4 | "cmd/*", |
Jeff Gaston | f1fd45e | 2017-08-09 18:25:28 -0700 | [diff] [blame] | 5 | "fs", |
| 6 | "finder", |
Jeff Gaston | 01547b2 | 2017-08-21 20:13:28 -0700 | [diff] [blame] | 7 | "jar", |
Jeff Gaston | 11b5c51 | 2017-10-12 12:19:14 -0700 | [diff] [blame] | 8 | "zip", |
Dan Willemsen | 377737a | 2016-08-15 15:02:23 -0700 | [diff] [blame] | 9 | "third_party/zip", |
Dan Willemsen | 1e70446 | 2016-08-21 15:17:17 -0700 | [diff] [blame] | 10 | "ui/*", |
Dan Willemsen | 377737a | 2016-08-15 15:02:23 -0700 | [diff] [blame] | 11 | ] |
Colin Cross | 68f5510 | 2015-03-25 14:43:57 -0700 | [diff] [blame] | 12 | |
| 13 | bootstrap_go_package { |
| 14 | name: "soong-env", |
| 15 | pkgPath: "android/soong/env", |
| 16 | srcs: [ |
| 17 | "env/env.go", |
| 18 | ], |
| 19 | } |
| 20 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 21 | bootstrap_go_package { |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 22 | name: "soong", |
| 23 | pkgPath: "android/soong", |
| 24 | deps: [ |
| 25 | "blueprint", |
| 26 | ], |
| 27 | srcs: [ |
| 28 | "doc.go", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 29 | ], |
| 30 | } |
| 31 | |
| 32 | bootstrap_go_package { |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 33 | name: "soong-android", |
| 34 | pkgPath: "android/soong/android", |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 35 | deps: [ |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 36 | "blueprint", |
| 37 | "blueprint-bootstrap", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 38 | "soong", |
Colin Cross | 68f5510 | 2015-03-25 14:43:57 -0700 | [diff] [blame] | 39 | "soong-env", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 40 | ], |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 41 | srcs: [ |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 42 | "android/androidmk.go", |
Jiyong Park | 9d45299 | 2018-10-03 00:38:19 +0900 | [diff] [blame] | 43 | "android/apex.go", |
Dan Albert | 30c9d6e | 2017-03-28 14:54:55 -0700 | [diff] [blame] | 44 | "android/api_levels.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 45 | "android/arch.go", |
| 46 | "android/config.go", |
| 47 | "android/defaults.go", |
| 48 | "android/defs.go", |
Colin Cross | 6bde094 | 2016-11-04 14:36:38 -0700 | [diff] [blame] | 49 | "android/expand.go", |
Pirama Arumuga Nainar | 955dc49 | 2018-04-17 14:58:42 -0700 | [diff] [blame] | 50 | "android/filegroup.go", |
Colin Cross | 178a509 | 2016-09-13 13:42:32 -0700 | [diff] [blame] | 51 | "android/hooks.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 52 | "android/makevars.go", |
| 53 | "android/module.go", |
| 54 | "android/mutator.go", |
Jeff Gaston | 088e29e | 2017-11-29 16:47:17 -0800 | [diff] [blame] | 55 | "android/namespace.go", |
Steven Moreland | 65b3fd9 | 2017-12-06 14:18:35 -0800 | [diff] [blame] | 56 | "android/neverallow.go", |
Colin Cross | 9272ade | 2016-08-17 15:24:12 -0700 | [diff] [blame] | 57 | "android/onceper.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 58 | "android/package_ctx.go", |
| 59 | "android/paths.go", |
Colin Cross | ce75d2c | 2016-10-06 16:12:58 -0700 | [diff] [blame] | 60 | "android/prebuilt.go", |
Jiyong Park | c678ad3 | 2018-04-10 13:07:10 +0900 | [diff] [blame] | 61 | "android/prebuilt_etc.go", |
Colin Cross | 38f794e | 2017-09-07 10:53:07 -0700 | [diff] [blame] | 62 | "android/proto.go", |
Colin Cross | 798bfce | 2016-10-12 14:28:16 -0700 | [diff] [blame] | 63 | "android/register.go", |
Colin Cross | feec25b | 2019-01-30 17:32:39 -0800 | [diff] [blame] | 64 | "android/rule_builder.go", |
Dan Willemsen | b055267 | 2019-01-25 16:04:11 -0800 | [diff] [blame] | 65 | "android/sh_binary.go", |
Colin Cross | 0875c52 | 2017-11-28 17:34:01 -0800 | [diff] [blame] | 66 | "android/singleton.go", |
Colin Cross | cec8171 | 2017-07-13 14:43:27 -0700 | [diff] [blame] | 67 | "android/testing.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 68 | "android/util.go", |
| 69 | "android/variable.go", |
Sasha Smundak | ff36da0 | 2019-02-12 17:12:08 -0800 | [diff] [blame] | 70 | "android/vts_config.go", |
Colin Cross | e87040b | 2017-12-11 15:52:26 -0800 | [diff] [blame] | 71 | "android/writedocs.go", |
Dan Willemsen | e8b1bc0 | 2016-05-12 19:03:10 -0700 | [diff] [blame] | 72 | |
| 73 | // Lock down environment access last |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 74 | "android/env.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 75 | ], |
Dan Willemsen | 34cc69e | 2015-09-23 15:26:20 -0700 | [diff] [blame] | 76 | testSrcs: [ |
Colin Cross | cb98807 | 2019-01-24 14:58:11 -0800 | [diff] [blame] | 77 | "android/arch_test.go", |
Jeff Gaston | f5f6e49 | 2017-11-20 14:31:11 -0800 | [diff] [blame] | 78 | "android/config_test.go", |
Colin Cross | 6bde094 | 2016-11-04 14:36:38 -0700 | [diff] [blame] | 79 | "android/expand_test.go", |
Jeff Gaston | 088e29e | 2017-11-29 16:47:17 -0800 | [diff] [blame] | 80 | "android/namespace_test.go", |
Logan Chien | ee97c3e | 2018-03-12 16:34:26 +0800 | [diff] [blame] | 81 | "android/neverallow_test.go", |
Colin Cross | 571cccf | 2019-02-04 11:22:08 -0800 | [diff] [blame] | 82 | "android/onceper_test.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 83 | "android/paths_test.go", |
Colin Cross | 0d614dd | 2016-10-14 15:38:43 -0700 | [diff] [blame] | 84 | "android/prebuilt_test.go", |
Jiyong Park | 139a2e6 | 2018-10-26 21:49:39 +0900 | [diff] [blame] | 85 | "android/prebuilt_etc_test.go", |
Colin Cross | feec25b | 2019-01-30 17:32:39 -0800 | [diff] [blame] | 86 | "android/rule_builder_test.go", |
Colin Cross | b671544 | 2017-10-24 11:13:31 -0700 | [diff] [blame] | 87 | "android/util_test.go", |
Colin Cross | 7e0eaf1 | 2017-05-05 16:16:24 -0700 | [diff] [blame] | 88 | "android/variable_test.go", |
Sasha Smundak | ff36da0 | 2019-02-12 17:12:08 -0800 | [diff] [blame] | 89 | "android/vts_config_test.go", |
Dan Willemsen | 34cc69e | 2015-09-23 15:26:20 -0700 | [diff] [blame] | 90 | ], |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 91 | } |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 92 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 93 | bootstrap_go_package { |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 94 | name: "soong-cc-config", |
| 95 | pkgPath: "android/soong/cc/config", |
| 96 | deps: [ |
| 97 | "soong-android", |
| 98 | ], |
| 99 | srcs: [ |
| 100 | "cc/config/clang.go", |
| 101 | "cc/config/global.go", |
Dan Willemsen | a03cf6d | 2016-09-26 15:45:04 -0700 | [diff] [blame] | 102 | "cc/config/tidy.go", |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 103 | "cc/config/toolchain.go", |
| 104 | |
| 105 | "cc/config/arm_device.go", |
| 106 | "cc/config/arm64_device.go", |
Doug Horn | c32c6b0 | 2019-01-17 14:44:05 -0800 | [diff] [blame] | 107 | "cc/config/arm64_fuchsia_device.go", |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 108 | "cc/config/mips_device.go", |
| 109 | "cc/config/mips64_device.go", |
| 110 | "cc/config/x86_device.go", |
| 111 | "cc/config/x86_64_device.go", |
Doug Horn | c32c6b0 | 2019-01-17 14:44:05 -0800 | [diff] [blame] | 112 | "cc/config/x86_64_fuchsia_device.go", |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 113 | |
| 114 | "cc/config/x86_darwin_host.go", |
| 115 | "cc/config/x86_linux_host.go", |
Dan Willemsen | 01a405a | 2016-06-13 17:19:03 -0700 | [diff] [blame] | 116 | "cc/config/x86_linux_bionic_host.go", |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 117 | "cc/config/x86_windows_host.go", |
| 118 | ], |
Dan Willemsen | a03cf6d | 2016-09-26 15:45:04 -0700 | [diff] [blame] | 119 | testSrcs: [ |
| 120 | "cc/config/tidy_test.go", |
| 121 | ], |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 122 | } |
| 123 | |
| 124 | bootstrap_go_package { |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 125 | name: "soong-cc", |
| 126 | pkgPath: "android/soong/cc", |
| 127 | deps: [ |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 128 | "blueprint", |
| 129 | "blueprint-pathtools", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 130 | "soong", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 131 | "soong-android", |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 132 | "soong-cc-config", |
Colin Cross | 5049f02 | 2015-03-18 13:28:46 -0700 | [diff] [blame] | 133 | "soong-genrule", |
Colin Cross | 303e21f | 2018-08-07 16:49:25 -0700 | [diff] [blame] | 134 | "soong-tradefed", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 135 | ], |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 136 | srcs: [ |
Dan Willemsen | 218f656 | 2015-07-08 18:13:11 -0700 | [diff] [blame] | 137 | "cc/androidmk.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 138 | "cc/builder.go", |
| 139 | "cc/cc.go", |
Dan Willemsen | 20acc5c | 2016-05-25 14:47:21 -0700 | [diff] [blame] | 140 | "cc/check.go", |
Dan Willemsen | 581341d | 2017-02-09 16:16:31 -0800 | [diff] [blame] | 141 | "cc/coverage.go", |
Colin Cross | 581c189 | 2015-04-07 16:50:10 -0700 | [diff] [blame] | 142 | "cc/gen.go", |
Stephen Crane | ba090d1 | 2017-05-09 15:44:35 -0700 | [diff] [blame] | 143 | "cc/lto.go", |
Dan Willemsen | 4b7d5de | 2016-01-12 23:20:28 -0800 | [diff] [blame] | 144 | "cc/makevars.go", |
Pirama Arumuga Nainar | ada83ec | 2017-08-31 23:38:27 -0700 | [diff] [blame] | 145 | "cc/pgo.go", |
Colin Cross | ce75d2c | 2016-10-06 16:12:58 -0700 | [diff] [blame] | 146 | "cc/prebuilt.go", |
Colin Cross | 0c461f1 | 2016-10-20 16:11:43 -0700 | [diff] [blame] | 147 | "cc/proto.go", |
Colin Cross | 2a252be | 2017-05-01 17:37:24 -0700 | [diff] [blame] | 148 | "cc/rs.go", |
Colin Cross | 16b2349 | 2016-01-06 14:41:07 -0800 | [diff] [blame] | 149 | "cc/sanitize.go", |
Jayant Chowdhary | 3e231fd | 2017-02-08 13:45:53 -0800 | [diff] [blame] | 150 | "cc/sabi.go", |
Colin Cross | ca860ac | 2016-01-04 14:34:37 -0800 | [diff] [blame] | 151 | "cc/stl.go", |
Colin Cross | 4d9c2d1 | 2016-07-29 12:48:20 -0700 | [diff] [blame] | 152 | "cc/strip.go", |
Inseob Kim | c0907f1 | 2019-02-08 21:00:45 +0900 | [diff] [blame] | 153 | "cc/sysprop.go", |
Dan Willemsen | a03cf6d | 2016-09-26 15:45:04 -0700 | [diff] [blame] | 154 | "cc/tidy.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 155 | "cc/util.go", |
Justin Yun | 8effde4 | 2017-06-23 19:24:43 +0900 | [diff] [blame] | 156 | "cc/vndk.go", |
Justin Yun | 7154928 | 2017-11-17 12:10:28 +0900 | [diff] [blame] | 157 | "cc/vndk_prebuilt.go", |
Ivan Lozano | 074ec48 | 2018-11-21 08:59:37 -0800 | [diff] [blame] | 158 | "cc/xom.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 159 | |
Fabien Sanglard | d61f1f4 | 2017-01-10 16:21:22 -0800 | [diff] [blame] | 160 | "cc/cmakelists.go", |
Alex Light | ec868fc | 2018-04-17 16:50:48 -0700 | [diff] [blame] | 161 | "cc/compdb.go", |
Colin Cross | 4d9c2d1 | 2016-07-29 12:48:20 -0700 | [diff] [blame] | 162 | "cc/compiler.go", |
| 163 | "cc/installer.go", |
| 164 | "cc/linker.go", |
| 165 | |
| 166 | "cc/binary.go", |
| 167 | "cc/library.go", |
| 168 | "cc/object.go", |
| 169 | "cc/test.go", |
Colin Cross | b916a38 | 2016-07-29 17:28:03 -0700 | [diff] [blame] | 170 | "cc/toolchain_library.go", |
Colin Cross | 4d9c2d1 | 2016-07-29 12:48:20 -0700 | [diff] [blame] | 171 | |
| 172 | "cc/ndk_prebuilt.go", |
Dan Albert | 914449f | 2016-06-17 16:45:24 -0700 | [diff] [blame] | 173 | "cc/ndk_headers.go", |
| 174 | "cc/ndk_library.go", |
| 175 | "cc/ndk_sysroot.go", |
Dan Willemsen | b916b80 | 2017-03-19 13:44:32 -0700 | [diff] [blame] | 176 | |
| 177 | "cc/llndk_library.go", |
Jiyong Park | d773eb3 | 2017-07-03 13:18:12 +0900 | [diff] [blame] | 178 | |
| 179 | "cc/kernel_headers.go", |
Dan Willemsen | 3e5bdf2 | 2017-09-13 18:37:08 -0700 | [diff] [blame] | 180 | |
| 181 | "cc/genrule.go", |
Jiyong Park | 374510b | 2018-03-19 18:23:01 +0900 | [diff] [blame] | 182 | |
| 183 | "cc/vendor_public_library.go", |
Inseob Kim | c0907f1 | 2019-02-08 21:00:45 +0900 | [diff] [blame] | 184 | |
| 185 | "cc/testing.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 186 | ], |
Dan Willemsen | e5e2033 | 2015-06-23 19:46:20 -0700 | [diff] [blame] | 187 | testSrcs: [ |
| 188 | "cc/cc_test.go", |
Colin Cross | f18e110 | 2017-11-16 14:33:08 -0800 | [diff] [blame] | 189 | "cc/gen_test.go", |
Colin Cross | ef35448 | 2018-10-23 11:27:50 -0700 | [diff] [blame] | 190 | "cc/genrule_test.go", |
Colin Cross | ad59e75 | 2017-11-16 14:29:11 -0800 | [diff] [blame] | 191 | "cc/library_test.go", |
Colin Cross | faeb7aa | 2017-02-01 14:12:44 -0800 | [diff] [blame] | 192 | "cc/test_data_test.go", |
Logan Chien | 031d2b3 | 2018-07-26 00:19:50 +0800 | [diff] [blame] | 193 | "cc/util_test.go", |
Dan Willemsen | e5e2033 | 2015-06-23 19:46:20 -0700 | [diff] [blame] | 194 | ], |
Dan Willemsen | 98b26c5 | 2015-07-27 15:08:24 -0700 | [diff] [blame] | 195 | pluginFor: ["soong_build"], |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 196 | } |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 197 | |
Colin Cross | 5049f02 | 2015-03-18 13:28:46 -0700 | [diff] [blame] | 198 | bootstrap_go_package { |
| 199 | name: "soong-genrule", |
| 200 | pkgPath: "android/soong/genrule", |
| 201 | deps: [ |
| 202 | "blueprint", |
| 203 | "blueprint-pathtools", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 204 | "soong", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 205 | "soong-android", |
Jeff Gaston | efc1b41 | 2017-03-29 17:29:06 -0700 | [diff] [blame] | 206 | "soong-shared", |
Colin Cross | 5049f02 | 2015-03-18 13:28:46 -0700 | [diff] [blame] | 207 | ], |
| 208 | srcs: [ |
| 209 | "genrule/genrule.go", |
| 210 | ], |
Colin Cross | 2a07692 | 2018-10-04 23:28:25 -0700 | [diff] [blame] | 211 | testSrcs: [ |
| 212 | "genrule/genrule_test.go", |
| 213 | ], |
Dan Willemsen | 98b26c5 | 2015-07-27 15:08:24 -0700 | [diff] [blame] | 214 | pluginFor: ["soong_build"], |
Colin Cross | 5049f02 | 2015-03-18 13:28:46 -0700 | [diff] [blame] | 215 | } |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 216 | |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 217 | bootstrap_go_package { |
Nan Zhang | 6d34b30 | 2017-02-04 17:47:46 -0800 | [diff] [blame] | 218 | name: "soong-phony", |
| 219 | pkgPath: "android/soong/phony", |
| 220 | deps: [ |
| 221 | "blueprint", |
| 222 | "soong-android", |
| 223 | ], |
| 224 | srcs: [ |
| 225 | "phony/phony.go", |
| 226 | ], |
| 227 | pluginFor: ["soong_build"], |
| 228 | } |
| 229 | |
| 230 | bootstrap_go_package { |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 231 | name: "soong-java", |
| 232 | pkgPath: "android/soong/java", |
| 233 | deps: [ |
| 234 | "blueprint", |
| 235 | "blueprint-pathtools", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 236 | "soong", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 237 | "soong-android", |
Colin Cross | a4f0881 | 2018-10-02 22:03:40 -0700 | [diff] [blame] | 238 | "soong-cc", |
Colin Cross | 43f08db | 2018-11-12 10:13:39 -0800 | [diff] [blame] | 239 | "soong-dexpreopt", |
Colin Cross | 0607cf7 | 2015-04-28 13:28:51 -0700 | [diff] [blame] | 240 | "soong-genrule", |
Colin Cross | 3e3e72d | 2017-06-22 17:20:19 -0700 | [diff] [blame] | 241 | "soong-java-config", |
Colin Cross | 303e21f | 2018-08-07 16:49:25 -0700 | [diff] [blame] | 242 | "soong-tradefed", |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 243 | ], |
| 244 | srcs: [ |
Colin Cross | 3bc7ffa | 2017-11-22 16:19:37 -0800 | [diff] [blame] | 245 | "java/aapt2.go", |
Colin Cross | fabb608 | 2018-02-20 17:22:23 -0800 | [diff] [blame] | 246 | "java/aar.go", |
Colin Cross | 3165695 | 2018-05-24 16:11:20 -0700 | [diff] [blame] | 247 | "java/android_manifest.go", |
Colin Cross | a97c5d3 | 2018-03-28 14:58:31 -0700 | [diff] [blame] | 248 | "java/android_resources.go", |
Dan Willemsen | 218f656 | 2015-07-08 18:13:11 -0700 | [diff] [blame] | 249 | "java/androidmk.go", |
Colin Cross | 30e076a | 2015-04-13 13:58:27 -0700 | [diff] [blame] | 250 | "java/app_builder.go", |
| 251 | "java/app.go", |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 252 | "java/builder.go", |
Colin Cross | f0056cb | 2017-12-22 15:56:08 -0800 | [diff] [blame] | 253 | "java/dex.go", |
Colin Cross | 43f08db | 2018-11-12 10:13:39 -0800 | [diff] [blame] | 254 | "java/dexpreopt.go", |
Colin Cross | 800fe13 | 2019-02-11 14:21:24 -0800 | [diff] [blame] | 255 | "java/dexpreopt_bootjars.go", |
Colin Cross | 44df581 | 2019-02-15 23:06:46 -0800 | [diff] [blame] | 256 | "java/dexpreopt_config.go", |
Nan Zhang | 581fd21 | 2018-01-10 16:06:12 -0800 | [diff] [blame] | 257 | "java/droiddoc.go", |
Colin Cross | c0b06f1 | 2015-04-08 13:03:43 -0700 | [diff] [blame] | 258 | "java/gen.go", |
Colin Cross | 5425090 | 2017-12-05 09:28:08 -0800 | [diff] [blame] | 259 | "java/genrule.go", |
Colin Cross | 8faf8fc | 2019-01-16 15:15:52 -0800 | [diff] [blame] | 260 | "java/hiddenapi.go", |
Colin Cross | f24a22a | 2019-01-31 14:12:44 -0800 | [diff] [blame] | 261 | "java/hiddenapi_singleton.go", |
Colin Cross | cb93359 | 2017-11-22 13:49:43 -0800 | [diff] [blame] | 262 | "java/jacoco.go", |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 263 | "java/java.go", |
Brandon Lee | 5d45c6f | 2018-08-15 15:35:38 -0700 | [diff] [blame] | 264 | "java/jdeps.go", |
Colin Cross | a97c5d3 | 2018-03-28 14:58:31 -0700 | [diff] [blame] | 265 | "java/java_resources.go", |
Colin Cross | 21fc9bb | 2019-01-18 15:05:09 -0800 | [diff] [blame] | 266 | "java/kotlin.go", |
Colin Cross | be9cdb8 | 2019-01-21 21:37:16 -0800 | [diff] [blame] | 267 | "java/plugin.go", |
Jiyong Park | 58c518b | 2018-05-12 22:29:12 +0900 | [diff] [blame] | 268 | "java/prebuilt_apis.go", |
Colin Cross | 6af17aa | 2017-09-20 12:59:05 -0700 | [diff] [blame] | 269 | "java/proto.go", |
Colin Cross | fb6d781 | 2019-01-09 22:17:55 -0800 | [diff] [blame] | 270 | "java/sdk.go", |
Jiyong Park | c678ad3 | 2018-04-10 13:07:10 +0900 | [diff] [blame] | 271 | "java/sdk_library.go", |
Colin Cross | b2559a0 | 2018-04-19 15:26:10 -0700 | [diff] [blame] | 272 | "java/support_libraries.go", |
Colin Cross | 1369cdb | 2017-09-29 17:58:17 -0700 | [diff] [blame] | 273 | "java/system_modules.go", |
Colin Cross | e4759b9 | 2019-02-15 10:37:39 -0800 | [diff] [blame] | 274 | "java/testing.go", |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 275 | ], |
Colin Cross | 72bb363 | 2017-07-13 16:23:21 -0700 | [diff] [blame] | 276 | testSrcs: [ |
Colin Cross | 44f0668 | 2017-11-29 00:17:36 -0800 | [diff] [blame] | 277 | "java/app_test.go", |
Colin Cross | 638149e | 2019-01-05 22:12:12 -0800 | [diff] [blame] | 278 | "java/dexpreopt_test.go", |
Colin Cross | 72bb363 | 2017-07-13 16:23:21 -0700 | [diff] [blame] | 279 | "java/java_test.go", |
Brandon Lee | 5d45c6f | 2018-08-15 15:35:38 -0700 | [diff] [blame] | 280 | "java/jdeps_test.go", |
Colin Cross | 21fc9bb | 2019-01-18 15:05:09 -0800 | [diff] [blame] | 281 | "java/kotlin_test.go", |
Colin Cross | be9cdb8 | 2019-01-21 21:37:16 -0800 | [diff] [blame] | 282 | "java/plugin_test.go", |
Colin Cross | fb6d781 | 2019-01-09 22:17:55 -0800 | [diff] [blame] | 283 | "java/sdk_test.go", |
Colin Cross | 72bb363 | 2017-07-13 16:23:21 -0700 | [diff] [blame] | 284 | ], |
Dan Willemsen | 98b26c5 | 2015-07-27 15:08:24 -0700 | [diff] [blame] | 285 | pluginFor: ["soong_build"], |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 286 | } |
| 287 | |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 288 | bootstrap_go_package { |
Colin Cross | 3e3e72d | 2017-06-22 17:20:19 -0700 | [diff] [blame] | 289 | name: "soong-java-config", |
| 290 | pkgPath: "android/soong/java/config", |
| 291 | deps: [ |
| 292 | "blueprint-proptools", |
| 293 | "soong-android", |
| 294 | ], |
| 295 | srcs: [ |
| 296 | "java/config/config.go", |
Colin Cross | fee57cb | 2017-09-05 13:16:45 -0700 | [diff] [blame] | 297 | "java/config/error_prone.go", |
Colin Cross | 93e8595 | 2017-08-15 13:34:18 -0700 | [diff] [blame] | 298 | "java/config/kotlin.go", |
Colin Cross | 3e3e72d | 2017-06-22 17:20:19 -0700 | [diff] [blame] | 299 | "java/config/makevars.go", |
| 300 | ], |
| 301 | } |
| 302 | |
| 303 | bootstrap_go_package { |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 304 | name: "soong-python", |
| 305 | pkgPath: "android/soong/python", |
| 306 | deps: [ |
| 307 | "blueprint", |
| 308 | "soong-android", |
yelinhsieh | 80880a3 | 2018-11-06 11:49:55 +0800 | [diff] [blame] | 309 | "soong-tradefed", |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 310 | ], |
| 311 | srcs: [ |
Nan Zhang | 5323f8e | 2017-05-10 13:37:54 -0700 | [diff] [blame] | 312 | "python/androidmk.go", |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 313 | "python/binary.go", |
| 314 | "python/builder.go", |
Nan Zhang | a3fc4ba | 2017-07-20 17:43:37 -0700 | [diff] [blame] | 315 | "python/defaults.go", |
Nan Zhang | 5323f8e | 2017-05-10 13:37:54 -0700 | [diff] [blame] | 316 | "python/installer.go", |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 317 | "python/library.go", |
Nan Zhang | b8fa197 | 2017-12-22 16:12:00 -0800 | [diff] [blame] | 318 | "python/proto.go", |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 319 | "python/python.go", |
Nan Zhang | 5323f8e | 2017-05-10 13:37:54 -0700 | [diff] [blame] | 320 | "python/test.go", |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 321 | ], |
| 322 | testSrcs: [ |
| 323 | "python/python_test.go", |
| 324 | ], |
| 325 | pluginFor: ["soong_build"], |
| 326 | } |
| 327 | |
Jeff Gaston | efc1b41 | 2017-03-29 17:29:06 -0700 | [diff] [blame] | 328 | bootstrap_go_package { |
| 329 | name: "soong-shared", |
| 330 | pkgPath: "android/soong/shared", |
| 331 | srcs: [ |
| 332 | "shared/paths.go", |
| 333 | ], |
| 334 | } |
| 335 | |
Jiyong Park | 5a8d1be | 2018-04-25 22:57:34 +0900 | [diff] [blame] | 336 | bootstrap_go_package { |
Colin Cross | 303e21f | 2018-08-07 16:49:25 -0700 | [diff] [blame] | 337 | name: "soong-tradefed", |
| 338 | pkgPath: "android/soong/tradefed", |
| 339 | deps: [ |
| 340 | "blueprint", |
| 341 | "soong-android", |
| 342 | ], |
| 343 | srcs: [ |
| 344 | "tradefed/autogen.go", |
| 345 | "tradefed/config.go", |
| 346 | "tradefed/makevars.go", |
| 347 | ], |
| 348 | pluginFor: ["soong_build"], |
| 349 | } |
| 350 | |
| 351 | bootstrap_go_package { |
Jiyong Park | 5a8d1be | 2018-04-25 22:57:34 +0900 | [diff] [blame] | 352 | name: "soong-xml", |
| 353 | pkgPath: "android/soong/xml", |
| 354 | deps: [ |
| 355 | "blueprint", |
| 356 | "blueprint-pathtools", |
| 357 | "soong", |
| 358 | "soong-android", |
| 359 | ], |
| 360 | srcs: [ |
| 361 | "xml/xml.go", |
| 362 | ], |
| 363 | testSrcs: [ |
| 364 | "xml/xml_test.go", |
| 365 | ], |
| 366 | pluginFor: ["soong_build"], |
| 367 | } |
| 368 | |
Jiyong Park | 48ca7dc | 2018-10-10 14:01:00 +0900 | [diff] [blame] | 369 | bootstrap_go_package { |
| 370 | name: "soong-apex", |
| 371 | pkgPath: "android/soong/apex", |
| 372 | deps: [ |
| 373 | "blueprint", |
| 374 | "soong", |
| 375 | "soong-android", |
| 376 | "soong-cc", |
| 377 | "soong-java", |
Alex Light | 778127a | 2019-02-27 14:19:50 -0800 | [diff] [blame^] | 378 | "soong-python", |
Jiyong Park | 48ca7dc | 2018-10-10 14:01:00 +0900 | [diff] [blame] | 379 | ], |
| 380 | srcs: [ |
| 381 | "apex/apex.go", |
Jiyong Park | ff1458f | 2018-10-12 21:49:38 +0900 | [diff] [blame] | 382 | "apex/key.go", |
Jiyong Park | 48ca7dc | 2018-10-10 14:01:00 +0900 | [diff] [blame] | 383 | ], |
Jiyong Park | 25fc6a9 | 2018-11-18 18:02:45 +0900 | [diff] [blame] | 384 | testSrcs: [ |
| 385 | "apex/apex_test.go", |
| 386 | ], |
Jiyong Park | 48ca7dc | 2018-10-10 14:01:00 +0900 | [diff] [blame] | 387 | pluginFor: ["soong_build"], |
| 388 | } |
| 389 | |
Inseob Kim | c0907f1 | 2019-02-08 21:00:45 +0900 | [diff] [blame] | 390 | bootstrap_go_package { |
| 391 | name: "soong-sysprop", |
| 392 | pkgPath: "android/soong/sysprop", |
| 393 | deps: [ |
| 394 | "blueprint", |
| 395 | "soong", |
| 396 | "soong-android", |
| 397 | "soong-cc", |
| 398 | "soong-java", |
| 399 | ], |
| 400 | srcs: [ |
| 401 | "sysprop/sysprop_library.go", |
| 402 | ], |
| 403 | testSrcs: [ |
| 404 | "sysprop/sysprop_test.go", |
| 405 | ], |
| 406 | pluginFor: ["soong_build"], |
| 407 | } |
| 408 | |
Colin Cross | 8003131 | 2015-03-14 14:28:22 -0700 | [diff] [blame] | 409 | // |
Dan Willemsen | 00fcbde | 2016-11-17 00:25:59 -0800 | [diff] [blame] | 410 | // Defaults to enable various configurations of host bionic |
| 411 | // |
| 412 | |
| 413 | cc_defaults { |
| 414 | name: "linux_bionic_supported", |
| 415 | host_supported: true, |
| 416 | target: { |
| 417 | host: { |
| 418 | enabled: false, |
| 419 | }, |
| 420 | linux_bionic: { |
| 421 | enabled: true, |
| 422 | }, |
| 423 | }, |
| 424 | } |
| 425 | |
| 426 | // |
Colin Cross | 8003131 | 2015-03-14 14:28:22 -0700 | [diff] [blame] | 427 | // C static libraries extracted from the gcc toolchain |
| 428 | // |
| 429 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 430 | toolchain_library { |
| 431 | name: "libatomic", |
Dan Willemsen | 2e47b34 | 2016-11-17 01:02:25 -0800 | [diff] [blame] | 432 | defaults: ["linux_bionic_supported"], |
Dan Willemsen | 4416e5d | 2017-04-06 12:43:22 -0700 | [diff] [blame] | 433 | vendor_available: true, |
Jiyong Park | f9332f1 | 2018-02-01 00:54:12 +0900 | [diff] [blame] | 434 | recovery_available: true, |
Dan Willemsen | feea4df | 2018-10-07 18:16:48 -0700 | [diff] [blame] | 435 | |
Dan Willemsen | eba363e | 2015-07-08 18:11:14 -0700 | [diff] [blame] | 436 | arch: { |
| 437 | arm: { |
Dan Willemsen | feea4df | 2018-10-07 18:16:48 -0700 | [diff] [blame] | 438 | src: "prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/lib/libatomic.a", |
| 439 | }, |
| 440 | arm64: { |
| 441 | src: "prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/lib64/libatomic.a", |
| 442 | }, |
| 443 | x86: { |
| 444 | src: "prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/lib/libatomic.a", |
| 445 | }, |
| 446 | x86_64: { |
| 447 | src: "prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/lib64/libatomic.a", |
Dan Willemsen | eba363e | 2015-07-08 18:11:14 -0700 | [diff] [blame] | 448 | }, |
| 449 | }, |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 450 | } |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 451 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 452 | toolchain_library { |
| 453 | name: "libgcc", |
Dan Willemsen | 2e47b34 | 2016-11-17 01:02:25 -0800 | [diff] [blame] | 454 | defaults: ["linux_bionic_supported"], |
Dan Willemsen | 4416e5d | 2017-04-06 12:43:22 -0700 | [diff] [blame] | 455 | vendor_available: true, |
Jiyong Park | f9332f1 | 2018-02-01 00:54:12 +0900 | [diff] [blame] | 456 | recovery_available: true, |
Dan Willemsen | feea4df | 2018-10-07 18:16:48 -0700 | [diff] [blame] | 457 | |
Dan Willemsen | eba363e | 2015-07-08 18:11:14 -0700 | [diff] [blame] | 458 | arch: { |
| 459 | arm: { |
Dan Willemsen | feea4df | 2018-10-07 18:16:48 -0700 | [diff] [blame] | 460 | src: "prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9.x/libgcc.a", |
| 461 | }, |
| 462 | arm64: { |
| 463 | src: "prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x/libgcc.a", |
| 464 | }, |
| 465 | x86: { |
| 466 | src: "prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9.x/32/libgcc.a", |
| 467 | }, |
| 468 | x86_64: { |
| 469 | src: "prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9.x/libgcc.a", |
Dan Willemsen | eba363e | 2015-07-08 18:11:14 -0700 | [diff] [blame] | 470 | }, |
| 471 | }, |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 472 | } |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 473 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 474 | toolchain_library { |
Josh Gao | 7bd4c5c | 2017-02-23 17:52:24 -0800 | [diff] [blame] | 475 | name: "libwinpthread", |
| 476 | host_supported: true, |
| 477 | enabled: false, |
| 478 | target: { |
| 479 | windows: { |
Dan Willemsen | c77a0b3 | 2017-09-18 23:19:12 -0700 | [diff] [blame] | 480 | enabled: true, |
Josh Gao | 7bd4c5c | 2017-02-23 17:52:24 -0800 | [diff] [blame] | 481 | }, |
Dan Willemsen | feea4df | 2018-10-07 18:16:48 -0700 | [diff] [blame] | 482 | windows_x86: { |
| 483 | src: "prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/libwinpthread.a", |
| 484 | }, |
| 485 | windows_x86_64: { |
| 486 | src: "prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib/libwinpthread.a", |
| 487 | }, |
Josh Gao | 7bd4c5c | 2017-02-23 17:52:24 -0800 | [diff] [blame] | 488 | }, |
Jaewoong Jung | 62707f7 | 2018-11-16 13:26:43 -0800 | [diff] [blame] | 489 | notice: ":mingw-libwinpthread-notice", |
Josh Gao | 7bd4c5c | 2017-02-23 17:52:24 -0800 | [diff] [blame] | 490 | } |
| 491 | |
| 492 | toolchain_library { |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 493 | name: "libgcov", |
Dan Willemsen | 2e47b34 | 2016-11-17 01:02:25 -0800 | [diff] [blame] | 494 | defaults: ["linux_bionic_supported"], |
Dan Willemsen | feea4df | 2018-10-07 18:16:48 -0700 | [diff] [blame] | 495 | |
Dan Willemsen | eba363e | 2015-07-08 18:11:14 -0700 | [diff] [blame] | 496 | arch: { |
| 497 | arm: { |
Dan Willemsen | feea4df | 2018-10-07 18:16:48 -0700 | [diff] [blame] | 498 | src: "prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9.x/libgcov.a", |
| 499 | }, |
| 500 | arm64: { |
| 501 | src: "prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x/libgcov.a", |
| 502 | }, |
| 503 | x86: { |
| 504 | src: "prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9.x/32/libgcov.a", |
| 505 | }, |
| 506 | x86_64: { |
| 507 | src: "prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9.x/libgcov.a", |
Dan Willemsen | eba363e | 2015-07-08 18:11:14 -0700 | [diff] [blame] | 508 | }, |
| 509 | }, |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 510 | } |
Jiyong Park | d773eb3 | 2017-07-03 13:18:12 +0900 | [diff] [blame] | 511 | |
| 512 | kernel_headers { |
| 513 | name: "device_kernel_headers", |
| 514 | vendor: true, |
| 515 | } |
Dan Willemsen | c77a0b3 | 2017-09-18 23:19:12 -0700 | [diff] [blame] | 516 | |
| 517 | cc_genrule { |
| 518 | name: "host_bionic_linker_asm", |
| 519 | host_supported: true, |
| 520 | device_supported: false, |
| 521 | target: { |
| 522 | linux_bionic: { |
| 523 | enabled: true, |
| 524 | }, |
Dan Willemsen | 9d6c672 | 2017-10-02 10:41:07 -0700 | [diff] [blame] | 525 | linux_glibc: { |
Dan Willemsen | c77a0b3 | 2017-09-18 23:19:12 -0700 | [diff] [blame] | 526 | enabled: false, |
| 527 | }, |
| 528 | darwin: { |
| 529 | enabled: false, |
| 530 | }, |
| 531 | }, |
| 532 | tools: ["extract_linker"], |
| 533 | cmd: "$(location) -s $(out) $(in)", |
| 534 | srcs: [":linker"], |
| 535 | out: ["linker.s"], |
| 536 | } |
| 537 | |
| 538 | cc_genrule { |
Dan Willemsen | a0790e3 | 2018-10-12 00:24:23 -0700 | [diff] [blame] | 539 | name: "host_bionic_linker_flags", |
Dan Willemsen | c77a0b3 | 2017-09-18 23:19:12 -0700 | [diff] [blame] | 540 | host_supported: true, |
| 541 | device_supported: false, |
| 542 | target: { |
| 543 | linux_bionic: { |
| 544 | enabled: true, |
| 545 | }, |
Dan Willemsen | 9d6c672 | 2017-10-02 10:41:07 -0700 | [diff] [blame] | 546 | linux_glibc: { |
Dan Willemsen | c77a0b3 | 2017-09-18 23:19:12 -0700 | [diff] [blame] | 547 | enabled: false, |
| 548 | }, |
| 549 | darwin: { |
| 550 | enabled: false, |
| 551 | }, |
| 552 | }, |
| 553 | tools: ["extract_linker"], |
Dan Willemsen | a0790e3 | 2018-10-12 00:24:23 -0700 | [diff] [blame] | 554 | cmd: "$(location) -f $(out) $(in)", |
Dan Willemsen | c77a0b3 | 2017-09-18 23:19:12 -0700 | [diff] [blame] | 555 | srcs: [":linker"], |
Dan Willemsen | a0790e3 | 2018-10-12 00:24:23 -0700 | [diff] [blame] | 556 | out: ["linker.flags"], |
Dan Willemsen | c77a0b3 | 2017-09-18 23:19:12 -0700 | [diff] [blame] | 557 | } |