Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Side by Side Diff: mojo/mojo_edk_tests.gyp

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'includes': [
7 '../third_party/mojo/mojo_variables.gypi',
8 ],
9 'targets': [
10 {
11 'target_name': 'mojo_edk_tests',
12 'type': 'none',
13 'dependencies': [
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
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
18 # to be built.
19 'mojo_message_pipe_perftests2',
20 'mojo_system_unittests2',
21 'mojo_js_unittests2',
22 'mojo_js_integration_tests2',
23 ],
24 },
25 {
26 # GN version: //mojo/edk/system:mojo_system_unittests
27 'target_name': 'mojo_system_unittests2',
28 'type': 'executable',
29 'dependencies': [
30 '../base/base.gyp:base',
31 '../testing/gtest.gyp:gtest',
32 'mojo_edk.gyp:mojo_common_test_support2',
33 'mojo_edk.gyp:mojo_system_impl2',
34 ],
35 'sources': [
36 'edk/embedder/embedder_unittest.cc',
37 'edk/embedder/platform_channel_pair_posix_unittest.cc',
38 'edk/embedder/simple_platform_shared_buffer_unittest.cc',
39 'edk/system/awakable_list_unittest.cc',
40 'edk/system/core_test_base.cc',
41 'edk/system/core_test_base.h',
42 'edk/system/core_unittest.cc',
43 'edk/system/data_pipe_unittest.cc',
44 'edk/system/dispatcher_unittest.cc',
45 'edk/system/message_in_transit_queue_unittest.cc',
46 'edk/system/message_in_transit_test_utils.cc',
47 'edk/system/message_in_transit_test_utils.h',
48 'edk/system/message_pipe_test_utils.cc',
49 'edk/system/message_pipe_test_utils.h',
50 'edk/system/message_pipe_unittest.cc',
51 'edk/system/multiprocess_message_pipe_unittest.cc',
52 'edk/system/options_validation_unittest.cc',
53 'edk/system/platform_handle_dispatcher_unittest.cc',
54 'edk/system/raw_channel_unittest.cc',
55 'edk/system/run_all_unittests.cc',
56 'edk/system/shared_buffer_dispatcher_unittest.cc',
57 'edk/system/simple_dispatcher_unittest.cc',
58 'edk/system/test_utils.cc',
59 'edk/system/test_utils.h',
60 'edk/system/waiter_test_utils.cc',
61 'edk/system/waiter_test_utils.h',
62 'edk/system/waiter_unittest.cc',
63 'edk/test/multiprocess_test_helper_unittest.cc',
64 ],
65 'conditions': [
66 ['OS=="ios"', {
67 'sources!': [
68 'edk/embedder/embedder_unittest.cc',
69 'edk/system/multiprocess_message_pipe_unittest.cc',
70 'edk/test/multiprocess_test_helper_unittest.cc',
71 ],
72 }],
73 ],
74 },
75 {
76 # GN version: //mojo/edk/system:mojo_message_pipe_perftests
77 'target_name': 'mojo_message_pipe_perftests2',
78 'type': 'executable',
79 'dependencies': [
80 '../base/base.gyp:base',
81 '../base/base.gyp:test_support_base',
82 '../base/base.gyp:test_support_perf',
83 '../testing/gtest.gyp:gtest',
84 'mojo_edk.gyp:mojo_common_test_support2',
85 'mojo_edk.gyp:mojo_system_impl2',
86 ],
87 'sources': [
88 'edk/system/message_pipe_perftest.cc',
89 'edk/system/message_pipe_test_utils.cc',
90 'edk/system/message_pipe_test_utils.h',
91 'edk/system/test_utils.cc',
92 'edk/system/test_utils.h',
93 ],
94 },
95 {
96 # GN version: //mojo/edk/js/test:js_unittests
97 'target_name': 'mojo_js_unittests2',
98 'type': 'executable',
99 'dependencies': [
100 '../gin/gin.gyp:gin_test',
101 '../third_party/mojo/mojo_public.gyp:mojo_environment_standalone',
102 '../third_party/mojo/mojo_public.gyp:mojo_public_test_interfaces',
103 '../third_party/mojo/mojo_public.gyp:mojo_utility',
104 'mojo_edk.gyp:mojo_common_test_support2',
105 'mojo_edk.gyp:mojo_run_all_unittests2',
106 'mojo_edk.gyp:mojo_js_lib2',
107 ],
108 'sources': [
109 'edk/js/handle_unittest.cc',
110 'edk/js/test/run_js_tests.cc',
111 ],
112 },
113 {
114 # GN version: //mojo/edk/js/test:js_integration_tests
115 'target_name': 'mojo_js_integration_tests2',
116 'type': 'executable',
117 'dependencies': [
118 '../base/base.gyp:base',
119 '../gin/gin.gyp:gin_test',
120 '../third_party/mojo/mojo_public.gyp:mojo_environment_standalone',
121 '../third_party/mojo/mojo_public.gyp:mojo_public_test_interfaces',
122 '../third_party/mojo/mojo_public.gyp:mojo_utility',
123 'mojo_edk.gyp:mojo_js_lib2',
124 'mojo_edk.gyp:mojo_run_all_unittests2',
125 'mojo_js_to_cpp_bindings',
126 ],
127 'sources': [
128 'edk/js/test/run_js_integration_tests.cc',
129 'edk/js/tests/js_to_cpp_tests.cc',
130 ],
131 },
132 ],
133 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698