OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Essential components (and their tests) that are needed to build | 5 # Essential components (and their tests) that are needed to build |
6 # Chrome should be here. Other components that are useful only in | 6 # Chrome should be here. Other components that are useful only in |
7 # Mojo land like mojo_shell should be in mojo.gyp. | 7 # Mojo land like mojo_shell should be in mojo.gyp. |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 'mojo_variables.gypi', | 10 'mojo_variables.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'mojo_base', | 14 'target_name': 'mojo_base', |
15 'type': 'none', | 15 'type': 'none', |
16 'dependencies': [ | 16 'dependencies': [ |
17 # NOTE: If adding a new dependency here, please consider whether it | 17 # NOTE: If adding a new dependency here, please consider whether it |
18 # should also be added to the list of Mojo-related dependencies of | 18 # should also be added to the list of Mojo-related dependencies of |
19 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base | 19 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base |
20 # target on iOS due to the presence of the js targets, which cause v8 | 20 # target on iOS due to the presence of the js targets, which cause v8 |
21 # to be built. | 21 # to be built. |
22 'mojo_common_lib', | 22 'mojo_common_lib', |
23 'mojo_common_unittests', | 23 'mojo_common_unittests', |
24 ], | 24 ], |
25 'conditions': [ | 25 'conditions': [ |
26 ['OS == "android"', { | 26 ['OS == "android"', { |
27 'dependencies': [ | 27 'dependencies': [ |
28 'public/mojo_public.gyp:mojo_bindings_java', | 28 'mojo_public.gyp:mojo_bindings_java', |
29 'public/mojo_public.gyp:mojo_public_java', | 29 'mojo_public.gyp:mojo_public_java', |
30 ], | 30 ], |
31 }], | 31 }], |
32 ] | 32 ] |
33 }, | 33 }, |
34 { | 34 { |
35 'target_name': 'mojo_none', | 35 'target_name': 'mojo_none', |
36 'type': 'none', | 36 'type': 'none', |
37 }, | 37 }, |
38 { | 38 { |
39 # GN version: //mojo/common | 39 # GN version: //mojo/common |
(...skipping 28 matching lines...) Expand all Loading... |
68 { | 68 { |
69 # GN version: //mojo/common:mojo_common_unittests | 69 # GN version: //mojo/common:mojo_common_unittests |
70 'target_name': 'mojo_common_unittests', | 70 'target_name': 'mojo_common_unittests', |
71 'type': 'executable', | 71 'type': 'executable', |
72 'dependencies': [ | 72 'dependencies': [ |
73 '../base/base.gyp:base', | 73 '../base/base.gyp:base', |
74 '../base/base.gyp:test_support_base', | 74 '../base/base.gyp:test_support_base', |
75 '../base/base.gyp:base_message_loop_tests', | 75 '../base/base.gyp:base_message_loop_tests', |
76 '../testing/gtest.gyp:gtest', | 76 '../testing/gtest.gyp:gtest', |
77 '../url/url.gyp:url_lib', | 77 '../url/url.gyp:url_lib', |
78 'edk/mojo_edk.gyp:mojo_system_impl', | |
79 'edk/mojo_edk.gyp:mojo_common_test_support', | |
80 'edk/mojo_edk.gyp:mojo_run_all_unittests', | |
81 'mojo_common_lib', | 78 'mojo_common_lib', |
| 79 'mojo_edk.gyp:mojo_system_impl', |
| 80 'mojo_edk.gyp:mojo_common_test_support', |
| 81 'mojo_edk.gyp:mojo_run_all_unittests', |
82 'mojo_environment_chromium', | 82 'mojo_environment_chromium', |
83 'public/mojo_public.gyp:mojo_cpp_bindings', | 83 'mojo_public.gyp:mojo_cpp_bindings', |
84 'public/mojo_public.gyp:mojo_public_test_utils', | 84 'mojo_public.gyp:mojo_public_test_utils', |
85 ], | 85 ], |
86 'sources': [ | 86 'sources': [ |
87 'common/common_type_converters_unittest.cc', | 87 'common/common_type_converters_unittest.cc', |
88 'common/handle_watcher_unittest.cc', | 88 'common/handle_watcher_unittest.cc', |
89 'common/message_pump_mojo_unittest.cc', | 89 'common/message_pump_mojo_unittest.cc', |
90 ], | 90 ], |
91 }, | 91 }, |
92 { | 92 { |
93 # GN version: //mojo/environment:chromium | 93 # GN version: //mojo/environment:chromium |
94 'target_name': 'mojo_environment_chromium', | 94 'target_name': 'mojo_environment_chromium', |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 # GN version: //mojo/application | 138 # GN version: //mojo/application |
139 'target_name': 'mojo_application_chromium', | 139 'target_name': 'mojo_application_chromium', |
140 'type': 'static_library', | 140 'type': 'static_library', |
141 'sources': [ | 141 'sources': [ |
142 'application/application_runner_chromium.cc', | 142 'application/application_runner_chromium.cc', |
143 'application/application_runner_chromium.h', | 143 'application/application_runner_chromium.h', |
144 ], | 144 ], |
145 'dependencies': [ | 145 'dependencies': [ |
146 'mojo_common_lib', | 146 'mojo_common_lib', |
147 'mojo_environment_chromium', | 147 'mojo_environment_chromium', |
148 'public/mojo_public.gyp:mojo_application_base', | 148 'mojo_public.gyp:mojo_application_base', |
149 ], | 149 ], |
150 'export_dependent_settings': [ | 150 'export_dependent_settings': [ |
151 'public/mojo_public.gyp:mojo_application_base', | 151 'mojo_public.gyp:mojo_application_base', |
152 ], | 152 ], |
153 }, | 153 }, |
154 ], | 154 ], |
155 'conditions': [ | 155 'conditions': [ |
156 ['OS=="android"', { | 156 ['OS=="android"', { |
157 'targets': [ | 157 'targets': [ |
158 { | 158 { |
159 'target_name': 'mojo_jni_headers', | 159 'target_name': 'mojo_jni_headers', |
160 'type': 'none', | 160 'type': 'none', |
161 'dependencies': [ | 161 'dependencies': [ |
162 'mojo_java_set_jni_headers', | 162 'mojo_java_set_jni_headers', |
163 ], | 163 ], |
164 'sources': [ | 164 'sources': [ |
165 'android/javatests/src/org/chromium/mojo/MojoTestCase.java', | 165 'android/javatests/src/org/chromium/mojo/MojoTestCase.java', |
166 'android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil
.java', | 166 'android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil
.java', |
167 'android/system/src/org/chromium/mojo/system/impl/CoreImpl.java', | 167 'android/system/src/org/chromium/mojo/system/impl/CoreImpl.java', |
168 ], | 168 ], |
169 'variables': { | 169 'variables': { |
170 'jni_gen_package': 'mojo', | 170 'jni_gen_package': 'mojo', |
171 }, | 171 }, |
172 'includes': [ '../build/jni_generator.gypi' ], | 172 'includes': [ '../build/jni_generator.gypi' ], |
173 }, | 173 }, |
174 { | 174 { |
175 'target_name': 'libmojo_system_java', | 175 'target_name': 'libmojo_system_java', |
176 'type': 'static_library', | 176 'type': 'static_library', |
177 'dependencies': [ | 177 'dependencies': [ |
178 '../base/base.gyp:base', | 178 '../base/base.gyp:base', |
179 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 179 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
180 'edk/mojo_edk.gyp:mojo_system_impl', | |
181 'mojo_common_lib', | 180 'mojo_common_lib', |
| 181 'mojo_edk.gyp:mojo_system_impl', |
182 'mojo_environment_chromium', | 182 'mojo_environment_chromium', |
183 'mojo_jni_headers', | 183 'mojo_jni_headers', |
184 ], | 184 ], |
185 'sources': [ | 185 'sources': [ |
186 'android/system/core_impl.cc', | 186 'android/system/core_impl.cc', |
187 'android/system/core_impl.h', | 187 'android/system/core_impl.h', |
188 ], | 188 ], |
189 }, | 189 }, |
190 { | 190 { |
191 'target_name': 'mojo_java_set_jni_headers', | 191 'target_name': 'mojo_java_set_jni_headers', |
192 'type': 'none', | 192 'type': 'none', |
193 'variables': { | 193 'variables': { |
194 'jni_gen_package': 'mojo', | 194 'jni_gen_package': 'mojo', |
195 'input_java_class': 'java/util/HashSet.class', | 195 'input_java_class': 'java/util/HashSet.class', |
196 }, | 196 }, |
197 'includes': [ '../build/jar_file_jni_generator.gypi' ], | 197 'includes': [ '../build/jar_file_jni_generator.gypi' ], |
198 }, | 198 }, |
199 { | 199 { |
200 'target_name': 'mojo_system_java', | 200 'target_name': 'mojo_system_java', |
201 'type': 'none', | 201 'type': 'none', |
202 'dependencies': [ | 202 'dependencies': [ |
203 '../base/base.gyp:base_java', | 203 '../base/base.gyp:base_java', |
204 'libmojo_system_java', | 204 'libmojo_system_java', |
205 'public/mojo_public.gyp:mojo_public_java', | 205 'mojo_public.gyp:mojo_public_java', |
206 ], | 206 ], |
207 'variables': { | 207 'variables': { |
208 'java_in_dir': '<(DEPTH)/mojo/android/system', | 208 'java_in_dir': '<(DEPTH)/mojo/android/system', |
209 }, | 209 }, |
210 'includes': [ '../build/java.gypi' ], | 210 'includes': [ '../build/java.gypi' ], |
211 }, | 211 }, |
212 ] | 212 ] |
213 }] | 213 }] |
214 ] | 214 ] |
215 } | 215 } |
OLD | NEW |