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