Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Side by Side Diff: BUILD.gn

Issue 2034633004: [gn] Add swarming support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gni/isolate.gni » ('j') | gni/isolate.gni » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//build/config/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 9
10 if (is_android) { 10 if (is_android) {
11 import("//build/config/android/rules.gni") 11 import("//build/config/android/rules.gni")
12 } 12 }
13 13
14 import("gni/v8.gni") 14 import("gni/v8.gni")
15 import("gni/isolate.gni")
15 import("//build_overrides/v8.gni") 16 import("//build_overrides/v8.gni")
16 17
17 import("snapshot_toolchain.gni") 18 import("snapshot_toolchain.gni")
18 19
19 declare_args() { 20 declare_args() {
20 # Enable the snapshot feature, for fast context creation.
21 # http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html
22 v8_use_snapshot = true
23
24 # Use external files for startup data blobs:
25 # the JS builtins sources and the start snapshot.
26 v8_use_external_startup_data = !is_ios
27
28 # Sets -DVERIFY_HEAP. 21 # Sets -DVERIFY_HEAP.
29 v8_enable_verify_heap = false 22 v8_enable_verify_heap = false
30 23
31 # Enable compiler warnings when using V8_DEPRECATED apis. 24 # Enable compiler warnings when using V8_DEPRECATED apis.
32 v8_deprecation_warnings = false 25 v8_deprecation_warnings = false
33 26
34 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. 27 # Enable compiler warnings when using V8_DEPRECATE_SOON apis.
35 v8_imminent_deprecation_warnings = false 28 v8_imminent_deprecation_warnings = false
36 29
37 # Sets -dENABLE_DISASSEMBLER. 30 # Sets -dENABLE_DISASSEMBLER.
(...skipping 2103 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 } 2134 }
2142 2135
2143 if (!is_component_build) { 2136 if (!is_component_build) {
2144 sources += [ "$target_gen_dir/d8-js.cc" ] 2137 sources += [ "$target_gen_dir/d8-js.cc" ]
2145 } 2138 }
2146 if (v8_enable_i18n_support) { 2139 if (v8_enable_i18n_support) {
2147 deps += [ "//third_party/icu" ] 2140 deps += [ "//third_party/icu" ]
2148 } 2141 }
2149 } 2142 }
2150 2143
2144 v8_isolate_run("d8") {
Michael Achenbach 2016/06/02 14:23:57 This ports https://cs.chromium.org/chromium/src/v8
2145 deps = [
2146 ":d8",
2147 ]
2148
2149 isolate = "//src/d8.isolate"
2150 }
2151
2151 if (want_v8_shell) { 2152 if (want_v8_shell) {
2152 executable("v8_shell") { 2153 executable("v8_shell") {
2153 sources = [ 2154 sources = [
2154 "samples/shell.cc", 2155 "samples/shell.cc",
2155 ] 2156 ]
2156 2157
2157 configs -= [ "//build/config/compiler:chromium_code" ] 2158 configs -= [ "//build/config/compiler:chromium_code" ]
2158 configs += [ "//build/config/compiler:no_chromium_code" ] 2159 configs += [ "//build/config/compiler:no_chromium_code" ]
2159 configs += [ 2160 configs += [
2160 # Note: don't use :internal_config here because this target will get 2161 # Note: don't use :internal_config here because this target will get
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
2230 sources = [ 2231 sources = [
2231 "test/fuzzer/wasm-asmjs.cc", 2232 "test/fuzzer/wasm-asmjs.cc",
2232 ] 2233 ]
2233 2234
2234 deps = [ 2235 deps = [
2235 ":fuzzer_support", 2236 ":fuzzer_support",
2236 ] 2237 ]
2237 2238
2238 configs = [ ":internal_config" ] 2239 configs = [ ":internal_config" ]
2239 } 2240 }
OLDNEW
« no previous file with comments | « no previous file | gni/isolate.gni » ('j') | gni/isolate.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698