OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'includes': [ | 6 'includes': [ |
7 '../third_party/mojo/mojo_variables.gypi', | 7 'mojo_variables.gypi', |
8 ], | 8 ], |
9 'target_defaults' : { | 9 'target_defaults' : { |
10 'include_dirs': [ | 10 'include_dirs': [ |
11 '..', | 11 '..', |
12 ], | 12 ], |
13 'direct_dependent_settings': { | 13 'direct_dependent_settings': { |
14 'include_dirs': [ | 14 'include_dirs': [ |
15 '..', | 15 '..', |
16 ], | 16 ], |
17 }, | 17 }, |
18 }, | 18 }, |
19 'targets': [ | 19 'targets': [ |
20 { | 20 { |
21 # GN version: //mojo/edk/system | 21 # GN version: //mojo/edk/system |
22 'target_name': 'mojo_system_impl2', | 22 'target_name': 'mojo_system_impl', |
23 'type': 'static_library', | 23 'type': '<(component)', |
24 # TODO(use_chrome_edk): this should be a component to match third_party, | |
25 # but since third_party includes it, we either make it a static library | |
26 # or we have to change the export macros to be different than third_party. | |
27 #'type': '<(component)', | |
28 'dependencies': [ | 24 'dependencies': [ |
29 '../base/base.gyp:base', | 25 '../base/base.gyp:base', |
30 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 26 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
31 '../crypto/crypto.gyp:crypto', | 27 '../crypto/crypto.gyp:crypto', |
32 '../third_party/mojo/mojo_public.gyp:mojo_system_headers', | 28 'mojo_public.gyp:mojo_system_headers', |
33 ], | 29 ], |
34 'defines': [ | 30 'defines': [ |
35 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | 31 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
36 'MOJO_SYSTEM_IMPLEMENTATION', | 32 'MOJO_SYSTEM_IMPLEMENTATION', |
37 'MOJO_USE_SYSTEM_IMPL', | 33 'MOJO_USE_SYSTEM_IMPL', |
38 ], | 34 ], |
39 'sources': [ | 35 'sources': [ |
40 'edk/embedder/configuration.h', | 36 'edk/embedder/configuration.h', |
41 'edk/embedder/embedder.cc', | 37 'edk/embedder/embedder.cc', |
42 'edk/embedder/embedder.h', | 38 'edk/embedder/embedder.h', |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 }], | 143 }], |
148 ['OS=="win"', { | 144 ['OS=="win"', { |
149 # Structure was padded due to __declspec(align()), which is | 145 # Structure was padded due to __declspec(align()), which is |
150 # uninteresting. | 146 # uninteresting. |
151 'msvs_disabled_warnings': [ 4324 ], | 147 'msvs_disabled_warnings': [ 4324 ], |
152 }], | 148 }], |
153 ], | 149 ], |
154 }, | 150 }, |
155 { | 151 { |
156 # GN version: //mojo/edk/js | 152 # GN version: //mojo/edk/js |
157 # TODO(use_chrome_edk): remove "2" | 153 'target_name': 'mojo_js_lib', |
158 'target_name': 'mojo_js_lib2', | |
159 'type': 'static_library', | 154 'type': 'static_library', |
160 'dependencies': [ | 155 'dependencies': [ |
161 '../base/base.gyp:base', | 156 '../base/base.gyp:base', |
162 '../gin/gin.gyp:gin', | 157 '../gin/gin.gyp:gin', |
163 '../v8/tools/gyp/v8.gyp:v8', | 158 '../v8/tools/gyp/v8.gyp:v8', |
164 ], | 159 ], |
165 'export_dependent_settings': [ | 160 'export_dependent_settings': [ |
166 '../base/base.gyp:base', | 161 '../base/base.gyp:base', |
167 '../gin/gin.gyp:gin', | 162 '../gin/gin.gyp:gin', |
168 ], | 163 ], |
(...skipping 11 matching lines...) Expand all Loading... |
180 'edk/js/support.cc', | 175 'edk/js/support.cc', |
181 'edk/js/support.h', | 176 'edk/js/support.h', |
182 'edk/js/threading.cc', | 177 'edk/js/threading.cc', |
183 'edk/js/threading.h', | 178 'edk/js/threading.h', |
184 'edk/js/waiting_callback.cc', | 179 'edk/js/waiting_callback.cc', |
185 'edk/js/waiting_callback.h', | 180 'edk/js/waiting_callback.h', |
186 ], | 181 ], |
187 }, | 182 }, |
188 { | 183 { |
189 # GN version: //mojo/edk/test:test_support_impl | 184 # GN version: //mojo/edk/test:test_support_impl |
190 # TODO(use_chrome_edk): remove "2" | 185 'target_name': 'mojo_test_support_impl', |
191 'target_name': 'mojo_test_support_impl2', | |
192 'type': 'static_library', | 186 'type': 'static_library', |
193 'dependencies': [ | 187 'dependencies': [ |
194 '../base/base.gyp:base', | 188 '../base/base.gyp:base', |
195 ], | 189 ], |
196 'sources': [ | 190 'sources': [ |
197 'edk/test/test_support_impl.cc', | 191 'edk/test/test_support_impl.cc', |
198 'edk/test/test_support_impl.h', | 192 'edk/test/test_support_impl.h', |
199 ], | 193 ], |
200 }, | 194 }, |
201 { | 195 { |
202 # GN version: //mojo/edk/test:test_support | 196 # GN version: //mojo/edk/test:test_support |
203 'target_name': 'mojo_common_test_support2', | 197 'target_name': 'mojo_common_test_support', |
204 'type': 'static_library', | 198 'type': 'static_library', |
205 'dependencies': [ | 199 'dependencies': [ |
206 '../base/base.gyp:base', | 200 '../base/base.gyp:base', |
207 '../base/base.gyp:test_support_base', | 201 '../base/base.gyp:test_support_base', |
208 '../testing/gtest.gyp:gtest', | 202 '../testing/gtest.gyp:gtest', |
209 'mojo_system_impl2', | 203 'mojo_system_impl', |
210 ], | 204 ], |
211 'sources': [ | 205 'sources': [ |
212 'edk/test/mojo_test_base.cc', | 206 'edk/test/mojo_test_base.cc', |
213 'edk/test/mojo_test_base.h', | 207 'edk/test/mojo_test_base.h', |
214 'edk/test/multiprocess_test_helper.cc', | 208 'edk/test/multiprocess_test_helper.cc', |
215 'edk/test/multiprocess_test_helper.h', | 209 'edk/test/multiprocess_test_helper.h', |
216 'edk/test/scoped_ipc_support.cc', | 210 'edk/test/scoped_ipc_support.cc', |
217 'edk/test/scoped_ipc_support.h', | 211 'edk/test/scoped_ipc_support.h', |
218 'edk/test/test_utils.h', | 212 'edk/test/test_utils.h', |
219 'edk/test/test_utils_posix.cc', | 213 'edk/test/test_utils_posix.cc', |
220 'edk/test/test_utils_win.cc', | 214 'edk/test/test_utils_win.cc', |
221 ], | 215 ], |
222 'conditions': [ | 216 'conditions': [ |
223 ['OS=="ios"', { | 217 ['OS=="ios"', { |
224 'sources!': [ | 218 'sources!': [ |
225 'edk/test/multiprocess_test_helper.cc', | 219 'edk/test/multiprocess_test_helper.cc', |
226 ], | 220 ], |
227 }], | 221 }], |
228 ], | 222 ], |
229 }, | 223 }, |
230 { | 224 { |
231 # GN version: //mojo/edk/test:run_all_unittests | 225 # GN version: //mojo/edk/test:run_all_unittests |
232 # TODO(use_chrome_edk): remove "2" | 226 'target_name': 'mojo_run_all_unittests', |
233 'target_name': 'mojo_run_all_unittests2', | |
234 'type': 'static_library', | 227 'type': 'static_library', |
235 'dependencies': [ | 228 'dependencies': [ |
236 '../base/base.gyp:base', | 229 '../base/base.gyp:base', |
237 '../base/base.gyp:test_support_base', | 230 '../base/base.gyp:test_support_base', |
238 '../testing/gtest.gyp:gtest', | 231 '../testing/gtest.gyp:gtest', |
239 '../third_party/mojo/mojo_public.gyp:mojo_public_test_support', | 232 'mojo_common_test_support', |
240 'mojo_system_impl2', | 233 'mojo_public.gyp:mojo_public_test_support', |
241 'mojo_test_support_impl2', | 234 'mojo_system_impl', |
| 235 'mojo_test_support_impl', |
242 ], | 236 ], |
243 'sources': [ | 237 'sources': [ |
244 'edk/test/run_all_unittests.cc', | 238 'edk/test/run_all_unittests.cc', |
245 ], | 239 ], |
246 }, | 240 }, |
| 241 { |
| 242 # GN version: //mojo/edk/test:run_all_perftests |
| 243 'target_name': 'mojo_run_all_perftests', |
| 244 'type': 'static_library', |
| 245 'dependencies': [ |
| 246 '../base/base.gyp:base', |
| 247 '../base/base.gyp:test_support_base', |
| 248 '../testing/gtest.gyp:gtest', |
| 249 'mojo_common_test_support', |
| 250 'mojo_public.gyp:mojo_public_test_support', |
| 251 'mojo_system_impl', |
| 252 'mojo_test_support_impl', |
| 253 ], |
| 254 'sources': [ |
| 255 'edk/test/run_all_perftests.cc', |
| 256 ], |
| 257 }, |
247 ], | 258 ], |
248 } | 259 } |
OLD | NEW |