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 'gin_gen_path': '<(SHARED_INTERMEDIATE_DIR)/gin/', |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'gin', | 12 'target_name': 'gin', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
17 '../v8/tools/gyp/v8.gyp:v8', | 17 '../v8/src/v8.gyp:v8', |
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/src/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', |
28 'arguments.h', | 28 'arguments.h', |
29 'array_buffer.cc', | 29 'array_buffer.cc', |
30 'array_buffer.h', | 30 'array_buffer.h', |
31 'context_holder.cc', | 31 'context_holder.cc', |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 'output_file': '<(gin_gen_path)/v8_snapshot_fingerprint.cc', | 108 'output_file': '<(gin_gen_path)/v8_snapshot_fingerprint.cc', |
109 }, | 109 }, |
110 'includes': [ '../gin/fingerprint/fingerprint_v8_snapshot.gypi' ], | 110 'includes': [ '../gin/fingerprint/fingerprint_v8_snapshot.gypi' ], |
111 }, | 111 }, |
112 { | 112 { |
113 'target_name': 'gin_shell', | 113 'target_name': 'gin_shell', |
114 'type': 'executable', | 114 'type': 'executable', |
115 'dependencies': [ | 115 'dependencies': [ |
116 '../base/base.gyp:base', | 116 '../base/base.gyp:base', |
117 '../base/base.gyp:base_i18n', | 117 '../base/base.gyp:base_i18n', |
118 '../v8/tools/gyp/v8.gyp:v8', | 118 '../v8/src/v8.gyp:v8', |
119 'gin', | 119 'gin', |
120 ], | 120 ], |
121 'sources': [ | 121 'sources': [ |
122 'shell/gin_main.cc', | 122 'shell/gin_main.cc', |
123 ], | 123 ], |
124 'msvs_settings': { | 124 'msvs_settings': { |
125 'VCLinkerTool': { | 125 'VCLinkerTool': { |
126 'SubSystem': '1', # /SUBSYSTEM:CONSOLE | 126 'SubSystem': '1', # /SUBSYSTEM:CONSOLE |
127 }, | 127 }, |
128 }, | 128 }, |
129 }, | 129 }, |
130 { | 130 { |
131 'target_name': 'gin_test', | 131 'target_name': 'gin_test', |
132 'type': 'static_library', | 132 'type': 'static_library', |
133 'dependencies': [ | 133 'dependencies': [ |
134 '../testing/gtest.gyp:gtest', | 134 '../testing/gtest.gyp:gtest', |
135 '../v8/tools/gyp/v8.gyp:v8', | 135 '../v8/src/v8.gyp:v8', |
136 'gin', | 136 'gin', |
137 ], | 137 ], |
138 'export_dependent_settings': [ | 138 'export_dependent_settings': [ |
139 '../testing/gtest.gyp:gtest', | 139 '../testing/gtest.gyp:gtest', |
140 'gin', | 140 'gin', |
141 ], | 141 ], |
142 'sources': [ | 142 'sources': [ |
143 'test/file.cc', | 143 'test/file.cc', |
144 'test/file.h', | 144 'test/file.h', |
145 'test/file_runner.cc', | 145 'test/file_runner.cc', |
146 'test/file_runner.h', | 146 'test/file_runner.h', |
147 'test/gc.cc', | 147 'test/gc.cc', |
148 'test/gc.h', | 148 'test/gc.h', |
149 'test/gtest.cc', | 149 'test/gtest.cc', |
150 'test/gtest.h', | 150 'test/gtest.h', |
151 'test/v8_test.cc', | 151 'test/v8_test.cc', |
152 'test/v8_test.h', | 152 'test/v8_test.h', |
153 ], | 153 ], |
154 }, | 154 }, |
155 { | 155 { |
156 'target_name': 'gin_unittests', | 156 'target_name': 'gin_unittests', |
157 'type': 'executable', | 157 'type': 'executable', |
158 'dependencies': [ | 158 'dependencies': [ |
159 '../base/base.gyp:test_support_base', | 159 '../base/base.gyp:test_support_base', |
160 '../v8/tools/gyp/v8.gyp:v8', | 160 '../v8/src/v8.gyp:v8', |
161 'gin_shell', | 161 'gin_shell', |
162 'gin_test', | 162 'gin_test', |
163 ], | 163 ], |
164 'sources': [ | 164 'sources': [ |
165 'converter_unittest.cc', | 165 'converter_unittest.cc', |
166 'interceptor_unittest.cc', | 166 'interceptor_unittest.cc', |
167 'modules/module_registry_unittest.cc', | 167 'modules/module_registry_unittest.cc', |
168 'modules/timer_unittest.cc', | 168 'modules/timer_unittest.cc', |
169 'per_context_data_unittest.cc', | 169 'per_context_data_unittest.cc', |
170 'shell_runner_unittest.cc', | 170 'shell_runner_unittest.cc', |
(...skipping 18 matching lines...) Expand all Loading... |
189 '../build/isolate.gypi', | 189 '../build/isolate.gypi', |
190 ], | 190 ], |
191 'sources': [ | 191 'sources': [ |
192 'gin_unittests.isolate', | 192 'gin_unittests.isolate', |
193 ], | 193 ], |
194 }, | 194 }, |
195 ], | 195 ], |
196 }], | 196 }], |
197 ], | 197 ], |
198 } | 198 } |
OLD | NEW |