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

Side by Side Diff: chromecast/chromecast.gyp

Issue 876633003: Chromecast: make GYP targets more common between Android/Chromecast.Makes cast_crash_client common a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates commit message Created 5 years, 10 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 | « no previous file | no next file » | 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 { 5 {
6 'variables': { 6 'variables': {
7 'android_support_v13_target%': 7 'android_support_v13_target%':
8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib', 8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib',
9 'cast_build_release': 'internal/build/cast_build_release', 9 'cast_build_release': 'internal/build/cast_build_release',
10 'chromium_code': 1, 10 'chromium_code': 1,
(...skipping 27 matching lines...) Expand all
38 ], 38 ],
39 'sources': [ 39 'sources': [
40 'base/metrics/cast_histograms.h', 40 'base/metrics/cast_histograms.h',
41 'base/metrics/cast_metrics_helper.cc', 41 'base/metrics/cast_metrics_helper.cc',
42 'base/metrics/cast_metrics_helper.h', 42 'base/metrics/cast_metrics_helper.h',
43 'base/metrics/grouped_histogram.cc', 43 'base/metrics/grouped_histogram.cc',
44 'base/metrics/grouped_histogram.h' 44 'base/metrics/grouped_histogram.h'
45 ], 45 ],
46 }, # end of target 'cast_base' 46 }, # end of target 'cast_base'
47 { 47 {
48 'target_name': 'cast_crash_client',
49 'type': '<(component)',
50 'dependencies': [
51 '../breakpad/breakpad.gyp:breakpad_client',
52 '../components/components.gyp:crash_component',
53 ],
54 'sources': [
55 'crash/cast_crash_reporter_client.cc',
56 'crash/cast_crash_reporter_client.h',
57 ],
58 'conditions': [
59 ['chromecast_branding=="Chrome"', {
60 'dependencies': [
61 '<(cast_internal_gyp):crash_internal',
62 ],
63 }, {
64 'sources': [
65 'crash/cast_crash_reporter_client_simple.cc',
66 ],
67 }],
68 ]
69 }, # end of target 'cast_crash_client'
70 {
48 'target_name': 'cast_net', 71 'target_name': 'cast_net',
49 'type': '<(component)', 72 'type': '<(component)',
50 'sources': [ 73 'sources': [
51 'net/network_change_notifier_cast.cc', 74 'net/network_change_notifier_cast.cc',
52 'net/network_change_notifier_cast.h', 75 'net/network_change_notifier_cast.h',
53 'net/network_change_notifier_factory_cast.cc', 76 'net/network_change_notifier_factory_cast.cc',
54 'net/network_change_notifier_factory_cast.h', 77 'net/network_change_notifier_factory_cast.h',
55 ], 78 ],
56 }, 79 },
57 { 80 {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 }, 129 },
107 ], 130 ],
108 }, 131 },
109 # This target contains all content-embedder implementation that is 132 # This target contains all content-embedder implementation that is
110 # non-platform-specific. 133 # non-platform-specific.
111 { 134 {
112 'target_name': 'cast_shell_common', 135 'target_name': 'cast_shell_common',
113 'type': '<(component)', 136 'type': '<(component)',
114 'dependencies': [ 137 'dependencies': [
115 'cast_base', 138 'cast_base',
139 'cast_crash_client',
116 'cast_shell_pak', 140 'cast_shell_pak',
117 'cast_shell_resources', 141 'cast_shell_resources',
118 'cast_version_header', 142 'cast_version_header',
119 'chromecast_locales.gyp:chromecast_locales_pak', 143 'chromecast_locales.gyp:chromecast_locales_pak',
120 'chromecast_locales.gyp:chromecast_settings', 144 'chromecast_locales.gyp:chromecast_settings',
121 'media/media.gyp:media_base', 145 'media/media.gyp:media_base',
122 '../base/base.gyp:base', 146 '../base/base.gyp:base',
123 '../components/components.gyp:breakpad_host', 147 '../components/components.gyp:breakpad_host',
124 '../components/components.gyp:cdm_renderer', 148 '../components/components.gyp:cdm_renderer',
125 '../components/components.gyp:component_metrics_proto', 149 '../components/components.gyp:component_metrics_proto',
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 }, 440 },
417 'variables': { 441 'variables': {
418 'jni_gen_package': 'chromecast', 442 'jni_gen_package': 'chromecast',
419 }, 443 },
420 'includes': [ '../build/jni_generator.gypi' ], 444 'includes': [ '../build/jni_generator.gypi' ],
421 }, 445 },
422 ], # end of targets 446 ], # end of targets
423 }, { # OS != "android" 447 }, { # OS != "android"
424 'targets': [ 448 'targets': [
425 { 449 {
426 'target_name': 'cast_crash_client',
427 'type': '<(component)',
428 'dependencies': [
429 '../breakpad/breakpad.gyp:breakpad_client',
430 '../components/components.gyp:crash_component',
431 ],
432 'sources': [
433 'crash/cast_crash_reporter_client.cc',
434 'crash/cast_crash_reporter_client.h',
435 ],
436 'conditions': [
437 ['chromecast_branding=="Chrome"', {
438 'dependencies': [
439 '<(cast_internal_gyp):crash_internal',
440 ],
441 }, {
442 'sources': [
443 'crash/cast_crash_reporter_client_simple.cc',
444 ],
445 }],
446 ]
447 }, # end of target 'cast_crash_client'
448 {
449 'target_name': 'cast_shell_media', 450 'target_name': 'cast_shell_media',
450 'type': '<(component)', 451 'type': '<(component)',
451 'dependencies': [ 452 'dependencies': [
452 'media/media.gyp:cast_media', 453 'media/media.gyp:cast_media',
453 '../content/content.gyp:content', 454 '../content/content.gyp:content',
454 '../ipc/ipc.gyp:ipc', 455 '../ipc/ipc.gyp:ipc',
455 '../media/media.gyp:media', 456 '../media/media.gyp:media',
456 ], 457 ],
457 'sources': [ 458 'sources': [
458 'browser/media/cast_browser_cdm_factory.cc', 459 'browser/media/cast_browser_cdm_factory.cc',
(...skipping 26 matching lines...) Expand all
485 'renderer/media/video_pipeline_proxy.h', 486 'renderer/media/video_pipeline_proxy.h',
486 ], 487 ],
487 }, # end of target 'cast_shell_media' 488 }, # end of target 'cast_shell_media'
488 # This target contains all of the primary code of |cast_shell|, except 489 # This target contains all of the primary code of |cast_shell|, except
489 # for |main|. This allows end-to-end tests using |cast_shell|. 490 # for |main|. This allows end-to-end tests using |cast_shell|.
490 # This also includes all targets that cannot be built on Android. 491 # This also includes all targets that cannot be built on Android.
491 { 492 {
492 'target_name': 'cast_shell_core', 493 'target_name': 'cast_shell_core',
493 'type': '<(component)', 494 'type': '<(component)',
494 'dependencies': [ 495 'dependencies': [
495 'cast_crash_client',
496 'cast_net', 496 'cast_net',
497 'cast_shell_media', 497 'cast_shell_media',
498 'cast_shell_common', 498 'cast_shell_common',
499 'media/media.gyp:cast_media', 499 'media/media.gyp:cast_media',
500 '../ui/aura/aura.gyp:aura_test_support', 500 '../ui/aura/aura.gyp:aura_test_support',
501 ], 501 ],
502 'conditions': [ 502 'conditions': [
503 ['chromecast_branding=="Chrome"', { 503 ['chromecast_branding=="Chrome"', {
504 'dependencies': [ 504 'dependencies': [
505 '<(cast_internal_gyp):cast_gfx_internal', 505 '<(cast_internal_gyp):cast_gfx_internal',
(...skipping 12 matching lines...) Expand all
518 'cast_shell_core', 518 'cast_shell_core',
519 ], 519 ],
520 'sources': [ 520 'sources': [
521 'app/cast_main.cc', 521 'app/cast_main.cc',
522 ], 522 ],
523 }, 523 },
524 ], # end of targets 524 ], # end of targets
525 }], 525 }],
526 ], # end of conditions 526 ], # end of conditions
527 } 527 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698