| 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 'mojo_variables.gypi', | 7 'chromium_code': 1, |
| 8 ], | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'mojo_edk_tests', | 11 'target_name': 'mojo_edk_tests', |
| 12 'type': 'none', | 12 'type': 'none', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 # NOTE: If adding a new dependency here, please consider whether it | 14 # NOTE: If adding a new dependency here, please consider whether it |
| 15 # should also be added to the list of Mojo-related dependencies of | 15 # should also be added to the list of Mojo-related dependencies of |
| 16 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base | 16 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base |
| 17 # target on iOS due to the presence of the js targets, which cause v8 | 17 # target on iOS due to the presence of the js targets, which cause v8 |
| 18 # to be built. | 18 # to be built. |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 # and //mojo/public/c/system/tests | 162 # and //mojo/public/c/system/tests |
| 163 'target_name': 'mojo_public_system_unittests', | 163 'target_name': 'mojo_public_system_unittests', |
| 164 'type': 'executable', | 164 'type': 'executable', |
| 165 'dependencies': [ | 165 'dependencies': [ |
| 166 '../testing/gtest.gyp:gtest', | 166 '../testing/gtest.gyp:gtest', |
| 167 'mojo_edk.gyp:mojo_run_all_unittests', | 167 'mojo_edk.gyp:mojo_run_all_unittests', |
| 168 'mojo_public.gyp:mojo_cpp_system', | 168 'mojo_public.gyp:mojo_cpp_system', |
| 169 'mojo_public.gyp:mojo_public_test_utils', | 169 'mojo_public.gyp:mojo_public_test_utils', |
| 170 ], | 170 ], |
| 171 'sources': [ | 171 'sources': [ |
| 172 '<@(mojo_public_system_unittest_sources)', | 172 '<(DEPTH)/mojo/public/c/system/tests/core_unittest.cc', |
| 173 '<(DEPTH)/mojo/public/c/system/tests/core_unittest_pure_c.c', |
| 174 '<(DEPTH)/mojo/public/c/system/tests/macros_unittest.cc', |
| 175 '<(DEPTH)/mojo/public/cpp/system/tests/core_unittest.cc', |
| 176 '<(DEPTH)/mojo/public/cpp/system/tests/watcher_unittest.cc', |
| 173 ], | 177 ], |
| 174 }, | 178 }, |
| 175 { | 179 { |
| 176 # GN version: //mojo/edk/test:mojo_public_system_perftests | 180 # GN version: //mojo/edk/test:mojo_public_system_perftests |
| 177 'target_name': 'mojo_public_system_perftests', | 181 'target_name': 'mojo_public_system_perftests', |
| 178 'type': 'executable', | 182 'type': 'executable', |
| 179 'dependencies': [ | 183 'dependencies': [ |
| 180 '../base/base.gyp:base', | 184 '../base/base.gyp:base', |
| 181 '../testing/gtest.gyp:gtest', | 185 '../testing/gtest.gyp:gtest', |
| 182 'mojo_edk.gyp:mojo_run_all_perftests', | 186 'mojo_edk.gyp:mojo_run_all_perftests', |
| 187 'mojo_public.gyp:mojo_public_system', |
| 183 'mojo_public.gyp:mojo_public_test_utils', | 188 'mojo_public.gyp:mojo_public_test_utils', |
| 184 ], | 189 ], |
| 185 'sources': [ | 190 'sources': [ |
| 186 'public/c/system/tests/core_perftest.cc', | 191 'public/c/system/tests/core_perftest.cc', |
| 187 ], | 192 ], |
| 188 }, | 193 }, |
| 189 { | 194 { |
| 190 # GN version: //mojo/edk/system:mojo_system_unittests | 195 # GN version: //mojo/edk/system:mojo_system_unittests |
| 191 'target_name': 'mojo_system_unittests', | 196 'target_name': 'mojo_system_unittests', |
| 192 'type': '<(gtest_target_type)', | 197 'type': '<(gtest_target_type)', |
| 193 'dependencies': [ | 198 'dependencies': [ |
| 194 '../base/base.gyp:base', | 199 '../base/base.gyp:base', |
| 195 '../testing/gtest.gyp:gtest', | 200 '../testing/gtest.gyp:gtest', |
| 196 'mojo_edk.gyp:mojo_common_test_support', | 201 'mojo_edk.gyp:mojo_common_test_support', |
| 197 'mojo_edk.gyp:mojo_run_all_unittests', | 202 'mojo_edk.gyp:mojo_run_all_unittests', |
| 198 'mojo_edk.gyp:mojo_system_impl', | 203 'mojo_edk.gyp:mojo_system_impl', |
| 199 'mojo_edk.gyp:mojo_system_ports', | 204 'mojo_edk.gyp:mojo_system_ports', |
| 205 'mojo_public.gyp:mojo_public_system', |
| 200 ], | 206 ], |
| 201 'sources': [ | 207 'sources': [ |
| 202 'edk/embedder/embedder_unittest.cc', | 208 'edk/embedder/embedder_unittest.cc', |
| 203 'edk/embedder/platform_channel_pair_posix_unittest.cc', | 209 'edk/embedder/platform_channel_pair_posix_unittest.cc', |
| 204 'edk/embedder/platform_shared_buffer_unittest.cc', | 210 'edk/embedder/platform_shared_buffer_unittest.cc', |
| 205 'edk/system/awakable_list_unittest.cc', | 211 'edk/system/awakable_list_unittest.cc', |
| 206 'edk/system/core_test_base.cc', | 212 'edk/system/core_test_base.cc', |
| 207 'edk/system/core_test_base.h', | 213 'edk/system/core_test_base.h', |
| 208 'edk/system/core_unittest.cc', | 214 'edk/system/core_unittest.cc', |
| 209 'edk/system/message_pipe_unittest.cc', | 215 'edk/system/message_pipe_unittest.cc', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 239 # GN version: //mojo/edk/system:mojo_message_pipe_perftests | 245 # GN version: //mojo/edk/system:mojo_message_pipe_perftests |
| 240 'target_name': 'mojo_message_pipe_perftests', | 246 'target_name': 'mojo_message_pipe_perftests', |
| 241 'type': 'executable', | 247 'type': 'executable', |
| 242 'dependencies': [ | 248 'dependencies': [ |
| 243 '../base/base.gyp:base', | 249 '../base/base.gyp:base', |
| 244 '../base/base.gyp:test_support_base', | 250 '../base/base.gyp:test_support_base', |
| 245 '../testing/gtest.gyp:gtest', | 251 '../testing/gtest.gyp:gtest', |
| 246 'mojo_edk.gyp:mojo_common_test_support', | 252 'mojo_edk.gyp:mojo_common_test_support', |
| 247 'mojo_edk.gyp:mojo_run_all_perftests', | 253 'mojo_edk.gyp:mojo_run_all_perftests', |
| 248 'mojo_edk.gyp:mojo_system_impl', | 254 'mojo_edk.gyp:mojo_system_impl', |
| 255 'mojo_public.gyp:mojo_public_system', |
| 249 ], | 256 ], |
| 250 'sources': [ | 257 'sources': [ |
| 251 'edk/system/message_pipe_perftest.cc', | 258 'edk/system/message_pipe_perftest.cc', |
| 252 'edk/system/test_utils.cc', | 259 'edk/system/test_utils.cc', |
| 253 'edk/system/test_utils.h', | 260 'edk/system/test_utils.h', |
| 254 ], | 261 ], |
| 255 }, | 262 }, |
| 256 # TODO(yzshen): fix the following two targets. | 263 # TODO(yzshen): fix the following two targets. |
| 257 { | 264 { |
| 258 # GN version: //mojo/edk/js/test:js_unittests | 265 # GN version: //mojo/edk/js/test:js_unittests |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 ], | 386 ], |
| 380 'variables': { | 387 'variables': { |
| 381 'test_suite_name': 'mojo_system_unittests', | 388 'test_suite_name': 'mojo_system_unittests', |
| 382 }, | 389 }, |
| 383 'includes': [ '../build/apk_test.gypi' ], | 390 'includes': [ '../build/apk_test.gypi' ], |
| 384 }, | 391 }, |
| 385 ], | 392 ], |
| 386 }], | 393 }], |
| 387 ], | 394 ], |
| 388 } | 395 } |
| OLD | NEW |