OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 declare_args() { |
| 6 v8_use_external_startup_data = !is_ios |
| 7 } |
| 8 |
5 if (is_android) { | 9 if (is_android) { |
6 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
7 } | 11 } |
8 | 12 |
9 # TODO(sky): nuke this. Temporary while sorting out http://crbug.com/465456. | 13 # TODO(sky): nuke this. Temporary while sorting out http://crbug.com/465456. |
10 enable_correct_v8_arch = false | 14 enable_correct_v8_arch = false |
11 | 15 |
12 v8_use_external_startup_data = !is_ios | |
13 | |
14 # Turns on compiler optimizations in V8 in Debug build. | 16 # Turns on compiler optimizations in V8 in Debug build. |
15 v8_optimized_debug = true | 17 v8_optimized_debug = true |
16 | 18 |
17 # V8 extras | 19 # V8 extras |
18 # Adding V8 extras files requires API owners review | 20 # Adding V8 extras files requires API owners review |
19 # Be sure to synchronize with build/common.gypi | 21 # Be sure to synchronize with build/common.gypi |
20 | 22 |
21 v8_extra_library_files = | 23 v8_extra_library_files = |
22 [ "../third_party/WebKit/Source/core/streams/ReadableStreamTempStub.js" ] | 24 [ "../third_party/WebKit/Source/core/streams/ReadableStreamTempStub.js" ] |
23 v8_experimental_extra_library_files = [ | 25 v8_experimental_extra_library_files = [ |
(...skipping 12 matching lines...) Expand all Loading... |
36 "natives_blob_32.bin", | 38 "natives_blob_32.bin", |
37 "snapshot_blob_32.bin", | 39 "snapshot_blob_32.bin", |
38 ] | 40 ] |
39 } else { | 41 } else { |
40 v8_external_startup_data_renaming_destinations = [ | 42 v8_external_startup_data_renaming_destinations = [ |
41 "natives_blob_64.bin", | 43 "natives_blob_64.bin", |
42 "snapshot_blob_64.bin", | 44 "snapshot_blob_64.bin", |
43 ] | 45 ] |
44 } | 46 } |
45 } | 47 } |
OLD | NEW |