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 # TODO: Set v8_use_external_startup_data to true on Windows and iOS to match | 12 # TODO: Set v8_use_external_startup_data to true on Windows and iOS to match |
13 # GYP. | 13 # GYP. |
14 # Windows - http://crbug.com/545641 | 14 # Windows - http://crbug.com/545641 |
15 # iOS - http://crbug.com/545676 | 15 # iOS - http://crbug.com/545676 |
16 v8_use_external_startup_data = !(is_win || is_ios) | 16 v8_use_external_startup_data = !(is_win || is_ios) |
17 | 17 |
18 # V8 extras | 18 # V8 extras |
19 # Adding V8 extras files requires API owners review | 19 # Adding V8 extras files requires API owners review |
20 # Be sure to synchronize with build/common.gypi | 20 # Be sure to synchronize with build/common.gypi |
21 | 21 |
22 v8_extra_library_files = [] | 22 v8_extra_library_files = |
23 v8_experimental_extra_library_files = | 23 [ "../third_party/WebKit/Source/core/streams/ReadableStreamTempStub.js" ] |
24 [ "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js" ] | 24 v8_experimental_extra_library_files = [ |
| 25 "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js", |
| 26 "../third_party/WebKit/Source/core/streams/CountQueuingStrategy.js", |
| 27 "../third_party/WebKit/Source/core/streams/ReadableStream.js", |
| 28 ] |
25 | 29 |
26 if (is_android) { | 30 if (is_android) { |
27 v8_external_startup_data_renaming_sources = [ | 31 v8_external_startup_data_renaming_sources = [ |
28 "$root_out_dir/natives_blob.bin", | 32 "$root_out_dir/natives_blob.bin", |
29 "$root_out_dir/snapshot_blob.bin", | 33 "$root_out_dir/snapshot_blob.bin", |
30 ] | 34 ] |
31 if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") { | 35 if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") { |
32 v8_external_startup_data_renaming_destinations = [ | 36 v8_external_startup_data_renaming_destinations = [ |
33 "natives_blob_32.bin", | 37 "natives_blob_32.bin", |
34 "snapshot_blob_32.bin", | 38 "snapshot_blob_32.bin", |
35 ] | 39 ] |
36 } else { | 40 } else { |
37 v8_external_startup_data_renaming_destinations = [ | 41 v8_external_startup_data_renaming_destinations = [ |
38 "natives_blob_64.bin", | 42 "natives_blob_64.bin", |
39 "snapshot_blob_64.bin", | 43 "snapshot_blob_64.bin", |
40 ] | 44 ] |
41 } | 45 } |
42 } | 46 } |
OLD | NEW |