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

Side by Side Diff: mojo/mojo.gyp

Issue 47433002: Cleanup mojo_shell and sample_app a bit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « mojo/loader/url_request_context_getter.cc ('k') | mojo/shell/android/apk/AndroidManifest.xml » ('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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'defines': ['MOJO_IMPLEMENTATION'], 10 'defines': ['MOJO_IMPLEMENTATION'],
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 { 134 {
135 'target_name': 'mojo_shell_lib', 135 'target_name': 'mojo_shell_lib',
136 'type': 'static_library', 136 'type': 'static_library',
137 'dependencies': [ 137 'dependencies': [
138 '../base/base.gyp:base', 138 '../base/base.gyp:base',
139 '../net/net.gyp:net', 139 '../net/net.gyp:net',
140 '../url/url.gyp:url_lib', 140 '../url/url.gyp:url_lib',
141 'mojo_system', 141 'mojo_system',
142 ], 142 ],
143 'sources': [ 143 'sources': [
144 'loader/job.cc',
145 'loader/job.h',
146 'loader/loader.cc',
147 'loader/loader.h',
148 'loader/url_request_context_getter.cc',
149 'loader/url_request_context_getter.h',
150 'shell/app_container.cc', 144 'shell/app_container.cc',
151 'shell/app_container.h', 145 'shell/app_container.h',
152 'shell/context.cc', 146 'shell/context.cc',
153 'shell/context.h', 147 'shell/context.h',
148 'shell/loader.cc',
149 'shell/loader.h',
154 'shell/run.cc', 150 'shell/run.cc',
155 'shell/run.h', 151 'shell/run.h',
156 'shell/storage.cc', 152 'shell/storage.cc',
157 'shell/storage.h', 153 'shell/storage.h',
158 'shell/switches.cc', 154 'shell/switches.cc',
159 'shell/switches.h', 155 'shell/switches.h',
160 'shell/task_runners.cc', 156 'shell/task_runners.cc',
161 'shell/task_runners.h', 157 'shell/task_runners.h',
158 'shell/url_request_context_getter.cc',
159 'shell/url_request_context_getter.h',
162 ], 160 ],
163 'conditions': [ 161 'conditions': [
164 ['OS == "win"', { 162 ['OS == "win"', {
165 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 163 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
166 'msvs_disabled_warnings': [ 164 'msvs_disabled_warnings': [
167 4267, 165 4267,
168 ], 166 ],
169 }], 167 }],
170 ], 168 ],
171 }, 169 },
(...skipping 19 matching lines...) Expand all
191 ], 189 ],
192 }, 190 },
193 { 191 {
194 'target_name': 'sample_app', 192 'target_name': 'sample_app',
195 'type': 'shared_library', 193 'type': 'shared_library',
196 'dependencies': [ 194 'dependencies': [
197 '../base/base.gyp:base', 195 '../base/base.gyp:base',
198 'mojo_system', 196 'mojo_system',
199 ], 197 ],
200 'sources': [ 198 'sources': [
201 'shell/sample_app.cc', 199 'examples/sample_app/sample_app.cc',
202 ], 200 ],
203 }, 201 },
204 { 202 {
205 'target_name': 'mojo_bindings', 203 'target_name': 'mojo_bindings',
206 'type': 'static_library', 204 'type': 'static_library',
207 'include_dirs': [ 205 'include_dirs': [
208 '..' 206 '..'
209 ], 207 ],
210 'sources': [ 208 'sources': [
211 'public/bindings/lib/bindings.h', 209 'public/bindings/lib/bindings.h',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 'type': 'none', 253 'type': 'none',
256 'dependencies': [ 254 'dependencies': [
257 'java_set_jni_headers', 255 'java_set_jni_headers',
258 ], 256 ],
259 'direct_dependent_settings': { 257 'direct_dependent_settings': {
260 'include_dirs': [ 258 'include_dirs': [
261 '<(SHARED_INTERMEDIATE_DIR)/mojo', 259 '<(SHARED_INTERMEDIATE_DIR)/mojo',
262 ], 260 ],
263 }, 261 },
264 'sources': [ 262 'sources': [
265 'shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoMain.ja va', 263 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java',
266 ], 264 ],
267 'variables': { 265 'variables': {
268 'jni_gen_package': 'mojo' 266 'jni_gen_package': 'mojo'
269 }, 267 },
270 'includes': [ '../build/jni_generator.gypi' ], 268 'includes': [ '../build/jni_generator.gypi' ],
271 }, 269 },
272 { 270 {
273 'target_name': 'libmojo_shell', 271 'target_name': 'libmojo_shell',
274 'type': 'shared_library', 272 'type': 'shared_library',
275 'dependencies': [ 273 'dependencies': [
(...skipping 11 matching lines...) Expand all
287 { 285 {
288 'target_name': 'mojo_shell_apk', 286 'target_name': 'mojo_shell_apk',
289 'type': 'none', 287 'type': 'none',
290 'dependencies': [ 288 'dependencies': [
291 '../base/base.gyp:base_java', 289 '../base/base.gyp:base_java',
292 '../net/net.gyp:net_java', 290 '../net/net.gyp:net_java',
293 'libmojo_shell', 291 'libmojo_shell',
294 ], 292 ],
295 'variables': { 293 'variables': {
296 'apk_name': 'MojoShell', 294 'apk_name': 'MojoShell',
297 'java_in_dir': '<(DEPTH)/mojo/shell/android/shell_apk', 295 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
298 'resource_dir': '<(DEPTH)/mojo/shell/android/shell_apk/res', 296 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
299 'native_lib_target': 'libmojo_shell', 297 'native_lib_target': 'libmojo_shell',
300 }, 298 },
301 'includes': [ '../build/java_apk.gypi' ], 299 'includes': [ '../build/java_apk.gypi' ],
302 } 300 }
303 ], 301 ],
304 }], 302 }],
305 ], 303 ],
306 } 304 }
OLDNEW
« no previous file with comments | « mojo/loader/url_request_context_getter.cc ('k') | mojo/shell/android/apk/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698