OLD | NEW |
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 'use_chromecast_webui%': 0, |
13 }, | 14 }, |
14 'includes': [ | 15 'includes': [ |
15 'chromecast_tests.gypi', | 16 'chromecast_tests.gypi', |
16 ], | 17 ], |
17 'target_defaults': { | 18 'target_defaults': { |
18 'include_dirs': [ | 19 'include_dirs': [ |
19 '..', # Root of Chromium checkout | 20 '..', # Root of Chromium checkout |
20 ], | 21 ], |
21 'conditions': [ | 22 'conditions': [ |
22 ['disable_display==1', { | 23 ['disable_display==1', { |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 '<(SHARED_INTERMEDIATE_DIR)/chromecast/shell_resources.pak', | 123 '<(SHARED_INTERMEDIATE_DIR)/chromecast/shell_resources.pak', |
123 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 124 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
124 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', | 125 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resource
s_100_percent.pak', |
125 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en
-US.pak', | 126 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en
-US.pak', |
126 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 127 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
127 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', | 128 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.
pak', |
128 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', | 129 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', |
129 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p
ak', | 130 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.p
ak', |
130 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', | 131 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak', |
131 ], | 132 ], |
| 133 'conditions': [ |
| 134 ['chromecast_branding=="Chrome" and use_chromecast_webui==1', { |
| 135 'pak_inputs': [ |
| 136 '<(SHARED_INTERMEDIATE_DIR)/chromecast/app_resources.pak', |
| 137 '<(SHARED_INTERMEDIATE_DIR)/chromecast/cast_webui_resources.pa
k', |
| 138 ], |
| 139 }], |
| 140 ], |
132 'pak_output': '<(PRODUCT_DIR)/assets/cast_shell.pak', | 141 'pak_output': '<(PRODUCT_DIR)/assets/cast_shell.pak', |
133 }, | 142 }, |
134 'includes': [ '../build/repack_action.gypi' ], | 143 'includes': [ '../build/repack_action.gypi' ], |
135 }, | 144 }, |
136 ], | 145 ], |
137 }, | 146 'conditions': [ |
| 147 ['chromecast_branding=="Chrome" and use_chromecast_webui==1', { |
| 148 'dependencies': [ |
| 149 'internal/chromecast_resources.gyp:chromecast_app_resources', |
| 150 'internal/chromecast_resources.gyp:chromecast_webui_resources', |
| 151 ], |
| 152 }], |
| 153 ], |
| 154 }, # end of target 'cast_shell_pak' |
138 # This target contains all content-embedder implementation that is | 155 # This target contains all content-embedder implementation that is |
139 # non-platform-specific. | 156 # non-platform-specific. |
140 { | 157 { |
141 'target_name': 'cast_shell_common', | 158 'target_name': 'cast_shell_common', |
142 'type': '<(component)', | 159 'type': '<(component)', |
143 'dependencies': [ | 160 'dependencies': [ |
144 'cast_base', | 161 'cast_base', |
145 'cast_crash_client', | 162 'cast_crash_client', |
146 'cast_net', | 163 'cast_net', |
147 'cast_shell_pak', | 164 'cast_shell_pak', |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 # TODO(dougsteed): remove when Chromecast moves to boringssl. | 549 # TODO(dougsteed): remove when Chromecast moves to boringssl. |
533 # Allow the cast shell to find the NSS module in the same directory. | 550 # Allow the cast shell to find the NSS module in the same directory. |
534 'ldflags': [ | 551 'ldflags': [ |
535 '-Wl,-rpath=\$$ORIGIN' | 552 '-Wl,-rpath=\$$ORIGIN' |
536 ], | 553 ], |
537 }, | 554 }, |
538 ], # end of targets | 555 ], # end of targets |
539 }], | 556 }], |
540 ], # end of conditions | 557 ], # end of conditions |
541 } | 558 } |
OLD | NEW |