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_chromeos || is_win || is_ios) | 12 v8_use_external_startup_data = !(is_chromeos || is_win || is_ios) |
13 | 13 |
14 # V8 extras | 14 # V8 extras |
15 # Adding V8 extras files requires API owners review | 15 # Adding V8 extras files requires API owners review |
16 # Be sure to synchronize with build/common.gypi | 16 # Be sure to synchronize with build/common.gypi |
17 | 17 |
18 v8_extra_library_files = [] | 18 v8_extra_library_files = [] |
19 v8_experimental_extra_library_files = | 19 v8_experimental_extra_library_files = |
20 [ "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js" ] | 20 [ "../third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js" ] |
| 21 |
| 22 if (is_android) { |
| 23 v8_external_startup_data_renaming_sources = [ |
| 24 "$root_build_dir/natives_blob.bin", |
| 25 "$root_build_dir/snapshot_blob.bin", |
| 26 ] |
| 27 if (current_cpu == "arm" || current_cpu == "x86" || current_cpu == "mipsel") { |
| 28 v8_external_startup_data_renaming_destinations = [ |
| 29 "natives_blob_32.bin", |
| 30 "snapshot_blob_32.bin", |
| 31 ] |
| 32 } else { |
| 33 v8_external_startup_data_renaming_destinations = [ |
| 34 "natives_blob_64.bin", |
| 35 "snapshot_blob_64.bin", |
| 36 ] |
| 37 } |
| 38 } |
OLD | NEW |