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: chromecast/chromecast.gyp

Issue 1257013003: Load CMA backend from shared library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK on posted task Created 5 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 '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 'cast_is_debug_build%': 0, 10 'cast_is_debug_build%': 0,
11 # Refers to enum CastProductType in components/metrics/proto/cast_logs.proto 11 # Refers to enum CastProductType in components/metrics/proto/cast_logs.proto
12 'cast_product_type%': 0, # CAST_PRODUCT_TYPE_UNKNOWN 12 'cast_product_type%': 0, # CAST_PRODUCT_TYPE_UNKNOWN
13 'chromium_code': 1, 13 'chromium_code': 1,
14 'chromecast_branding%': 'Chromium', 14 'chromecast_branding%': 'Chromium',
15 'disable_display%': 0, 15 'disable_display%': 0,
16 'enable_default_cast_graphics%': 1, 16 'enable_default_cast_graphics%': 1,
17 'ozone_platform_cast%': 0, 17 'ozone_platform_cast%': 0,
18 'use_chromecast_webui%': 0, 18 'use_chromecast_webui%': 0,
19 }, 19 },
20 'includes': [ 20 'includes': [
21 'chromecast_tests.gypi', 21 'chromecast_tests.gypi',
22 ], 22 ],
23 'target_defaults': { 23 'target_defaults': {
24 'include_dirs': [ 24 'include_dirs': [
25 '..', # Root of Chromium checkout 25 '..', # Root of Chromium checkout
26 'public/', # Public APIs
26 ], 27 ],
27 'conditions': [ 28 'conditions': [
28 ['disable_display==1', { 29 ['disable_display==1', {
29 'defines': ['DISABLE_DISPLAY'], 30 'defines': ['DISABLE_DISPLAY'],
30 }], 31 }],
31 ], 32 ],
32 }, 33 },
33 'targets': [ 34 'targets': [
34 # Public API target for OEM partners to replace shlibs. 35 # Public API target for OEM partners to replace shlibs.
35 { 36 {
36 'target_name': 'cast_public_api', 37 'target_name': 'cast_public_api',
37 'type': '<(component)', 38 'type': '<(component)',
38 'sources': [ 39 'sources': [
39 'public/cast_egl_platform.h', 40 'public/cast_egl_platform.h',
40 'public/cast_egl_platform_shlib.h', 41 'public/cast_egl_platform_shlib.h',
41 'public/cast_media_shlib.h', 42 'public/cast_media_shlib.h',
42 'public/cast_sys_info.h', 43 'public/cast_sys_info.h',
43 'public/chromecast_export.h', 44 'public/chromecast_export.h',
44 'public/graphics_properties_shlib.h', 45 'public/graphics_properties_shlib.h',
45 'public/graphics_types.h', 46 'public/graphics_types.h',
47 'public/media_codec_support.h',
48 'public/media/audio_pipeline_device.h',
49 'public/media/cast_decoder_buffer.h',
50 'public/media/cast_decrypt_config.h',
51 'public/media/cast_key_system.h',
46 'public/media/decoder_config.h', 52 'public/media/decoder_config.h',
53 'public/media/media_clock_device.h',
54 'public/media/media_component_device.h',
55 'public/media/media_pipeline_backend.h',
56 'public/media/media_pipeline_device_params.h',
47 'public/media/stream_id.h', 57 'public/media/stream_id.h',
58 'public/media/video_pipeline_device.h',
48 'public/osd_plane.h', 59 'public/osd_plane.h',
49 'public/osd_plane_shlib.h', 60 'public/osd_plane_shlib.h',
50 'public/osd_surface.h', 61 'public/osd_surface.h',
62 'public/task_runner.h',
51 'public/video_plane.h', 63 'public/video_plane.h',
52 ], 64 ],
53 }, 65 },
54 { 66 {
55 'target_name': 'cast_base', 67 'target_name': 'cast_base',
56 'type': '<(component)', 68 'type': '<(component)',
57 'dependencies': [ 69 'dependencies': [
58 '../base/base.gyp:base', 70 '../base/base.gyp:base',
59 ], 71 ],
60 'sources': [ 72 'sources': [
61 'base/cast_paths.cc', 73 'base/cast_paths.cc',
62 'base/cast_paths.h', 74 'base/cast_paths.h',
63 'base/chromecast_config_android.cc', 75 'base/chromecast_config_android.cc',
64 'base/chromecast_config_android.h', 76 'base/chromecast_config_android.h',
65 'base/chromecast_switches.cc', 77 'base/chromecast_switches.cc',
66 'base/chromecast_switches.h', 78 'base/chromecast_switches.h',
67 'base/error_codes.cc', 79 'base/error_codes.cc',
68 'base/error_codes.h', 80 'base/error_codes.h',
69 'base/metrics/cast_histograms.h', 81 'base/metrics/cast_histograms.h',
70 'base/metrics/cast_metrics_helper.cc', 82 'base/metrics/cast_metrics_helper.cc',
71 'base/metrics/cast_metrics_helper.h', 83 'base/metrics/cast_metrics_helper.h',
72 'base/metrics/grouped_histogram.cc', 84 'base/metrics/grouped_histogram.cc',
73 'base/metrics/grouped_histogram.h', 85 'base/metrics/grouped_histogram.h',
74 'base/path_utils.cc', 86 'base/path_utils.cc',
75 'base/path_utils.h', 87 'base/path_utils.h',
76 'base/process_utils.cc', 88 'base/process_utils.cc',
77 'base/process_utils.h', 89 'base/process_utils.h',
78 'base/serializers.cc', 90 'base/serializers.cc',
79 'base/serializers.h' 91 'base/serializers.h',
92 'base/task_runner_impl.cc',
93 'base/task_runner_impl.h',
80 ], 94 ],
81 'conditions': [ 95 'conditions': [
82 ['OS=="android"', { 96 ['OS=="android"', {
83 'dependencies': [ 97 'dependencies': [
84 'cast_jni_headers', 98 'cast_jni_headers',
85 ], 99 ],
86 }], 100 }],
87 ], 101 ],
88 }, # end of target 'cast_base' 102 }, # end of target 'cast_base'
89 { 103 {
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 'sources': [ 724 'sources': [
711 'graphics/cast_egl_platform_default.cc', 725 'graphics/cast_egl_platform_default.cc',
712 'graphics/graphics_properties_default.cc', 726 'graphics/graphics_properties_default.cc',
713 'graphics/osd_plane_default.cc' 727 'graphics/osd_plane_default.cc'
714 ], 728 ],
715 } 729 }
716 ] 730 ]
717 }], 731 }],
718 ], # end of conditions 732 ], # end of conditions
719 } 733 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698