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

Side by Side Diff: mojo/mojo.gyp

Issue 670073002: Revert of Add gclient hook to download prebuilt mojo_shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/public/VERSION » ('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 'target_defaults': { 6 'target_defaults': {
7 'conditions': [ 7 'conditions': [
8 ['mojo_shell_debug_url != ""', { 8 ['mojo_shell_debug_url != ""', {
9 'defines': [ 9 'defines': [
10 'MOJO_SHELL_DEBUG=1', 10 'MOJO_SHELL_DEBUG=1',
11 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"', 11 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"',
12 ], 12 ],
13 }], 13 }],
14 ], 14 ],
15 }, 15 },
16 'includes': [ 16 'includes': [
17 'mojo_apps.gypi', 17 'mojo_apps.gypi',
18 'mojo_converters.gypi', 18 'mojo_converters.gypi',
19 'mojo_services.gypi', 19 'mojo_services.gypi',
20 'mojo_variables.gypi', 20 'mojo_variables.gypi',
21 ], 21 ],
22 'variables': {
23 'use_prebuilt_mojo_shell%': 0,
24 },
25 'targets': [ 22 'targets': [
26 { 23 {
27 # GN version: //mojo 24 # GN version: //mojo
28 'target_name': 'mojo', 25 'target_name': 'mojo',
29 'type': 'none', 26 'type': 'none',
30 'dependencies': [ 27 'dependencies': [
31 'edk/mojo_edk.gyp:mojo_edk', 28 'edk/mojo_edk.gyp:mojo_edk',
32 'mojo_application_manager', 29 'mojo_application_manager',
33 'mojo_application_manager_unittests', 30 'mojo_application_manager_unittests',
34 'mojo_apps_js_unittests', 31 'mojo_apps_js_unittests',
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 'dependencies': [ 206 'dependencies': [
210 'edk/mojo_edk.gyp:mojo_system_impl', 207 'edk/mojo_edk.gyp:mojo_system_impl',
211 'mojo_shell_lib', 208 'mojo_shell_lib',
212 ], 209 ],
213 'sources': [ 210 'sources': [
214 'shell/shell_test_helper.cc', 211 'shell/shell_test_helper.cc',
215 'shell/shell_test_helper.h', 212 'shell/shell_test_helper.h',
216 ], 213 ],
217 }, 214 },
218 { 215 {
216 # GN version: //mojo/shell
217 'target_name': 'mojo_shell',
218 'type': 'executable',
219 'dependencies': [
220 '../base/base.gyp:base',
221 'mojo_base.gyp:mojo_common_lib',
222 'mojo_base.gyp:mojo_environment_chromium',
223 'mojo_shell_lib',
224 ],
225 'sources': [
226 'shell/desktop/mojo_main.cc',
227 ],
228 'conditions': [
229 ['component=="shared_library"', {
230 'dependencies': [
231 '../ui/gfx/gfx.gyp:gfx',
232 ],
233 }],
234 ],
235 },
236 {
219 # GN version: //mojo/shell:mojo_shell_tests 237 # GN version: //mojo/shell:mojo_shell_tests
220 'target_name': 'mojo_shell_tests', 238 'target_name': 'mojo_shell_tests',
221 'type': '<(gtest_target_type)', 239 'type': '<(gtest_target_type)',
222 'dependencies': [ 240 'dependencies': [
223 '../base/base.gyp:base', 241 '../base/base.gyp:base',
224 '../base/base.gyp:base_i18n', 242 '../base/base.gyp:base_i18n',
225 '../base/base.gyp:test_support_base', 243 '../base/base.gyp:test_support_base',
226 '../testing/gtest.gyp:gtest', 244 '../testing/gtest.gyp:gtest',
227 '../net/net.gyp:net_test_support', 245 '../net/net.gyp:net_test_support',
228 '../url/url.gyp:url_lib', 246 '../url/url.gyp:url_lib',
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 'public/mojo_public.gyp:mojo_environment_standalone', 411 'public/mojo_public.gyp:mojo_environment_standalone',
394 'public/mojo_public.gyp:mojo_public_test_interfaces', 412 'public/mojo_public.gyp:mojo_public_test_interfaces',
395 'public/mojo_public.gyp:mojo_utility', 413 'public/mojo_public.gyp:mojo_utility',
396 ], 414 ],
397 'sources': [ 415 'sources': [
398 'bindings/js/tests/run_js_tests.cc', 416 'bindings/js/tests/run_js_tests.cc',
399 ], 417 ],
400 }, 418 },
401 ], 419 ],
402 'conditions': [ 420 'conditions': [
403 ['<(use_prebuilt_mojo_shell)==1', {
404 'targets': [
405 {
406 # GN version: //mojo/public/tools:mojo_shell
407 'target_name': 'mojo_shell',
408 'type': 'none',
409 'copies': [{
410 'destination': '<(PRODUCT_DIR)',
411 'files': [
412 'public/tools/prebuilt/mojo_shell',
413 ],
414 }],
415 },
416 ]
417 }, { # use_prebuilt_mojo_shell != 1
418 'targets': [
419 {
420 # GN version: //mojo/shell
421 'target_name': 'mojo_shell',
422 'type': 'executable',
423 'dependencies': [
424 '../base/base.gyp:base',
425 'mojo_base.gyp:mojo_common_lib',
426 'mojo_base.gyp:mojo_environment_chromium',
427 'mojo_shell_lib',
428 ],
429 'sources': [
430 'shell/desktop/mojo_main.cc',
431 ],
432 'conditions': [
433 ['component=="shared_library"', {
434 'dependencies': [
435 '../ui/gfx/gfx.gyp:gfx',
436 ],
437 }],
438 ],
439 },
440 ],
441 }],
442 ['OS=="android"', { 421 ['OS=="android"', {
443 'targets': [ 422 'targets': [
444 { 423 {
445 'target_name': 'mojo_native_viewport_java', 424 'target_name': 'mojo_native_viewport_java',
446 'type': 'none', 425 'type': 'none',
447 'dependencies': [ 426 'dependencies': [
448 '../base/base.gyp:base_java', 427 '../base/base.gyp:base_java',
449 ], 428 ],
450 'variables': { 429 'variables': {
451 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', 430 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android',
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 '../build/isolate.gypi', 726 '../build/isolate.gypi',
748 ], 727 ],
749 'sources': [ 728 'sources': [
750 'mojo_js_unittests.isolate', 729 'mojo_js_unittests.isolate',
751 ], 730 ],
752 }, 731 },
753 ], 732 ],
754 }], 733 }],
755 ], 734 ],
756 } 735 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/public/VERSION » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698