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