| OLD | NEW |
| 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 'includes': [ | 6 'includes': [ |
| 7 'extensions.gypi', | 7 'extensions.gypi', |
| 8 ], | 8 ], |
| 9 'variables': { | 9 'variables': { |
| 10 'chromium_code': 1, | 10 'chromium_code': 1, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 # depend upon this target for generating the js bindings files. Any | 31 # depend upon this target for generating the js bindings files. Any |
| 32 # generated cpp files must be listed explicitly in extensions_common | 32 # generated cpp files must be listed explicitly in extensions_common |
| 33 'type': 'none', | 33 'type': 'none', |
| 34 'includes': [ | 34 'includes': [ |
| 35 '../mojo/mojom_bindings_generator.gypi', | 35 '../mojo/mojom_bindings_generator.gypi', |
| 36 ], | 36 ], |
| 37 'sources': [ | 37 'sources': [ |
| 38 '<@(extensions_common_mojo_sources)', | 38 '<@(extensions_common_mojo_sources)', |
| 39 ], | 39 ], |
| 40 'conditions': [ | 40 'conditions': [ |
| 41 ['enable_wifi_display==1', { | 41 ['proprietary_codecs==1 and enable_wifi_display==1', { |
| 42 'sources': [ | 42 'sources': [ |
| 43 '<@(extensions_common_mojo_sources_wifi_display)', | 43 '<@(extensions_common_mojo_sources_wifi_display)', |
| 44 ], | 44 ], |
| 45 }], | 45 }], |
| 46 ], | 46 ], |
| 47 }, | 47 }, |
| 48 { | 48 { |
| 49 # GN version: //extensions/common | 49 # GN version: //extensions/common |
| 50 'target_name': 'extensions_common', | 50 'target_name': 'extensions_common', |
| 51 'type': 'static_library', | 51 'type': 'static_library', |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 }], | 179 }], |
| 180 ['OS == "linux" and chromeos == 0', { | 180 ['OS == "linux" and chromeos == 0', { |
| 181 'dependencies': [ | 181 'dependencies': [ |
| 182 '../build/linux/system.gyp:dbus', | 182 '../build/linux/system.gyp:dbus', |
| 183 '../dbus/dbus.gyp:dbus', | 183 '../dbus/dbus.gyp:dbus', |
| 184 ], | 184 ], |
| 185 'sources': [ | 185 'sources': [ |
| 186 '<@(extensions_browser_sources_linux_nonchromeos)', | 186 '<@(extensions_browser_sources_linux_nonchromeos)', |
| 187 ], | 187 ], |
| 188 }], | 188 }], |
| 189 ['enable_wifi_display == 1', { | 189 ['proprietary_codecs==1 and enable_wifi_display == 1', { |
| 190 'sources': [ | 190 'sources': [ |
| 191 '<@(extensions_browser_sources_wifi_display)', | 191 '<@(extensions_browser_sources_wifi_display)', |
| 192 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/wifi_display_sess
ion_service.mojom.cc', | 192 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/wifi_display_sess
ion_service.mojom.cc', |
| 193 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/wifi_display_sess
ion_service.mojom.h', | 193 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/wifi_display_sess
ion_service.mojom.h', |
| 194 ], | 194 ], |
| 195 }], | 195 }], |
| 196 ], | 196 ], |
| 197 # Disable c4267 warnings until we fix size_t to int truncations. | 197 # Disable c4267 warnings until we fix size_t to int truncations. |
| 198 'msvs_disabled_warnings': [ 4267, ], | 198 'msvs_disabled_warnings': [ 4267, ], |
| 199 }, | 199 }, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 212 ], | 212 ], |
| 213 'include_dirs': [ | 213 'include_dirs': [ |
| 214 '..', | 214 '..', |
| 215 ], | 215 ], |
| 216 'sources': [ | 216 'sources': [ |
| 217 '<@(extensions_renderer_sources)', | 217 '<@(extensions_renderer_sources)', |
| 218 ], | 218 ], |
| 219 # Disable c4267 warnings until we fix size_t to int truncations. | 219 # Disable c4267 warnings until we fix size_t to int truncations. |
| 220 'msvs_disabled_warnings': [ 4267, ], | 220 'msvs_disabled_warnings': [ 4267, ], |
| 221 'conditions': [ | 221 'conditions': [ |
| 222 ['enable_wifi_display==1', { | 222 ['proprietary_codecs==1 and enable_wifi_display==1', { |
| 223 'dependencies': [ | 223 'dependencies': [ |
| 224 '../third_party/openh264/openh264.gyp:openh264_encoder', |
| 224 '../third_party/wds/wds.gyp:libwds', | 225 '../third_party/wds/wds.gyp:libwds', |
| 225 ], | 226 ], |
| 226 'sources': [ | 227 'sources': [ |
| 227 '<@(extensions_renderer_sources_wifi_display)', | 228 '<@(extensions_renderer_sources_wifi_display)', |
| 228 ], | 229 ], |
| 229 }], | 230 }], |
| 230 ], | 231 ], |
| 231 }, | 232 }, |
| 232 { | 233 { |
| 233 # GN version: //extensions/utility | 234 # GN version: //extensions/utility |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 '<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak', | 320 '<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak', |
| 320 ], | 321 ], |
| 321 'pak_output': '<(PRODUCT_DIR)/extensions_shell_and_test.pak', | 322 'pak_output': '<(PRODUCT_DIR)/extensions_shell_and_test.pak', |
| 322 }, | 323 }, |
| 323 'includes': [ '../build/repack_action.gypi' ], | 324 'includes': [ '../build/repack_action.gypi' ], |
| 324 }, | 325 }, |
| 325 ], | 326 ], |
| 326 }, | 327 }, |
| 327 ] | 328 ] |
| 328 } | 329 } |
| OLD | NEW |