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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 } | 7 } |
8 | 8 |
9 # TODO(sky): nuke this. Temporary while sorting out http://crbug.com/465456. | 9 # TODO(sky): nuke this. Temporary while sorting out http://crbug.com/465456. |
10 enable_correct_v8_arch = false | 10 enable_correct_v8_arch = false |
11 | 11 |
12 v8_use_external_startup_data = !is_ios | 12 v8_use_external_startup_data = !is_ios |
13 | 13 |
14 # Turns on compiler optimizations in V8 in Debug build. | 14 # Turns on compiler optimizations in V8 in Debug build. |
15 v8_optimized_debug = true | 15 v8_optimized_debug = true |
16 | 16 |
17 # V8 extras | 17 # V8 extras |
18 # Adding V8 extras files requires API owners review | 18 # Adding V8 extras files requires API owners review |
19 # Be sure to synchronize with build/common.gypi | 19 # Be sure to synchronize with build/common.gypi |
20 | 20 |
21 v8_extra_library_files = | 21 v8_extra_library_files = [ |
22 [ "../third_party/WebKit/Source/core/streams/ReadableStreamTempStub.js" ] | |
23 v8_experimental_extra_library_files = [ | |
24 "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js", | 22 "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js", |
25 "../third_party/WebKit/Source/core/streams/CountQueuingStrategy.js", | 23 "../third_party/WebKit/Source/core/streams/CountQueuingStrategy.js", |
26 "../third_party/WebKit/Source/core/streams/ReadableStream.js", | 24 "../third_party/WebKit/Source/core/streams/ReadableStream.js", |
27 ] | 25 ] |
| 26 v8_experimental_extra_library_files = [] |
28 | 27 |
29 if (is_android) { | 28 if (is_android) { |
30 v8_external_startup_data_renaming_sources = [ | 29 v8_external_startup_data_renaming_sources = [ |
31 "$root_out_dir/natives_blob.bin", | 30 "$root_out_dir/natives_blob.bin", |
32 "$root_out_dir/snapshot_blob.bin", | 31 "$root_out_dir/snapshot_blob.bin", |
33 ] | 32 ] |
34 if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") { | 33 if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") { |
35 v8_external_startup_data_renaming_destinations = [ | 34 v8_external_startup_data_renaming_destinations = [ |
36 "natives_blob_32.bin", | 35 "natives_blob_32.bin", |
37 "snapshot_blob_32.bin", | 36 "snapshot_blob_32.bin", |
38 ] | 37 ] |
39 } else { | 38 } else { |
40 v8_external_startup_data_renaming_destinations = [ | 39 v8_external_startup_data_renaming_destinations = [ |
41 "natives_blob_64.bin", | 40 "natives_blob_64.bin", |
42 "snapshot_blob_64.bin", | 41 "snapshot_blob_64.bin", |
43 ] | 42 ] |
44 } | 43 } |
45 } | 44 } |
OLD | NEW |