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

Side by Side Diff: mojo/mojo_public.gypi

Issue 422163004: Extract mojo_base.gyp from mojo.gyp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //mojo/public/c/system 8 # GN version: //mojo/public/c/system
9 'target_name': 'mojo_system', 9 'target_name': 'mojo_system',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 'public/cpp/environment/lib/default_logger.h', 126 'public/cpp/environment/lib/default_logger.h',
127 'public/cpp/environment/lib/environment.cc', 127 'public/cpp/environment/lib/environment.cc',
128 'public/cpp/environment/lib/logging.cc', 128 'public/cpp/environment/lib/logging.cc',
129 'public/cpp/environment/logging.h', 129 'public/cpp/environment/logging.h',
130 ], 130 ],
131 'include_dirs': [ 131 'include_dirs': [
132 '..', 132 '..',
133 ], 133 ],
134 }, 134 },
135 { 135 {
136 # GN version: //mojo/public/cpp/utility
137 'target_name': 'mojo_utility',
138 'type': 'static_library',
139 'sources': [
140 'public/cpp/utility/mutex.h',
141 'public/cpp/utility/run_loop.h',
142 'public/cpp/utility/run_loop_handler.h',
143 'public/cpp/utility/thread.h',
144 'public/cpp/utility/lib/mutex.cc',
145 'public/cpp/utility/lib/run_loop.cc',
146 'public/cpp/utility/lib/thread.cc',
147 'public/cpp/utility/lib/thread_local.h',
148 'public/cpp/utility/lib/thread_local_posix.cc',
149 'public/cpp/utility/lib/thread_local_win.cc',
150 ],
151 'conditions': [
152 # See crbug.com/342893:
153 ['OS=="win"', {
154 'sources!': [
155 'public/cpp/utility/mutex.h',
156 'public/cpp/utility/thread.h',
157 'public/cpp/utility/lib/mutex.cc',
158 'public/cpp/utility/lib/thread.cc',
159 ],
160 }],
161 ],
162 'include_dirs': [
163 '..',
164 ],
165 },
166 {
167 # GN version: //mojo/public/interfaces/service_provider:service_provider 136 # GN version: //mojo/public/interfaces/service_provider:service_provider
168 'target_name': 'mojo_service_provider_bindings', 137 'target_name': 'mojo_service_provider_bindings',
169 'type': 'static_library', 138 'type': 'static_library',
170 'sources': [ 139 'sources': [
171 'public/interfaces/service_provider/service_provider.mojom', 140 'public/interfaces/service_provider/service_provider.mojom',
172 ], 141 ],
173 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 142 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
174 'dependencies': [ 143 'dependencies': [
175 'mojo_cpp_bindings', 144 'mojo_cpp_bindings',
176 ], 145 ],
(...skipping 16 matching lines...) Expand all
193 'public/cpp/application/lib/service_registry.cc', 162 'public/cpp/application/lib/service_registry.cc',
194 'public/cpp/application/lib/service_registry.h', 163 'public/cpp/application/lib/service_registry.h',
195 ], 164 ],
196 'dependencies': [ 165 'dependencies': [
197 'mojo_service_provider_bindings', 166 'mojo_service_provider_bindings',
198 ], 167 ],
199 'export_dependent_settings': [ 168 'export_dependent_settings': [
200 'mojo_service_provider_bindings', 169 'mojo_service_provider_bindings',
201 ], 170 ],
202 }, 171 },
172 {
173 # GN version: //mojo/public/cpp/utility
174 'target_name': 'mojo_utility',
175 'type': 'static_library',
176 'sources': [
177 'public/cpp/utility/mutex.h',
178 'public/cpp/utility/run_loop.h',
179 'public/cpp/utility/run_loop_handler.h',
180 'public/cpp/utility/thread.h',
181 'public/cpp/utility/lib/mutex.cc',
182 'public/cpp/utility/lib/run_loop.cc',
183 'public/cpp/utility/lib/thread.cc',
184 'public/cpp/utility/lib/thread_local.h',
185 'public/cpp/utility/lib/thread_local_posix.cc',
186 'public/cpp/utility/lib/thread_local_win.cc',
187 ],
188 'conditions': [
189 # See crbug.com/342893:
190 ['OS=="win"', {
191 'sources!': [
192 'public/cpp/utility/mutex.h',
193 'public/cpp/utility/thread.h',
194 'public/cpp/utility/lib/mutex.cc',
195 'public/cpp/utility/lib/thread.cc',
196 ],
197 }],
198 ],
199 'include_dirs': [
200 '..',
201 ],
202 },
203 ], 203 ],
204 'conditions': [ 204 'conditions': [
205 ['OS == "android"', { 205 ['OS == "android"', {
206 'targets': [ 206 'targets': [
207 { 207 {
208 # GN version: //mojo/public/java_system 208 # GN version: //mojo/public/java_system
209 'target_name': 'mojo_public_java', 209 'target_name': 'mojo_public_java',
210 'type': 'none', 210 'type': 'none',
211 'variables': { 211 'variables': {
212 'java_in_dir': 'public/java/system', 212 'java_in_dir': 'public/java/system',
213 }, 213 },
214 'includes': [ '../build/java.gypi' ], 214 'includes': [ '../build/java.gypi' ],
215 }, 215 },
216 { 216 {
217 # GN version: //mojo/public/java_bindings 217 # GN version: //mojo/public/java_bindings
218 'target_name': 'mojo_bindings_java', 218 'target_name': 'mojo_bindings_java',
219 'type': 'none', 219 'type': 'none',
220 'variables': { 220 'variables': {
221 'java_in_dir': 'public/java/bindings', 221 'java_in_dir': 'public/java/bindings',
222 }, 222 },
223 'dependencies': [ 223 'dependencies': [
224 'mojo_public_java', 224 'mojo_public_java',
225 ], 225 ],
226 'includes': [ '../build/java.gypi' ], 226 'includes': [ '../build/java.gypi' ],
227 }, 227 },
228 ], 228 ],
229 }], 229 }],
230 ], 230 ],
231 } 231 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698