| 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 # Because standalone V8 builds are not supported, assume this is part of a | 5 # Because standalone V8 builds are not supported, assume this is part of a |
| 6 # Chromium build. | 6 # Chromium build. |
| 7 import("//build/module_args/v8.gni") | 7 import("//build/module_args/v8.gni") |
| 8 | 8 |
| 9 # TODO(jochen): These will need to be user-settable to support standalone V8 | 9 # TODO(jochen): These will need to be user-settable to support standalone V8 |
| 10 # builds. | 10 # builds. |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 # Actions | 157 # Actions |
| 158 # | 158 # |
| 159 | 159 |
| 160 action("js2c") { | 160 action("js2c") { |
| 161 visibility = [ ":*" ] # Only targets in this file can depend on this. | 161 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 162 | 162 |
| 163 script = "tools/js2c.py" | 163 script = "tools/js2c.py" |
| 164 | 164 |
| 165 # The script depends on this other script, this rule causes a rebuild if it | 165 # The script depends on this other script, this rule causes a rebuild if it |
| 166 # changes. | 166 # changes. |
| 167 source_prereqs = [ "tools/jsmin.py" ] | 167 inputs = [ "tools/jsmin.py" ] |
| 168 | 168 |
| 169 sources = [ | 169 sources = [ |
| 170 "src/runtime.js", | 170 "src/runtime.js", |
| 171 "src/v8natives.js", | 171 "src/v8natives.js", |
| 172 "src/symbol.js", | 172 "src/symbol.js", |
| 173 "src/array.js", | 173 "src/array.js", |
| 174 "src/string.js", | 174 "src/string.js", |
| 175 "src/uri.js", | 175 "src/uri.js", |
| 176 "src/third_party/fdlibm/fdlibm.js", | 176 "src/third_party/fdlibm/fdlibm.js", |
| 177 "src/math.js", | 177 "src/math.js", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 } | 217 } |
| 218 } | 218 } |
| 219 | 219 |
| 220 action("js2c_experimental") { | 220 action("js2c_experimental") { |
| 221 visibility = [ ":*" ] # Only targets in this file can depend on this. | 221 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 222 | 222 |
| 223 script = "tools/js2c.py" | 223 script = "tools/js2c.py" |
| 224 | 224 |
| 225 # The script depends on this other script, this rule causes a rebuild if it | 225 # The script depends on this other script, this rule causes a rebuild if it |
| 226 # changes. | 226 # changes. |
| 227 source_prereqs = [ "tools/jsmin.py" ] | 227 inputs = [ "tools/jsmin.py" ] |
| 228 | 228 |
| 229 sources = [ | 229 sources = [ |
| 230 "src/macros.py", | 230 "src/macros.py", |
| 231 "src/proxy.js", | 231 "src/proxy.js", |
| 232 "src/generator.js", | 232 "src/generator.js", |
| 233 "src/harmony-string.js", | 233 "src/harmony-string.js", |
| 234 "src/harmony-array.js", | 234 "src/harmony-array.js", |
| 235 "src/harmony-array-includes.js", | 235 "src/harmony-array-includes.js", |
| 236 "src/harmony-typedarray.js", | 236 "src/harmony-typedarray.js", |
| 237 "src/harmony-tostring.js", | 237 "src/harmony-tostring.js", |
| (...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1554 sources += [ | 1554 sources += [ |
| 1555 "src/d8-debug.cc", | 1555 "src/d8-debug.cc", |
| 1556 "$target_gen_dir/d8-js.cc", | 1556 "$target_gen_dir/d8-js.cc", |
| 1557 ] | 1557 ] |
| 1558 } | 1558 } |
| 1559 if (v8_enable_i18n_support) { | 1559 if (v8_enable_i18n_support) { |
| 1560 deps += [ "//third_party/icu" ] | 1560 deps += [ "//third_party/icu" ] |
| 1561 } | 1561 } |
| 1562 } | 1562 } |
| 1563 } | 1563 } |
| OLD | NEW |