| 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/ByteLengthQueuingStrategy.js", | 22 "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js", |
| 23 "../third_party/WebKit/Source/core/streams/CountQueuingStrategy.js", | 23 "../third_party/WebKit/Source/core/streams/CountQueuingStrategy.js", |
| 24 "../third_party/WebKit/Source/core/streams/ReadableStream.js", | 24 "../third_party/WebKit/Source/core/streams/ReadableStream.js", |
| 25 "../third_party/WebKit/Source/core/page/scrolling/snap/SnapManager.js", |
| 25 ] | 26 ] |
| 26 v8_experimental_extra_library_files = [] | 27 v8_experimental_extra_library_files = [] |
| 27 | 28 |
| 28 if (is_android) { | 29 if (is_android) { |
| 29 v8_external_startup_data_renaming_sources = [ | 30 v8_external_startup_data_renaming_sources = [ |
| 30 "$root_out_dir/natives_blob.bin", | 31 "$root_out_dir/natives_blob.bin", |
| 31 "$root_out_dir/snapshot_blob.bin", | 32 "$root_out_dir/snapshot_blob.bin", |
| 32 ] | 33 ] |
| 33 if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") { | 34 if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") { |
| 34 v8_external_startup_data_renaming_destinations = [ | 35 v8_external_startup_data_renaming_destinations = [ |
| 35 "natives_blob_32.bin", | 36 "natives_blob_32.bin", |
| 36 "snapshot_blob_32.bin", | 37 "snapshot_blob_32.bin", |
| 37 ] | 38 ] |
| 38 } else { | 39 } else { |
| 39 v8_external_startup_data_renaming_destinations = [ | 40 v8_external_startup_data_renaming_destinations = [ |
| 40 "natives_blob_64.bin", | 41 "natives_blob_64.bin", |
| 41 "snapshot_blob_64.bin", | 42 "snapshot_blob_64.bin", |
| 42 ] | 43 ] |
| 43 } | 44 } |
| 44 } | 45 } |
| OLD | NEW |