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 # iOS - http://crbug.com/545676 | 14 # iOS - http://crbug.com/545676 |
15 v8_use_external_startup_data = !is_ios | 15 v8_use_external_startup_data = !is_ios |
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" ] | 22 [ "../third_party/WebKit/Source/core/streams/ReadableStreamTempStub.js" ] |
23 v8_experimental_extra_library_files = [ | 23 v8_experimental_extra_library_files = [ |
24 "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js", | 24 "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js", |
25 "../third_party/WebKit/Source/core/streams/CountQueuingStrategy.js", | 25 "../third_party/WebKit/Source/core/streams/CountQueuingStrategy.js", |
26 "../third_party/WebKit/Source/core/streams/ReadableStream.js", | 26 "../third_party/WebKit/Source/core/streams/ReadableStream.js", |
| 27 "../third_party/WebKit/Source/modules/geometry/DOMPointReadOnly.js", |
| 28 "../third_party/WebKit/Source/modules/geometry/DOMPoint.js", |
27 ] | 29 ] |
28 | 30 |
29 if (is_android) { | 31 if (is_android) { |
30 v8_external_startup_data_renaming_sources = [ | 32 v8_external_startup_data_renaming_sources = [ |
31 "$root_out_dir/natives_blob.bin", | 33 "$root_out_dir/natives_blob.bin", |
32 "$root_out_dir/snapshot_blob.bin", | 34 "$root_out_dir/snapshot_blob.bin", |
33 ] | 35 ] |
34 if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") { | 36 if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") { |
35 v8_external_startup_data_renaming_destinations = [ | 37 v8_external_startup_data_renaming_destinations = [ |
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 |