OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 'gin_gen_path': '<(SHARED_INTERMEDIATE_DIR)/gin/', |
8 }, | 9 }, |
9 'targets': [ | 10 'targets': [ |
10 { | 11 { |
11 'target_name': 'gin', | 12 'target_name': 'gin', |
12 'type': '<(component)', | 13 'type': '<(component)', |
13 'dependencies': [ | 14 'dependencies': [ |
14 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
15 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
16 '../v8/tools/gyp/v8.gyp:v8', | 17 '../v8/tools/gyp/v8.gyp:v8', |
17 | |
18 ], | 18 ], |
19 'export_dependent_settings': [ | 19 'export_dependent_settings': [ |
20 '../base/base.gyp:base', | 20 '../base/base.gyp:base', |
21 '../v8/tools/gyp/v8.gyp:v8', | 21 '../v8/tools/gyp/v8.gyp:v8', |
22 ], | 22 ], |
23 'defines': [ | 23 'defines': [ |
24 'GIN_IMPLEMENTATION', | 24 'GIN_IMPLEMENTATION', |
25 ], | 25 ], |
26 'sources': [ | 26 'sources': [ |
27 'arguments.cc', | 27 'arguments.cc', |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 'run_microtasks_observer.h', | 71 'run_microtasks_observer.h', |
72 'shell_runner.cc', | 72 'shell_runner.cc', |
73 'shell_runner.h', | 73 'shell_runner.h', |
74 'try_catch.cc', | 74 'try_catch.cc', |
75 'try_catch.h', | 75 'try_catch.h', |
76 'v8_platform.cc', | 76 'v8_platform.cc', |
77 'wrappable.cc', | 77 'wrappable.cc', |
78 'wrappable.h', | 78 'wrappable.h', |
79 'wrapper_info.cc', | 79 'wrapper_info.cc', |
80 ], | 80 ], |
| 81 'conditions': [ |
| 82 ['v8_use_external_startup_data==1 and OS=="win"', { |
| 83 'dependencies': [ |
| 84 'gin_v8_snapshot_fingerprint', |
| 85 '../crypto/crypto.gyp:crypto', |
| 86 ], |
| 87 'sources': [ |
| 88 '<(gin_gen_path)/v8_snapshot_fingerprint.cc', |
| 89 ], |
| 90 'defines': [ |
| 91 'V8_VERIFY_EXTERNAL_STARTUP_DATA', |
| 92 ] |
| 93 }], |
| 94 ], |
| 95 }, |
| 96 { |
| 97 'target_name': 'gin_v8_snapshot_fingerprint', |
| 98 'type': 'none', |
| 99 'variables': { |
| 100 'snapshot_file': '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 101 'natives_file': '<(PRODUCT_DIR)/natives_blob.bin', |
| 102 'output_file': '<(gin_gen_path)/v8_snapshot_fingerprint.cc', |
| 103 }, |
| 104 'includes': [ '../gin/fingerprint/fingerprint_v8_snapshot.gypi' ], |
81 }, | 105 }, |
82 { | 106 { |
83 'target_name': 'gin_shell', | 107 'target_name': 'gin_shell', |
84 'type': 'executable', | 108 'type': 'executable', |
85 'dependencies': [ | 109 'dependencies': [ |
86 '../base/base.gyp:base', | 110 '../base/base.gyp:base', |
87 '../base/base.gyp:base_i18n', | 111 '../base/base.gyp:base_i18n', |
88 '../v8/tools/gyp/v8.gyp:v8', | 112 '../v8/tools/gyp/v8.gyp:v8', |
89 'gin', | 113 'gin', |
90 ], | 114 ], |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 'per_context_data_unittest.cc', | 162 'per_context_data_unittest.cc', |
139 'shell_runner_unittest.cc', | 163 'shell_runner_unittest.cc', |
140 'shell/gin_shell_unittest.cc', | 164 'shell/gin_shell_unittest.cc', |
141 'test/run_all_unittests.cc', | 165 'test/run_all_unittests.cc', |
142 'test/run_js_tests.cc', | 166 'test/run_js_tests.cc', |
143 'wrappable_unittest.cc', | 167 'wrappable_unittest.cc', |
144 ], | 168 ], |
145 }, | 169 }, |
146 ], | 170 ], |
147 } | 171 } |
OLD | NEW |