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

Side by Side Diff: chromecast/chromecast.gyp

Issue 1059073002: Loads CastEglPlatform implementation from shared library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | chromecast/ozone/DEPS » ('j') | chromecast/ozone/DEPS » ('J')
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,
11 'chromecast_branding%': 'Chromium', 11 'chromecast_branding%': 'Chromium',
12 'disable_display%': 0, 12 'disable_display%': 0,
13 'ozone_platform_cast%': 0,
13 'use_chromecast_webui%': 0, 14 'use_chromecast_webui%': 0,
14 }, 15 },
15 'includes': [ 16 'includes': [
16 'chromecast_tests.gypi', 17 'chromecast_tests.gypi',
17 ], 18 ],
18 'target_defaults': { 19 'target_defaults': {
19 'include_dirs': [ 20 'include_dirs': [
20 '..', # Root of Chromium checkout 21 '..', # Root of Chromium checkout
21 ], 22 ],
22 'conditions': [ 23 'conditions': [
23 ['disable_display==1', { 24 ['disable_display==1', {
24 'defines': ['DISABLE_DISPLAY'], 25 'defines': ['DISABLE_DISPLAY'],
25 }], 26 }],
26 ], 27 ],
27 }, 28 },
28 'targets': [ 29 'targets': [
29 # Public API target for OEM partners to replace shlibs. 30 # Public API target for OEM partners to replace shlibs.
30 { 31 {
31 'target_name': 'cast_public_api', 32 'target_name': 'cast_public_api',
32 'type': '<(component)', 33 'type': '<(component)',
33 'sources': [ 34 'sources': [
35 'public/cast_egl_platform.h',
36 'public/cast_egl_platform_shlib.h',
34 'public/chromecast_export.h', 37 'public/chromecast_export.h',
35 ], 38 ],
36 }, 39 },
37 # TODO(gunsch): Remove this fake target once it's either added or no 40 # TODO(gunsch): Remove this fake target once it's either added or no
38 # longer referenced from internal code. 41 # longer referenced from internal code.
39 {'target_name': 'cast_media_audio', 'type': 'none'}, 42 {'target_name': 'cast_media_audio', 'type': 'none'},
40 43
41 { 44 {
42 'target_name': 'cast_base', 45 'target_name': 'cast_base',
43 'type': '<(component)', 46 'type': '<(component)',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 'ozone/gpu_platform_support_cast.h', 100 'ozone/gpu_platform_support_cast.h',
98 'ozone/ozone_platform_cast.cc', 101 'ozone/ozone_platform_cast.cc',
99 'ozone/ozone_platform_cast.h', 102 'ozone/ozone_platform_cast.h',
100 'ozone/platform_window_cast.cc', 103 'ozone/platform_window_cast.cc',
101 'ozone/platform_window_cast.h', 104 'ozone/platform_window_cast.h',
102 'ozone/surface_factory_cast.cc', 105 'ozone/surface_factory_cast.cc',
103 'ozone/surface_factory_cast.h', 106 'ozone/surface_factory_cast.h',
104 'ozone/surface_ozone_egl_cast.cc', 107 'ozone/surface_ozone_egl_cast.cc',
105 'ozone/surface_ozone_egl_cast.h', 108 'ozone/surface_ozone_egl_cast.h',
106 ], 109 ],
110 'conditions': [
111 ['ozone_platform_cast==1', {
112 'dependencies': [
113 '<(cast_vendor_gyp):libcast_graphics_1.0'
114 ],
115 }],
116 ],
107 }, 117 },
108 { 118 {
109 'target_name': 'cast_shell_resources', 119 'target_name': 'cast_shell_resources',
110 'type': 'none', 120 'type': 'none',
111 'variables': { 121 'variables': {
112 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast', 122 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast',
113 }, 123 },
114 'actions': [ 124 'actions': [
115 { 125 {
116 'action_name': 'cast_shell_resources', 126 'action_name': 'cast_shell_resources',
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 # TODO(dougsteed): remove when Chromecast moves to boringssl. 585 # TODO(dougsteed): remove when Chromecast moves to boringssl.
576 # Allow the cast shell to find the NSS module in the same directory. 586 # Allow the cast shell to find the NSS module in the same directory.
577 'ldflags': [ 587 'ldflags': [
578 '-Wl,-rpath=\$$ORIGIN' 588 '-Wl,-rpath=\$$ORIGIN'
579 ], 589 ],
580 }, 590 },
581 ], # end of targets 591 ], # end of targets
582 }], 592 }],
583 ], # end of conditions 593 ], # end of conditions
584 } 594 }
OLDNEW
« no previous file with comments | « no previous file | chromecast/ozone/DEPS » ('j') | chromecast/ozone/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698