| 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 19 matching lines...) Expand all Loading... |
| 30 # The type of this target must be none. This is so that resources can | 30 # The type of this target must be none. This is so that resources can |
| 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 '../third_party/mojo/mojom_bindings_generator.gypi', | 35 '../third_party/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': [ |
| 41 ['enable_wifi_display==1', { |
| 42 'sources': [ |
| 43 '<@(extensions_common_mojo_sources_wifi_display)', |
| 44 ], |
| 45 }], |
| 46 ], |
| 40 }, | 47 }, |
| 41 { | 48 { |
| 42 # GN version: //extensions/common | 49 # GN version: //extensions/common |
| 43 'target_name': 'extensions_common', | 50 'target_name': 'extensions_common', |
| 44 'type': 'static_library', | 51 'type': 'static_library', |
| 45 'dependencies': [ | 52 'dependencies': [ |
| 46 '../components/components.gyp:crx_file', | 53 '../components/components.gyp:crx_file', |
| 47 '../components/components.gyp:url_matcher', | 54 '../components/components.gyp:url_matcher', |
| 48 '../content/content.gyp:content_common', | 55 '../content/content.gyp:content_common', |
| 49 '../crypto/crypto.gyp:crypto', | 56 '../crypto/crypto.gyp:crypto', |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 }], | 177 }], |
| 171 ['OS == "linux" and chromeos == 0', { | 178 ['OS == "linux" and chromeos == 0', { |
| 172 'dependencies': [ | 179 'dependencies': [ |
| 173 '../build/linux/system.gyp:dbus', | 180 '../build/linux/system.gyp:dbus', |
| 174 '../dbus/dbus.gyp:dbus', | 181 '../dbus/dbus.gyp:dbus', |
| 175 ], | 182 ], |
| 176 'sources': [ | 183 'sources': [ |
| 177 '<@(extensions_browser_sources_linux_nonchromeos)', | 184 '<@(extensions_browser_sources_linux_nonchromeos)', |
| 178 ], | 185 ], |
| 179 }], | 186 }], |
| 187 ['enable_wifi_display == 1', { |
| 188 'sources': [ |
| 189 '<@(extensions_browser_sources_wifi_display)', |
| 190 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/wifi_display_sess
ion_service.mojom.cc', |
| 191 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/wifi_display_sess
ion_service.mojom.h', |
| 192 ], |
| 193 }], |
| 180 ], | 194 ], |
| 181 # Disable c4267 warnings until we fix size_t to int truncations. | 195 # Disable c4267 warnings until we fix size_t to int truncations. |
| 182 'msvs_disabled_warnings': [ 4267, ], | 196 'msvs_disabled_warnings': [ 4267, ], |
| 183 }, | 197 }, |
| 184 { | 198 { |
| 185 # GN version: //extensions/renderer | 199 # GN version: //extensions/renderer |
| 186 'target_name': 'extensions_renderer', | 200 'target_name': 'extensions_renderer', |
| 187 'type': 'static_library', | 201 'type': 'static_library', |
| 188 'dependencies': [ | 202 'dependencies': [ |
| 189 'extensions_resources.gyp:extensions_resources', | 203 'extensions_resources.gyp:extensions_resources', |
| 190 '../components/components.gyp:guest_view_renderer', | 204 '../components/components.gyp:guest_view_renderer', |
| 191 '../content/content.gyp:content_resources', | 205 '../content/content.gyp:content_resources', |
| 192 '../gin/gin.gyp:gin', | 206 '../gin/gin.gyp:gin', |
| 193 '../third_party/WebKit/public/blink.gyp:blink', | 207 '../third_party/WebKit/public/blink.gyp:blink', |
| 194 '../third_party/mojo/mojo_public.gyp:mojo_js_bindings', | 208 '../third_party/mojo/mojo_public.gyp:mojo_js_bindings', |
| 195 ], | 209 ], |
| 196 'include_dirs': [ | 210 'include_dirs': [ |
| 197 '..', | 211 '..', |
| 198 ], | 212 ], |
| 199 'sources': [ | 213 'sources': [ |
| 200 '<@(extensions_renderer_sources)', | 214 '<@(extensions_renderer_sources)', |
| 201 ], | 215 ], |
| 202 # Disable c4267 warnings until we fix size_t to int truncations. | 216 # Disable c4267 warnings until we fix size_t to int truncations. |
| 203 'msvs_disabled_warnings': [ 4267, ], | 217 'msvs_disabled_warnings': [ 4267, ], |
| 218 'conditions': [ |
| 219 ['enable_wifi_display==1', { |
| 220 'sources': [ |
| 221 '<@(extensions_render_sources_wifi_display)', |
| 222 ], |
| 223 }], |
| 224 ], |
| 204 }, | 225 }, |
| 205 { | 226 { |
| 206 # GN version: //extensions/utility | 227 # GN version: //extensions/utility |
| 207 'target_name': 'extensions_utility', | 228 'target_name': 'extensions_utility', |
| 208 'type': 'static_library', | 229 'type': 'static_library', |
| 209 'dependencies': [ | 230 'dependencies': [ |
| 210 '../content/content.gyp:content_common', | 231 '../content/content.gyp:content_common', |
| 211 '../content/content.gyp:content_utility', | 232 '../content/content.gyp:content_utility', |
| 212 '../skia/skia.gyp:skia', | 233 '../skia/skia.gyp:skia', |
| 213 '../third_party/zlib/google/zip.gyp:zip', | 234 '../third_party/zlib/google/zip.gyp:zip', |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 '<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak', | 318 '<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak', |
| 298 ], | 319 ], |
| 299 'pak_output': '<(PRODUCT_DIR)/extensions_shell_and_test.pak', | 320 'pak_output': '<(PRODUCT_DIR)/extensions_shell_and_test.pak', |
| 300 }, | 321 }, |
| 301 'includes': [ '../build/repack_action.gypi' ], | 322 'includes': [ '../build/repack_action.gypi' ], |
| 302 }, | 323 }, |
| 303 ], | 324 ], |
| 304 }, | 325 }, |
| 305 ] | 326 ] |
| 306 } | 327 } |
| OLD | NEW |