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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 defines += [ "V8_VERIFY_EXTERNAL_STARTUP_DATA" ] | 90 defines += [ "V8_VERIFY_EXTERNAL_STARTUP_DATA" ] |
91 } | 91 } |
92 | 92 |
93 configs += [ "//v8:external_startup_data" ] | 93 configs += [ "//v8:external_startup_data" ] |
94 } | 94 } |
95 | 95 |
96 if (v8_use_external_startup_data) { | 96 if (v8_use_external_startup_data) { |
97 action("gin_v8_snapshot_fingerprint") { | 97 action("gin_v8_snapshot_fingerprint") { |
98 script = "//gin/fingerprint/fingerprint_v8_snapshot.py" | 98 script = "//gin/fingerprint/fingerprint_v8_snapshot.py" |
99 | 99 |
100 snapshot_file = "$root_build_dir/snapshot_blob.bin" | 100 snapshot_file = "$root_out_dir/snapshot_blob.bin" |
101 natives_file = "$root_build_dir/natives_blob.bin" | 101 natives_file = "$root_out_dir/natives_blob.bin" |
102 output_file = "$target_gen_dir/v8_snapshot_fingerprint.cc" | 102 output_file = "$target_gen_dir/v8_snapshot_fingerprint.cc" |
103 | 103 |
104 args = [ | 104 args = [ |
105 "--snapshot_file", | 105 "--snapshot_file", |
106 rebase_path(snapshot_file, root_build_dir), | 106 rebase_path(snapshot_file, root_build_dir), |
107 "--natives_file", | 107 "--natives_file", |
108 rebase_path(natives_file, root_build_dir), | 108 rebase_path(natives_file, root_build_dir), |
109 "--output_file", | 109 "--output_file", |
110 rebase_path(output_file, root_build_dir), | 110 rebase_path(output_file, root_build_dir), |
111 ] | 111 ] |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 "v8_isolate_memory_dump_provider_unittest.cc", | 175 "v8_isolate_memory_dump_provider_unittest.cc", |
176 "wrappable_unittest.cc", | 176 "wrappable_unittest.cc", |
177 ] | 177 ] |
178 | 178 |
179 deps = [ | 179 deps = [ |
180 ":gin_test", | 180 ":gin_test", |
181 "//base/test:test_support", | 181 "//base/test:test_support", |
182 "//v8", | 182 "//v8", |
183 ] | 183 ] |
184 } | 184 } |
OLD | NEW |