Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Side by Side Diff: gin/BUILD.gn

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698