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", |
Dan Willemsen | 377737a | 2016-08-15 15:02:23 -0700 | [diff] [blame] | 8 | "third_party/zip", |
Dan Willemsen | 1e70446 | 2016-08-21 15:17:17 -0700 | [diff] [blame] | 9 | "ui/*", |
Dan Willemsen | 377737a | 2016-08-15 15:02:23 -0700 | [diff] [blame] | 10 | ] |
Colin Cross | 68f5510 | 2015-03-25 14:43:57 -0700 | [diff] [blame] | 11 | |
| 12 | bootstrap_go_package { |
| 13 | name: "soong-env", |
| 14 | pkgPath: "android/soong/env", |
| 15 | srcs: [ |
| 16 | "env/env.go", |
| 17 | ], |
| 18 | } |
| 19 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 20 | bootstrap_go_package { |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 21 | name: "soong", |
| 22 | pkgPath: "android/soong", |
| 23 | deps: [ |
| 24 | "blueprint", |
| 25 | ], |
| 26 | srcs: [ |
| 27 | "doc.go", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 28 | ], |
| 29 | } |
| 30 | |
| 31 | bootstrap_go_package { |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 32 | name: "soong-android", |
| 33 | pkgPath: "android/soong/android", |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 34 | deps: [ |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 35 | "blueprint", |
| 36 | "blueprint-bootstrap", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 37 | "soong", |
Colin Cross | 68f5510 | 2015-03-25 14:43:57 -0700 | [diff] [blame] | 38 | "soong-env", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 39 | ], |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 40 | srcs: [ |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 41 | "android/androidmk.go", |
Dan Albert | 30c9d6e | 2017-03-28 14:54:55 -0700 | [diff] [blame] | 42 | "android/api_levels.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 43 | "android/arch.go", |
| 44 | "android/config.go", |
| 45 | "android/defaults.go", |
| 46 | "android/defs.go", |
Colin Cross | 6bde094 | 2016-11-04 14:36:38 -0700 | [diff] [blame] | 47 | "android/expand.go", |
Colin Cross | 178a509 | 2016-09-13 13:42:32 -0700 | [diff] [blame] | 48 | "android/hooks.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 49 | "android/makevars.go", |
| 50 | "android/module.go", |
| 51 | "android/mutator.go", |
Colin Cross | 9272ade | 2016-08-17 15:24:12 -0700 | [diff] [blame] | 52 | "android/onceper.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 53 | "android/package_ctx.go", |
| 54 | "android/paths.go", |
Colin Cross | ce75d2c | 2016-10-06 16:12:58 -0700 | [diff] [blame] | 55 | "android/prebuilt.go", |
Colin Cross | 38f794e | 2017-09-07 10:53:07 -0700 | [diff] [blame] | 56 | "android/proto.go", |
Colin Cross | 798bfce | 2016-10-12 14:28:16 -0700 | [diff] [blame] | 57 | "android/register.go", |
Colin Cross | cec8171 | 2017-07-13 14:43:27 -0700 | [diff] [blame] | 58 | "android/testing.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 59 | "android/util.go", |
| 60 | "android/variable.go", |
Dan Willemsen | e8b1bc0 | 2016-05-12 19:03:10 -0700 | [diff] [blame] | 61 | |
| 62 | // Lock down environment access last |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 63 | "android/env.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 64 | ], |
Dan Willemsen | 34cc69e | 2015-09-23 15:26:20 -0700 | [diff] [blame] | 65 | testSrcs: [ |
Colin Cross | 6bde094 | 2016-11-04 14:36:38 -0700 | [diff] [blame] | 66 | "android/expand_test.go", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 67 | "android/paths_test.go", |
Colin Cross | 0d614dd | 2016-10-14 15:38:43 -0700 | [diff] [blame] | 68 | "android/prebuilt_test.go", |
Colin Cross | 7e0eaf1 | 2017-05-05 16:16:24 -0700 | [diff] [blame] | 69 | "android/variable_test.go", |
Dan Willemsen | 34cc69e | 2015-09-23 15:26:20 -0700 | [diff] [blame] | 70 | ], |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 71 | } |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 72 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 73 | bootstrap_go_package { |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 74 | name: "soong-cc-config", |
| 75 | pkgPath: "android/soong/cc/config", |
| 76 | deps: [ |
| 77 | "soong-android", |
| 78 | ], |
| 79 | srcs: [ |
| 80 | "cc/config/clang.go", |
| 81 | "cc/config/global.go", |
Dan Willemsen | a03cf6d | 2016-09-26 15:45:04 -0700 | [diff] [blame] | 82 | "cc/config/tidy.go", |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 83 | "cc/config/toolchain.go", |
| 84 | |
| 85 | "cc/config/arm_device.go", |
| 86 | "cc/config/arm64_device.go", |
| 87 | "cc/config/mips_device.go", |
| 88 | "cc/config/mips64_device.go", |
| 89 | "cc/config/x86_device.go", |
| 90 | "cc/config/x86_64_device.go", |
| 91 | |
| 92 | "cc/config/x86_darwin_host.go", |
| 93 | "cc/config/x86_linux_host.go", |
Dan Willemsen | 01a405a | 2016-06-13 17:19:03 -0700 | [diff] [blame] | 94 | "cc/config/x86_linux_bionic_host.go", |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 95 | "cc/config/x86_windows_host.go", |
| 96 | ], |
Dan Willemsen | a03cf6d | 2016-09-26 15:45:04 -0700 | [diff] [blame] | 97 | testSrcs: [ |
| 98 | "cc/config/tidy_test.go", |
| 99 | ], |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 100 | } |
| 101 | |
| 102 | bootstrap_go_package { |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 103 | name: "soong-cc", |
| 104 | pkgPath: "android/soong/cc", |
| 105 | deps: [ |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 106 | "blueprint", |
| 107 | "blueprint-pathtools", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 108 | "soong", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 109 | "soong-android", |
Colin Cross | b98c8b0 | 2016-07-29 13:44:28 -0700 | [diff] [blame] | 110 | "soong-cc-config", |
Colin Cross | 5049f02 | 2015-03-18 13:28:46 -0700 | [diff] [blame] | 111 | "soong-genrule", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 112 | ], |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 113 | srcs: [ |
Dan Willemsen | 218f656 | 2015-07-08 18:13:11 -0700 | [diff] [blame] | 114 | "cc/androidmk.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 115 | "cc/builder.go", |
| 116 | "cc/cc.go", |
Dan Willemsen | 20acc5c | 2016-05-25 14:47:21 -0700 | [diff] [blame] | 117 | "cc/check.go", |
Dan Willemsen | 581341d | 2017-02-09 16:16:31 -0800 | [diff] [blame] | 118 | "cc/coverage.go", |
Colin Cross | 581c189 | 2015-04-07 16:50:10 -0700 | [diff] [blame] | 119 | "cc/gen.go", |
Stephen Crane | ba090d1 | 2017-05-09 15:44:35 -0700 | [diff] [blame] | 120 | "cc/lto.go", |
Dan Willemsen | 4b7d5de | 2016-01-12 23:20:28 -0800 | [diff] [blame] | 121 | "cc/makevars.go", |
Colin Cross | ce75d2c | 2016-10-06 16:12:58 -0700 | [diff] [blame] | 122 | "cc/prebuilt.go", |
Colin Cross | 0c461f1 | 2016-10-20 16:11:43 -0700 | [diff] [blame] | 123 | "cc/proto.go", |
Dan Willemsen | 394e9dc | 2016-09-14 15:04:48 -0700 | [diff] [blame] | 124 | "cc/relocation_packer.go", |
Colin Cross | 2a252be | 2017-05-01 17:37:24 -0700 | [diff] [blame] | 125 | "cc/rs.go", |
Colin Cross | 16b2349 | 2016-01-06 14:41:07 -0800 | [diff] [blame] | 126 | "cc/sanitize.go", |
Jayant Chowdhary | 3e231fd | 2017-02-08 13:45:53 -0800 | [diff] [blame] | 127 | "cc/sabi.go", |
Colin Cross | ca860ac | 2016-01-04 14:34:37 -0800 | [diff] [blame] | 128 | "cc/stl.go", |
Colin Cross | 4d9c2d1 | 2016-07-29 12:48:20 -0700 | [diff] [blame] | 129 | "cc/strip.go", |
Dan Willemsen | a03cf6d | 2016-09-26 15:45:04 -0700 | [diff] [blame] | 130 | "cc/tidy.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 131 | "cc/util.go", |
Justin Yun | 8effde4 | 2017-06-23 19:24:43 +0900 | [diff] [blame] | 132 | "cc/vndk.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 133 | |
Fabien Sanglard | d61f1f4 | 2017-01-10 16:21:22 -0800 | [diff] [blame] | 134 | "cc/cmakelists.go", |
Colin Cross | 4d9c2d1 | 2016-07-29 12:48:20 -0700 | [diff] [blame] | 135 | "cc/compiler.go", |
| 136 | "cc/installer.go", |
| 137 | "cc/linker.go", |
| 138 | |
| 139 | "cc/binary.go", |
| 140 | "cc/library.go", |
| 141 | "cc/object.go", |
| 142 | "cc/test.go", |
Colin Cross | b916a38 | 2016-07-29 17:28:03 -0700 | [diff] [blame] | 143 | "cc/toolchain_library.go", |
Colin Cross | 4d9c2d1 | 2016-07-29 12:48:20 -0700 | [diff] [blame] | 144 | |
| 145 | "cc/ndk_prebuilt.go", |
Dan Albert | 914449f | 2016-06-17 16:45:24 -0700 | [diff] [blame] | 146 | "cc/ndk_headers.go", |
| 147 | "cc/ndk_library.go", |
| 148 | "cc/ndk_sysroot.go", |
Dan Willemsen | b916b80 | 2017-03-19 13:44:32 -0700 | [diff] [blame] | 149 | |
| 150 | "cc/llndk_library.go", |
Jiyong Park | d773eb3 | 2017-07-03 13:18:12 +0900 | [diff] [blame] | 151 | |
| 152 | "cc/kernel_headers.go", |
Dan Willemsen | 3e5bdf2 | 2017-09-13 18:37:08 -0700 | [diff] [blame] | 153 | |
| 154 | "cc/genrule.go", |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 155 | ], |
Dan Willemsen | e5e2033 | 2015-06-23 19:46:20 -0700 | [diff] [blame] | 156 | testSrcs: [ |
| 157 | "cc/cc_test.go", |
Colin Cross | faeb7aa | 2017-02-01 14:12:44 -0800 | [diff] [blame] | 158 | "cc/test_data_test.go", |
Dan Willemsen | e5e2033 | 2015-06-23 19:46:20 -0700 | [diff] [blame] | 159 | ], |
Dan Willemsen | 98b26c5 | 2015-07-27 15:08:24 -0700 | [diff] [blame] | 160 | pluginFor: ["soong_build"], |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 161 | } |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 162 | |
Colin Cross | 5049f02 | 2015-03-18 13:28:46 -0700 | [diff] [blame] | 163 | bootstrap_go_package { |
| 164 | name: "soong-genrule", |
| 165 | pkgPath: "android/soong/genrule", |
| 166 | deps: [ |
| 167 | "blueprint", |
| 168 | "blueprint-pathtools", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 169 | "soong", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 170 | "soong-android", |
Jeff Gaston | efc1b41 | 2017-03-29 17:29:06 -0700 | [diff] [blame] | 171 | "soong-shared", |
Colin Cross | 5049f02 | 2015-03-18 13:28:46 -0700 | [diff] [blame] | 172 | ], |
| 173 | srcs: [ |
Colin Cross | 068e0fe | 2016-12-13 15:23:47 -0800 | [diff] [blame] | 174 | "genrule/filegroup.go", |
Colin Cross | 5049f02 | 2015-03-18 13:28:46 -0700 | [diff] [blame] | 175 | "genrule/genrule.go", |
| 176 | ], |
Dan Willemsen | 98b26c5 | 2015-07-27 15:08:24 -0700 | [diff] [blame] | 177 | pluginFor: ["soong_build"], |
Colin Cross | 5049f02 | 2015-03-18 13:28:46 -0700 | [diff] [blame] | 178 | } |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 179 | |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 180 | bootstrap_go_package { |
Nan Zhang | 6d34b30 | 2017-02-04 17:47:46 -0800 | [diff] [blame] | 181 | name: "soong-phony", |
| 182 | pkgPath: "android/soong/phony", |
| 183 | deps: [ |
| 184 | "blueprint", |
| 185 | "soong-android", |
| 186 | ], |
| 187 | srcs: [ |
| 188 | "phony/phony.go", |
| 189 | ], |
| 190 | pluginFor: ["soong_build"], |
| 191 | } |
| 192 | |
| 193 | bootstrap_go_package { |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 194 | name: "soong-java", |
| 195 | pkgPath: "android/soong/java", |
| 196 | deps: [ |
| 197 | "blueprint", |
| 198 | "blueprint-pathtools", |
Colin Cross | 463a90e | 2015-06-17 14:20:06 -0700 | [diff] [blame] | 199 | "soong", |
Colin Cross | 635c3b0 | 2016-05-18 15:37:25 -0700 | [diff] [blame] | 200 | "soong-android", |
Colin Cross | 0607cf7 | 2015-04-28 13:28:51 -0700 | [diff] [blame] | 201 | "soong-genrule", |
Colin Cross | 3e3e72d | 2017-06-22 17:20:19 -0700 | [diff] [blame] | 202 | "soong-java-config", |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 203 | ], |
| 204 | srcs: [ |
Dan Willemsen | 218f656 | 2015-07-08 18:13:11 -0700 | [diff] [blame] | 205 | "java/androidmk.go", |
Colin Cross | 30e076a | 2015-04-13 13:58:27 -0700 | [diff] [blame] | 206 | "java/app_builder.go", |
| 207 | "java/app.go", |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 208 | "java/builder.go", |
Colin Cross | c0b06f1 | 2015-04-08 13:03:43 -0700 | [diff] [blame] | 209 | "java/gen.go", |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 210 | "java/java.go", |
| 211 | "java/resources.go", |
| 212 | ], |
Colin Cross | 72bb363 | 2017-07-13 16:23:21 -0700 | [diff] [blame] | 213 | testSrcs: [ |
| 214 | "java/java_test.go", |
| 215 | ], |
Dan Willemsen | 98b26c5 | 2015-07-27 15:08:24 -0700 | [diff] [blame] | 216 | pluginFor: ["soong_build"], |
Colin Cross | 2fe6687 | 2015-03-30 17:20:39 -0700 | [diff] [blame] | 217 | } |
| 218 | |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 219 | bootstrap_go_package { |
Colin Cross | 3e3e72d | 2017-06-22 17:20:19 -0700 | [diff] [blame] | 220 | name: "soong-java-config", |
| 221 | pkgPath: "android/soong/java/config", |
| 222 | deps: [ |
| 223 | "blueprint-proptools", |
| 224 | "soong-android", |
| 225 | ], |
| 226 | srcs: [ |
| 227 | "java/config/config.go", |
Colin Cross | fee57cb | 2017-09-05 13:16:45 -0700 | [diff] [blame] | 228 | "java/config/error_prone.go", |
Colin Cross | 3e3e72d | 2017-06-22 17:20:19 -0700 | [diff] [blame] | 229 | "java/config/makevars.go", |
| 230 | ], |
| 231 | } |
| 232 | |
| 233 | bootstrap_go_package { |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 234 | name: "soong-python", |
| 235 | pkgPath: "android/soong/python", |
| 236 | deps: [ |
| 237 | "blueprint", |
| 238 | "soong-android", |
| 239 | ], |
| 240 | srcs: [ |
Nan Zhang | 5323f8e | 2017-05-10 13:37:54 -0700 | [diff] [blame] | 241 | "python/androidmk.go", |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 242 | "python/binary.go", |
| 243 | "python/builder.go", |
Nan Zhang | a3fc4ba | 2017-07-20 17:43:37 -0700 | [diff] [blame] | 244 | "python/defaults.go", |
Nan Zhang | 5323f8e | 2017-05-10 13:37:54 -0700 | [diff] [blame] | 245 | "python/installer.go", |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 246 | "python/library.go", |
| 247 | "python/python.go", |
Nan Zhang | 5323f8e | 2017-05-10 13:37:54 -0700 | [diff] [blame] | 248 | "python/test.go", |
Nan Zhang | db0b9a3 | 2017-02-27 10:12:13 -0800 | [diff] [blame] | 249 | ], |
| 250 | testSrcs: [ |
| 251 | "python/python_test.go", |
| 252 | ], |
| 253 | pluginFor: ["soong_build"], |
| 254 | } |
| 255 | |
Jeff Gaston | efc1b41 | 2017-03-29 17:29:06 -0700 | [diff] [blame] | 256 | bootstrap_go_package { |
| 257 | name: "soong-shared", |
| 258 | pkgPath: "android/soong/shared", |
| 259 | srcs: [ |
| 260 | "shared/paths.go", |
| 261 | ], |
| 262 | } |
| 263 | |
Colin Cross | 8003131 | 2015-03-14 14:28:22 -0700 | [diff] [blame] | 264 | // |
Dan Willemsen | 00fcbde | 2016-11-17 00:25:59 -0800 | [diff] [blame] | 265 | // Defaults to enable various configurations of host bionic |
| 266 | // |
| 267 | |
| 268 | cc_defaults { |
| 269 | name: "linux_bionic_supported", |
| 270 | host_supported: true, |
| 271 | target: { |
| 272 | host: { |
| 273 | enabled: false, |
| 274 | }, |
| 275 | linux_bionic: { |
| 276 | enabled: true, |
| 277 | }, |
| 278 | }, |
| 279 | } |
| 280 | |
| 281 | // |
Colin Cross | 8003131 | 2015-03-14 14:28:22 -0700 | [diff] [blame] | 282 | // C static libraries extracted from the gcc toolchain |
| 283 | // |
| 284 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 285 | toolchain_library { |
| 286 | name: "libatomic", |
Dan Willemsen | 2e47b34 | 2016-11-17 01:02:25 -0800 | [diff] [blame] | 287 | defaults: ["linux_bionic_supported"], |
Dan Willemsen | 4416e5d | 2017-04-06 12:43:22 -0700 | [diff] [blame] | 288 | vendor_available: true, |
Dan Willemsen | eba363e | 2015-07-08 18:11:14 -0700 | [diff] [blame] | 289 | arch: { |
| 290 | arm: { |
| 291 | instruction_set: "arm", |
| 292 | }, |
| 293 | }, |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 294 | } |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 295 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 296 | toolchain_library { |
| 297 | name: "libgcc", |
Dan Willemsen | 2e47b34 | 2016-11-17 01:02:25 -0800 | [diff] [blame] | 298 | defaults: ["linux_bionic_supported"], |
Dan Willemsen | 4416e5d | 2017-04-06 12:43:22 -0700 | [diff] [blame] | 299 | vendor_available: true, |
Dan Willemsen | eba363e | 2015-07-08 18:11:14 -0700 | [diff] [blame] | 300 | arch: { |
| 301 | arm: { |
| 302 | instruction_set: "arm", |
| 303 | }, |
| 304 | }, |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 305 | } |
Colin Cross | 3f40fa4 | 2015-01-30 17:27:36 -0800 | [diff] [blame] | 306 | |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 307 | toolchain_library { |
Josh Gao | 7bd4c5c | 2017-02-23 17:52:24 -0800 | [diff] [blame] | 308 | name: "libwinpthread", |
| 309 | host_supported: true, |
| 310 | enabled: false, |
| 311 | target: { |
| 312 | windows: { |
Dan Willemsen | c77a0b3 | 2017-09-18 23:19:12 -0700 | [diff] [blame^] | 313 | enabled: true, |
Josh Gao | 7bd4c5c | 2017-02-23 17:52:24 -0800 | [diff] [blame] | 314 | }, |
| 315 | }, |
| 316 | } |
| 317 | |
| 318 | toolchain_library { |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 319 | name: "libgcov", |
Dan Willemsen | 2e47b34 | 2016-11-17 01:02:25 -0800 | [diff] [blame] | 320 | defaults: ["linux_bionic_supported"], |
Dan Willemsen | eba363e | 2015-07-08 18:11:14 -0700 | [diff] [blame] | 321 | arch: { |
| 322 | arm: { |
| 323 | instruction_set: "arm", |
| 324 | }, |
| 325 | }, |
Colin Cross | ba44287 | 2015-03-14 14:26:32 -0700 | [diff] [blame] | 326 | } |
Jiyong Park | d773eb3 | 2017-07-03 13:18:12 +0900 | [diff] [blame] | 327 | |
| 328 | kernel_headers { |
| 329 | name: "device_kernel_headers", |
| 330 | vendor: true, |
| 331 | } |
Dan Willemsen | c77a0b3 | 2017-09-18 23:19:12 -0700 | [diff] [blame^] | 332 | |
| 333 | cc_genrule { |
| 334 | name: "host_bionic_linker_asm", |
| 335 | host_supported: true, |
| 336 | device_supported: false, |
| 337 | target: { |
| 338 | linux_bionic: { |
| 339 | enabled: true, |
| 340 | }, |
| 341 | linux: { |
| 342 | enabled: false, |
| 343 | }, |
| 344 | darwin: { |
| 345 | enabled: false, |
| 346 | }, |
| 347 | }, |
| 348 | tools: ["extract_linker"], |
| 349 | cmd: "$(location) -s $(out) $(in)", |
| 350 | srcs: [":linker"], |
| 351 | out: ["linker.s"], |
| 352 | } |
| 353 | |
| 354 | cc_genrule { |
| 355 | name: "host_bionic_linker_script", |
| 356 | host_supported: true, |
| 357 | device_supported: false, |
| 358 | target: { |
| 359 | linux_bionic: { |
| 360 | enabled: true, |
| 361 | }, |
| 362 | linux: { |
| 363 | enabled: false, |
| 364 | }, |
| 365 | darwin: { |
| 366 | enabled: false, |
| 367 | }, |
| 368 | }, |
| 369 | tools: ["extract_linker"], |
| 370 | cmd: "$(location) -T $(out) $(in)", |
| 371 | srcs: [":linker"], |
| 372 | out: ["linker.script"], |
| 373 | } |