Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
| 7 import("//build/config/mips.gni") | 7 import("//build/config/mips.gni") |
| 8 | 8 |
| 9 # Because standalone V8 builds are not supported, assume this is part of a | 9 # Because standalone V8 builds are not supported, assume this is part of a |
| 10 # Chromium build. | 10 # Chromium build. |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 189 | 189 |
| 190 ############################################################################### | 190 ############################################################################### |
| 191 # Actions | 191 # Actions |
| 192 # | 192 # |
| 193 | 193 |
| 194 action("js2c") { | 194 action("js2c") { |
| 195 visibility = [ ":*" ] # Only targets in this file can depend on this. | 195 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 196 | 196 |
| 197 script = "tools/js2c.py" | 197 script = "tools/js2c.py" |
| 198 | 198 |
| 199 # The script depends on this other script, this rule causes a rebuild if it | 199 # The script depends on these other files, this rule causes a rebuild if any |
| 200 # changes. | 200 # of them changes. |
| 201 inputs = [ "tools/jsmin.py" ] | 201 inputs = [ |
| 202 "tools/jsmin.py", | |
| 203 "src/messages.h", | |
| 204 ] | |
| 202 | 205 |
| 203 sources = [ | 206 sources = [ |
| 204 "src/macros.py", | 207 "src/macros.py", |
| 205 "src/messages.h", | 208 "src/messages.h", |
| 206 "src/runtime.js", | 209 "src/runtime.js", |
| 207 "src/prologue.js", | 210 "src/prologue.js", |
| 208 "src/v8natives.js", | 211 "src/v8natives.js", |
| 209 "src/symbol.js", | 212 "src/symbol.js", |
| 210 "src/array.js", | 213 "src/array.js", |
| 211 "src/string.js", | 214 "src/string.js", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 253 rebase_path("$target_gen_dir/libraries.bin", root_build_dir), | 256 rebase_path("$target_gen_dir/libraries.bin", root_build_dir), |
| 254 ] | 257 ] |
| 255 } | 258 } |
| 256 } | 259 } |
| 257 | 260 |
| 258 action("js2c_experimental") { | 261 action("js2c_experimental") { |
| 259 visibility = [ ":*" ] # Only targets in this file can depend on this. | 262 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 260 | 263 |
| 261 script = "tools/js2c.py" | 264 script = "tools/js2c.py" |
| 262 | 265 |
| 263 # The script depends on this other script, this rule causes a rebuild if it | 266 # The script depends on these other files, this rule causes a rebuild if any |
| 264 # changes. | 267 # of them changes. |
| 265 inputs = [ "tools/jsmin.py" ] | 268 inputs = [ |
| 269 "tools/jsmin.py", | |
| 270 "src/messages.h", | |
| 271 ] | |
| 266 | 272 |
| 267 sources = [ | 273 sources = [ |
| 268 "src/macros.py", | 274 "src/macros.py", |
| 269 "src/messages.h", | 275 "src/messages.h", |
| 270 "src/proxy.js", | 276 "src/proxy.js", |
| 271 "src/generator.js", | 277 "src/generator.js", |
| 272 "src/harmony-atomics.js", | 278 "src/harmony-atomics.js", |
| 273 "src/harmony-array.js", | 279 "src/harmony-array.js", |
| 274 "src/harmony-array-includes.js", | 280 "src/harmony-array-includes.js", |
| 275 "src/harmony-typedarray.js", | 281 "src/harmony-typedarray.js", |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 298 rebase_path("$target_gen_dir/libraries_experimental.bin", root_build_dir), | 304 rebase_path("$target_gen_dir/libraries_experimental.bin", root_build_dir), |
| 299 ] | 305 ] |
| 300 } | 306 } |
| 301 } | 307 } |
| 302 | 308 |
| 303 action("js2c_extras") { | 309 action("js2c_extras") { |
| 304 visibility = [ ":*" ] # Only targets in this file can depend on this. | 310 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 305 | 311 |
| 306 script = "tools/js2c.py" | 312 script = "tools/js2c.py" |
| 307 | 313 |
| 308 # The script depends on this other script, this rule causes a rebuild if it | 314 # The script depends on these other files, this rule causes a rebuild if any |
| 309 # changes. | 315 # of them changes. |
| 310 inputs = [ "tools/jsmin.py" ] | 316 inputs = [ |
| 317 "tools/jsmin.py", | |
| 318 "src/messages.h", | |
|
arv (Not doing code reviews)
2015/06/09 16:16:22
I don't think js2c_extras depends on this but I'm
domenic
2015/06/09 16:24:56
Yeah I checked and it doesn't. BuildFilterChain vs
| |
| 319 ] | |
| 311 | 320 |
| 312 sources = v8_extra_library_files | 321 sources = v8_extra_library_files |
| 313 | 322 |
| 314 outputs = [ | 323 outputs = [ |
| 315 "$target_gen_dir/extras-libraries.cc", | 324 "$target_gen_dir/extras-libraries.cc", |
| 316 ] | 325 ] |
| 317 | 326 |
| 318 args = [ | 327 args = [ |
| 319 rebase_path("$target_gen_dir/extras-libraries.cc", | 328 rebase_path("$target_gen_dir/extras-libraries.cc", |
| 320 root_build_dir), | 329 root_build_dir), |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 331 } | 340 } |
| 332 | 341 |
| 333 action("d8_js2c") { | 342 action("d8_js2c") { |
| 334 visibility = [ ":*" ] # Only targets in this file can depend on this. | 343 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 335 | 344 |
| 336 script = "tools/js2c.py" | 345 script = "tools/js2c.py" |
| 337 | 346 |
| 338 inputs = [ | 347 inputs = [ |
| 339 "src/d8.js", | 348 "src/d8.js", |
| 340 "src/macros.py", | 349 "src/macros.py", |
| 350 "src/messages.h', | |
| 341 ] | 351 ] |
| 342 | 352 |
| 343 outputs = [ | 353 outputs = [ |
| 344 "$target_gen_dir/d8-js.cc", | 354 "$target_gen_dir/d8-js.cc", |
| 345 ] | 355 ] |
| 346 | 356 |
| 347 args = rebase_path(outputs, root_build_dir) + [ "D8" ] + | 357 args = rebase_path(outputs, root_build_dir) + [ "D8" ] + |
| 348 rebase_path(inputs, root_build_dir) | 358 rebase_path(inputs, root_build_dir) |
| 349 } | 359 } |
| 350 | 360 |
| (...skipping 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1678 sources += [ | 1688 sources += [ |
| 1679 "src/d8-debug.cc", | 1689 "src/d8-debug.cc", |
| 1680 "$target_gen_dir/d8-js.cc", | 1690 "$target_gen_dir/d8-js.cc", |
| 1681 ] | 1691 ] |
| 1682 } | 1692 } |
| 1683 if (v8_enable_i18n_support) { | 1693 if (v8_enable_i18n_support) { |
| 1684 deps += [ "//third_party/icu" ] | 1694 deps += [ "//third_party/icu" ] |
| 1685 } | 1695 } |
| 1686 } | 1696 } |
| 1687 } | 1697 } |
| OLD | NEW |