| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build_overrides/v8.gni") | 5 import("//build_overrides/v8.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("gin") { | 8 component("gin") { |
| 9 sources = [ | 9 sources = [ |
| 10 "arguments.cc", | 10 "arguments.cc", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 deps = [ | 85 deps = [ |
| 86 "//base/third_party/dynamic_annotations", | 86 "//base/third_party/dynamic_annotations", |
| 87 "//crypto", | 87 "//crypto", |
| 88 ] | 88 ] |
| 89 if (v8_use_external_startup_data && is_win) { | 89 if (v8_use_external_startup_data && is_win) { |
| 90 public_deps += [ ":gin_v8_snapshot_fingerprint" ] | 90 public_deps += [ ":gin_v8_snapshot_fingerprint" ] |
| 91 sources += [ "$target_gen_dir/v8_snapshot_fingerprint.cc" ] | 91 sources += [ "$target_gen_dir/v8_snapshot_fingerprint.cc" ] |
| 92 defines += [ "V8_VERIFY_EXTERNAL_STARTUP_DATA" ] | 92 defines += [ "V8_VERIFY_EXTERNAL_STARTUP_DATA" ] |
| 93 } | 93 } |
| 94 | 94 |
| 95 if (is_mac) { |
| 96 libs = [ "CoreFoundation.framework" ] |
| 97 } |
| 98 |
| 95 configs += [ "//v8:external_startup_data" ] | 99 configs += [ "//v8:external_startup_data" ] |
| 96 } | 100 } |
| 97 | 101 |
| 98 if (v8_use_external_startup_data) { | 102 if (v8_use_external_startup_data) { |
| 99 action("gin_v8_snapshot_fingerprint") { | 103 action("gin_v8_snapshot_fingerprint") { |
| 100 script = "//gin/fingerprint/fingerprint_v8_snapshot.py" | 104 script = "//gin/fingerprint/fingerprint_v8_snapshot.py" |
| 101 | 105 |
| 102 snapshot_file = "$root_out_dir/snapshot_blob.bin" | 106 snapshot_file = "$root_out_dir/snapshot_blob.bin" |
| 103 natives_file = "$root_out_dir/natives_blob.bin" | 107 natives_file = "$root_out_dir/natives_blob.bin" |
| 104 output_file = "$target_gen_dir/v8_snapshot_fingerprint.cc" | 108 output_file = "$target_gen_dir/v8_snapshot_fingerprint.cc" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 "shell/hello_world.js", | 204 "shell/hello_world.js", |
| 201 "test/file_unittests.js", | 205 "test/file_unittests.js", |
| 202 "test/gtest_unittests.js", | 206 "test/gtest_unittests.js", |
| 203 "../OWNERS", | 207 "../OWNERS", |
| 204 ] | 208 ] |
| 205 | 209 |
| 206 data_deps = [ | 210 data_deps = [ |
| 207 ":gin_shell", | 211 ":gin_shell", |
| 208 ] | 212 ] |
| 209 } | 213 } |
| OLD | NEW |