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 'variables': { |
7 '../third_party/mojo/mojo_variables.gypi', | 7 'chromium_code': 1, |
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 'target_name': 'mojo_system_impl', |
22 'target_name': 'mojo_system_impl2', | 22 'type': '<(component)', |
23 'type': 'static_library', | |
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': [ | 23 'dependencies': [ |
29 '../base/base.gyp:base', | 24 '../base/base.gyp:base', |
30 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 25 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
31 ], | 26 ], |
32 'defines': [ | 27 'defines': [ |
33 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | 28 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
34 'MOJO_SYSTEM_IMPLEMENTATION', | 29 'MOJO_SYSTEM_IMPLEMENTATION', |
35 'MOJO_USE_SYSTEM_IMPL', | 30 'MOJO_USE_SYSTEM_IMPL', |
36 ], | 31 ], |
37 'sources': [ | 32 'sources': [ |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 }], | 131 }], |
137 ['OS=="win"', { | 132 ['OS=="win"', { |
138 # Structure was padded due to __declspec(align()), which is | 133 # Structure was padded due to __declspec(align()), which is |
139 # uninteresting. | 134 # uninteresting. |
140 'msvs_disabled_warnings': [ 4324 ], | 135 'msvs_disabled_warnings': [ 4324 ], |
141 }], | 136 }], |
142 ], | 137 ], |
143 }, | 138 }, |
144 { | 139 { |
145 # GN version: //mojo/edk/js | 140 # GN version: //mojo/edk/js |
146 # TODO(use_chrome_edk): remove "2" | 141 'target_name': 'mojo_js_lib', |
147 'target_name': 'mojo_js_lib2', | |
148 'type': 'static_library', | 142 'type': 'static_library', |
149 'dependencies': [ | 143 'dependencies': [ |
150 '../base/base.gyp:base', | 144 '../base/base.gyp:base', |
151 '../gin/gin.gyp:gin', | 145 '../gin/gin.gyp:gin', |
152 '../v8/tools/gyp/v8.gyp:v8', | 146 '../v8/tools/gyp/v8.gyp:v8', |
153 ], | 147 ], |
154 'export_dependent_settings': [ | 148 'export_dependent_settings': [ |
155 '../base/base.gyp:base', | 149 '../base/base.gyp:base', |
156 '../gin/gin.gyp:gin', | 150 '../gin/gin.gyp:gin', |
157 ], | 151 ], |
(...skipping 11 matching lines...) Expand all Loading... |
169 'edk/js/support.cc', | 163 'edk/js/support.cc', |
170 'edk/js/support.h', | 164 'edk/js/support.h', |
171 'edk/js/threading.cc', | 165 'edk/js/threading.cc', |
172 'edk/js/threading.h', | 166 'edk/js/threading.h', |
173 'edk/js/waiting_callback.cc', | 167 'edk/js/waiting_callback.cc', |
174 'edk/js/waiting_callback.h', | 168 'edk/js/waiting_callback.h', |
175 ], | 169 ], |
176 }, | 170 }, |
177 { | 171 { |
178 # GN version: //mojo/edk/test:test_support_impl | 172 # GN version: //mojo/edk/test:test_support_impl |
179 # TODO(use_chrome_edk): remove "2" | 173 'target_name': 'mojo_test_support_impl', |
180 'target_name': 'mojo_test_support_impl2', | |
181 'type': 'static_library', | 174 'type': 'static_library', |
182 'dependencies': [ | 175 'dependencies': [ |
183 '../base/base.gyp:base', | 176 '../base/base.gyp:base', |
184 ], | 177 ], |
185 'sources': [ | 178 'sources': [ |
186 'edk/test/test_support_impl.cc', | 179 'edk/test/test_support_impl.cc', |
187 'edk/test/test_support_impl.h', | 180 'edk/test/test_support_impl.h', |
188 ], | 181 ], |
189 }, | 182 }, |
190 { | 183 { |
191 # GN version: //mojo/edk/test:test_support | 184 # GN version: //mojo/edk/test:test_support |
192 'target_name': 'mojo_common_test_support2', | 185 'target_name': 'mojo_common_test_support', |
193 'type': 'static_library', | 186 'type': 'static_library', |
194 'dependencies': [ | 187 'dependencies': [ |
195 '../base/base.gyp:base', | 188 '../base/base.gyp:base', |
196 '../base/base.gyp:test_support_base', | 189 '../base/base.gyp:test_support_base', |
197 '../testing/gtest.gyp:gtest', | 190 '../testing/gtest.gyp:gtest', |
198 'mojo_system_impl2', | 191 'mojo_system_impl', |
199 ], | 192 ], |
200 'sources': [ | 193 'sources': [ |
201 'edk/test/multiprocess_test_helper.cc', | 194 'edk/test/multiprocess_test_helper.cc', |
202 'edk/test/multiprocess_test_helper.h', | 195 'edk/test/multiprocess_test_helper.h', |
203 'edk/test/scoped_ipc_support.cc', | 196 'edk/test/scoped_ipc_support.cc', |
204 'edk/test/scoped_ipc_support.h', | 197 'edk/test/scoped_ipc_support.h', |
205 'edk/test/test_utils.h', | 198 'edk/test/test_utils.h', |
206 'edk/test/test_utils_posix.cc', | 199 'edk/test/test_utils_posix.cc', |
207 'edk/test/test_utils_win.cc', | 200 'edk/test/test_utils_win.cc', |
208 ], | 201 ], |
209 'conditions': [ | |
210 ['OS=="ios"', { | |
211 'sources!': [ | |
212 'edk/test/multiprocess_test_helper.cc', | |
213 ], | |
214 }], | |
215 ], | |
216 }, | 202 }, |
217 { | 203 { |
218 # GN version: //mojo/edk/test:run_all_unittests | 204 # GN version: //mojo/edk/test:run_all_unittests |
219 # TODO(use_chrome_edk): remove "2" | 205 'target_name': 'mojo_run_all_unittests', |
220 'target_name': 'mojo_run_all_unittests2', | |
221 'type': 'static_library', | 206 'type': 'static_library', |
222 'dependencies': [ | 207 'dependencies': [ |
223 '../base/base.gyp:base', | 208 '../base/base.gyp:base', |
224 '../base/base.gyp:test_support_base', | 209 '../base/base.gyp:test_support_base', |
225 '../testing/gtest.gyp:gtest', | 210 '../testing/gtest.gyp:gtest', |
226 '../third_party/mojo/mojo_public.gyp:mojo_public_test_support', | 211 '../third_party/mojo/mojo_public.gyp:mojo_public_test_support', |
227 'mojo_system_impl2', | 212 'mojo_common_test_support', |
228 'mojo_test_support_impl2', | 213 'mojo_system_impl', |
| 214 'mojo_test_support_impl', |
229 ], | 215 ], |
230 'sources': [ | 216 'sources': [ |
231 'edk/test/run_all_unittests.cc', | 217 'edk/test/run_all_unittests.cc', |
232 ], | 218 ], |
233 }, | 219 }, |
| 220 { |
| 221 # GN version: //mojo/edk/test:run_all_perftests |
| 222 'target_name': 'mojo_run_all_perftests', |
| 223 'type': 'static_library', |
| 224 'dependencies': [ |
| 225 '../base/base.gyp:test_support_base', |
| 226 '../testing/gtest.gyp:gtest', |
| 227 '../third_party/mojo/mojo_public.gyp:mojo_public_test_support', |
| 228 'mojo_edk.gyp:mojo_system_impl', |
| 229 'mojo_common_test_support', |
| 230 'mojo_test_support_impl', |
| 231 ], |
| 232 'sources': [ |
| 233 'edk/test/run_all_perftests.cc', |
| 234 ], |
| 235 }, |
234 ], | 236 ], |
235 } | 237 } |
OLD | NEW |