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

Side by Side Diff: mojo/mojo_base.gyp

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/mojo_edk.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 '../third_party/mojo/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 'mojo_public.gyp:mojo_bindings_java', 28 '../third_party/mojo/mojo_public.gyp:mojo_bindings_java',
29 'mojo_public.gyp:mojo_public_java', 29 '../third_party/mojo/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 29 matching lines...) Expand all
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 'mojo_common_lib', 78 'mojo_common_lib',
79 'mojo_edk.gyp:mojo_system_impl', 79 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
80 'mojo_edk.gyp:mojo_common_test_support', 80 '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support',
81 'mojo_edk.gyp:mojo_run_all_unittests', 81 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
82 'mojo_environment_chromium', 82 'mojo_environment_chromium',
83 'mojo_public.gyp:mojo_cpp_bindings', 83 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
84 'mojo_public.gyp:mojo_public_test_utils', 84 '../third_party/mojo/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',
95 'type': 'static_library', 95 'type': 'static_library',
96 'dependencies': [ 96 'dependencies': [
97 'mojo_environment_chromium_impl', 97 'mojo_environment_chromium_impl',
98 ], 98 ],
99 'sources': [ 99 'sources': [
100 'environment/environment.cc', 100 'environment/environment.cc',
101 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) 101 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
102 "public/cpp/environment/logging.h", 102 "../third_party/mojo/src/mojo/public/cpp/environment/logging.h",
103 "public/cpp/environment/lib/logging.cc", 103 "../third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc",
104 ], 104 ],
105 'include_dirs': [ 105 'include_dirs': [
106 '..', 106 '..',
107 '../third_party/mojo/src',
107 ], 108 ],
109 'direct_dependent_settings': {
110 'include_dirs': [
111 '../third_party/mojo/src',
112 ],
113 },
108 'export_dependent_settings': [ 114 'export_dependent_settings': [
109 'mojo_environment_chromium_impl', 115 'mojo_environment_chromium_impl',
110 ], 116 ],
111 }, 117 },
112 { 118 {
113 # GN version: //mojo/environment:chromium_impl 119 # GN version: //mojo/environment:chromium_impl
114 'target_name': 'mojo_environment_chromium_impl', 120 'target_name': 'mojo_environment_chromium_impl',
115 'type': '<(component)', 121 'type': '<(component)',
116 'defines': [ 122 'defines': [
117 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', 123 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION',
118 ], 124 ],
119 'dependencies': [ 125 'dependencies': [
120 '../base/base.gyp:base', 126 '../base/base.gyp:base',
121 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 127 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
122 'mojo_common_lib', 128 'mojo_common_lib',
123 '<(mojo_system_for_component)', 129 '<(mojo_system_for_component)',
124 ], 130 ],
125 'sources': [ 131 'sources': [
126 'environment/default_async_waiter_impl.cc', 132 'environment/default_async_waiter_impl.cc',
127 'environment/default_async_waiter_impl.h', 133 'environment/default_async_waiter_impl.h',
128 'environment/default_logger_impl.cc', 134 'environment/default_logger_impl.cc',
129 'environment/default_logger_impl.h', 135 'environment/default_logger_impl.h',
130 'environment/default_run_loop_impl.cc', 136 'environment/default_run_loop_impl.cc',
131 'environment/default_run_loop_impl.h', 137 'environment/default_run_loop_impl.h',
132 ], 138 ],
133 'include_dirs': [ 139 'include_dirs': [
134 '..', 140 '..',
141 '../third_party/mojo/src',
135 ], 142 ],
143 'direct_dependent_settings': {
144 'include_dirs': [
145 '../third_party/mojo/src',
146 ],
147 },
136 }, 148 },
137 { 149 {
138 # GN version: //mojo/application 150 # GN version: //mojo/application
139 'target_name': 'mojo_application_chromium', 151 'target_name': 'mojo_application_chromium',
140 'type': 'static_library', 152 'type': 'static_library',
141 'sources': [ 153 'sources': [
142 'application/application_runner_chromium.cc', 154 'application/application_runner_chromium.cc',
143 'application/application_runner_chromium.h', 155 'application/application_runner_chromium.h',
144 ], 156 ],
145 'dependencies': [ 157 'dependencies': [
146 'mojo_common_lib', 158 'mojo_common_lib',
147 'mojo_environment_chromium', 159 'mojo_environment_chromium',
148 'mojo_public.gyp:mojo_application_base', 160 '../third_party/mojo/mojo_public.gyp:mojo_application_base',
149 ], 161 ],
150 'export_dependent_settings': [ 162 'export_dependent_settings': [
151 'mojo_public.gyp:mojo_application_base', 163 '../third_party/mojo/mojo_public.gyp:mojo_application_base',
152 ], 164 ],
153 }, 165 },
154 ], 166 ],
155 'conditions': [ 167 'conditions': [
156 ['OS=="android"', { 168 ['OS=="android"', {
157 'targets': [ 169 'targets': [
158 { 170 {
159 'target_name': 'mojo_jni_headers', 171 'target_name': 'mojo_jni_headers',
160 'type': 'none', 172 'type': 'none',
161 'dependencies': [ 173 'dependencies': [
162 'mojo_java_set_jni_headers', 174 'mojo_java_set_jni_headers',
163 ], 175 ],
164 'sources': [ 176 'sources': [
165 'android/javatests/src/org/chromium/mojo/MojoTestCase.java', 177 'android/javatests/src/org/chromium/mojo/MojoTestCase.java',
166 'android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil .java', 178 'android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil .java',
167 'android/system/src/org/chromium/mojo/system/impl/CoreImpl.java', 179 'android/system/src/org/chromium/mojo/system/impl/CoreImpl.java',
168 ], 180 ],
169 'variables': { 181 'variables': {
170 'jni_gen_package': 'mojo', 182 'jni_gen_package': 'mojo',
171 }, 183 },
172 'includes': [ '../build/jni_generator.gypi' ], 184 'includes': [ '../build/jni_generator.gypi' ],
173 }, 185 },
174 { 186 {
175 'target_name': 'libmojo_system_java', 187 'target_name': 'libmojo_system_java',
176 'type': 'static_library', 188 'type': 'static_library',
177 'dependencies': [ 189 'dependencies': [
178 '../base/base.gyp:base', 190 '../base/base.gyp:base',
179 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 191 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
180 'mojo_common_lib', 192 'mojo_common_lib',
181 'mojo_edk.gyp:mojo_system_impl', 193 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
182 'mojo_environment_chromium', 194 'mojo_environment_chromium',
183 'mojo_jni_headers', 195 'mojo_jni_headers',
184 ], 196 ],
185 'sources': [ 197 'sources': [
186 'android/system/core_impl.cc', 198 'android/system/core_impl.cc',
187 'android/system/core_impl.h', 199 'android/system/core_impl.h',
188 ], 200 ],
189 }, 201 },
190 { 202 {
191 'target_name': 'mojo_java_set_jni_headers', 203 'target_name': 'mojo_java_set_jni_headers',
192 'type': 'none', 204 'type': 'none',
193 'variables': { 205 'variables': {
194 'jni_gen_package': 'mojo', 206 'jni_gen_package': 'mojo',
195 'input_java_class': 'java/util/HashSet.class', 207 'input_java_class': 'java/util/HashSet.class',
196 }, 208 },
197 'includes': [ '../build/jar_file_jni_generator.gypi' ], 209 'includes': [ '../build/jar_file_jni_generator.gypi' ],
198 }, 210 },
199 { 211 {
200 'target_name': 'mojo_system_java', 212 'target_name': 'mojo_system_java',
201 'type': 'none', 213 'type': 'none',
202 'dependencies': [ 214 'dependencies': [
203 '../base/base.gyp:base_java', 215 '../base/base.gyp:base_java',
204 'libmojo_system_java', 216 'libmojo_system_java',
205 'mojo_public.gyp:mojo_public_java', 217 '../third_party/mojo/mojo_public.gyp:mojo_public_java',
206 ], 218 ],
207 'variables': { 219 'variables': {
208 'java_in_dir': '<(DEPTH)/mojo/android/system', 220 'java_in_dir': '<(DEPTH)/mojo/android/system',
209 }, 221 },
210 'includes': [ '../build/java.gypi' ], 222 'includes': [ '../build/java.gypi' ],
211 }, 223 },
212 ] 224 ]
213 }] 225 }]
214 ] 226 ]
215 } 227 }
OLDNEW
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/mojo_edk.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698