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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 '../base/base.gyp:base', | 240 '../base/base.gyp:base', |
241 '../base/base.gyp:base_prefs', | 241 '../base/base.gyp:base_prefs', |
242 '../components/components.gyp:keyed_service_content', | 242 '../components/components.gyp:keyed_service_content', |
243 '../components/components.gyp:keyed_service_core', | 243 '../components/components.gyp:keyed_service_core', |
244 '../components/components.gyp:pref_registry', | 244 '../components/components.gyp:pref_registry', |
245 '../components/components.gyp:usb_service', | 245 '../components/components.gyp:usb_service', |
246 '../content/content.gyp:content_browser', | 246 '../content/content.gyp:content_browser', |
247 '../device/serial/serial.gyp:device_serial', | 247 '../device/serial/serial.gyp:device_serial', |
248 '../skia/skia.gyp:skia', | 248 '../skia/skia.gyp:skia', |
249 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 249 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 250 'cast_channel_proto', |
250 'common/api/api.gyp:extensions_api', | 251 'common/api/api.gyp:extensions_api', |
251 'extensions_common', | 252 'extensions_common', |
252 'extensions_strings.gyp:extensions_strings', | 253 'extensions_strings.gyp:extensions_strings', |
253 ], | 254 ], |
254 'include_dirs': [ | 255 'include_dirs': [ |
255 '..', | 256 '..', |
256 '<(INTERMEDIATE_DIR)', | 257 '<(INTERMEDIATE_DIR)', |
257 # Needed to access generated API headers. | 258 # Needed to access generated API headers. |
258 '<(SHARED_INTERMEDIATE_DIR)', | 259 '<(SHARED_INTERMEDIATE_DIR)', |
259 # Needed for grit. | 260 # Needed for grit. |
260 '<(SHARED_INTERMEDIATE_DIR)/chrome', | 261 '<(SHARED_INTERMEDIATE_DIR)/chrome', |
261 ], | 262 ], |
262 'sources': [ | 263 'sources': [ |
263 'browser/admin_policy.cc', | 264 'browser/admin_policy.cc', |
264 'browser/admin_policy.h', | 265 'browser/admin_policy.h', |
265 # NOTE: When moving an API out of Chrome be sure to verify that the | 266 # NOTE: When moving an API out of Chrome be sure to verify that the |
266 # Android build still compiles. See conditions below. | 267 # Android build still compiles. See conditions below. |
267 'browser/api/api_resource.cc', | 268 'browser/api/api_resource.cc', |
268 'browser/api/api_resource.h', | 269 'browser/api/api_resource.h', |
269 'browser/api/api_resource_manager.h', | 270 'browser/api/api_resource_manager.h', |
270 'browser/api/app_runtime/app_runtime_api.cc', | 271 'browser/api/app_runtime/app_runtime_api.cc', |
271 'browser/api/app_runtime/app_runtime_api.h', | 272 'browser/api/app_runtime/app_runtime_api.h', |
272 'browser/api/app_view/app_view_internal_api.cc', | 273 'browser/api/app_view/app_view_internal_api.cc', |
273 'browser/api/app_view/app_view_internal_api.h', | 274 'browser/api/app_view/app_view_internal_api.h', |
274 'browser/api/async_api_function.cc', | 275 'browser/api/async_api_function.cc', |
275 'browser/api/async_api_function.h', | 276 'browser/api/async_api_function.h', |
| 277 'browser/api/cast_channel/cast_auth_util.h', |
| 278 'browser/api/cast_channel/cast_channel_api.cc', |
| 279 'browser/api/cast_channel/cast_channel_api.h', |
| 280 'browser/api/cast_channel/cast_message_util.cc', |
| 281 'browser/api/cast_channel/cast_message_util.h', |
| 282 'browser/api/cast_channel/cast_socket.cc', |
| 283 'browser/api/cast_channel/cast_socket.h', |
276 'browser/api/dns/dns_api.cc', | 284 'browser/api/dns/dns_api.cc', |
277 'browser/api/dns/dns_api.h', | 285 'browser/api/dns/dns_api.h', |
278 'browser/api/dns/host_resolver_wrapper.cc', | 286 'browser/api/dns/host_resolver_wrapper.cc', |
279 'browser/api/dns/host_resolver_wrapper.h', | 287 'browser/api/dns/host_resolver_wrapper.h', |
280 'browser/api/extensions_api_client.cc', | 288 'browser/api/extensions_api_client.cc', |
281 'browser/api/extensions_api_client.h', | 289 'browser/api/extensions_api_client.h', |
| 290 'browser/api/hid/hid_api.cc', |
| 291 'browser/api/hid/hid_api.h', |
| 292 'browser/api/hid/hid_connection_resource.cc', |
| 293 'browser/api/hid/hid_connection_resource.h', |
| 294 'browser/api/hid/hid_device_manager.cc', |
| 295 'browser/api/hid/hid_device_manager.h', |
282 'browser/api/power/power_api.cc', | 296 'browser/api/power/power_api.cc', |
283 'browser/api/power/power_api.h', | 297 'browser/api/power/power_api.h', |
284 'browser/api/power/power_api_manager.cc', | 298 'browser/api/power/power_api_manager.cc', |
285 'browser/api/power/power_api_manager.h', | 299 'browser/api/power/power_api_manager.h', |
286 'browser/api/runtime/runtime_api.cc', | 300 'browser/api/runtime/runtime_api.cc', |
287 'browser/api/runtime/runtime_api.h', | 301 'browser/api/runtime/runtime_api.h', |
288 'browser/api/runtime/runtime_api_delegate.cc', | 302 'browser/api/runtime/runtime_api_delegate.cc', |
289 'browser/api/runtime/runtime_api_delegate.h', | 303 'browser/api/runtime/runtime_api_delegate.h', |
290 'browser/api/serial/serial_api.cc', | 304 'browser/api/serial/serial_api.cc', |
291 'browser/api/serial/serial_api.h', | 305 'browser/api/serial/serial_api.h', |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 ], | 497 ], |
484 'sources!': [ | 498 'sources!': [ |
485 'browser/browser_context_keyed_service_factories.cc', | 499 'browser/browser_context_keyed_service_factories.cc', |
486 'browser/browser_context_keyed_service_factories.h', | 500 'browser/browser_context_keyed_service_factories.h', |
487 ], | 501 ], |
488 'dependencies!': [ | 502 'dependencies!': [ |
489 '../components/components.gyp:usb_service', | 503 '../components/components.gyp:usb_service', |
490 '../device/serial/serial.gyp:device_serial', | 504 '../device/serial/serial.gyp:device_serial', |
491 ], | 505 ], |
492 }], | 506 }], |
| 507 ['use_openssl==1', { |
| 508 'sources': [ |
| 509 'browser/api/cast_channel/cast_auth_util_openssl.cc', |
| 510 ], |
| 511 }, { |
| 512 'sources': [ |
| 513 # cast_auth_util_nss.cc uses NSS functions. |
| 514 'browser/api/cast_channel/cast_auth_util_nss.cc', |
| 515 ], |
| 516 }], |
| 517 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { |
| 518 'dependencies': [ |
| 519 '../build/linux/system.gyp:ssl', |
| 520 ], |
| 521 }], |
| 522 ['OS == "mac" or OS == "ios" or OS == "win"', { |
| 523 'dependencies': [ |
| 524 '../third_party/nss/nss.gyp:nspr', |
| 525 '../third_party/nss/nss.gyp:nss', |
| 526 ], |
| 527 }], |
493 ], | 528 ], |
494 # Disable c4267 warnings until we fix size_t to int truncations. | 529 # Disable c4267 warnings until we fix size_t to int truncations. |
495 'msvs_disabled_warnings': [ 4267, ], | 530 'msvs_disabled_warnings': [ 4267, ], |
496 }, | 531 }, |
497 { | 532 { |
498 'target_name': 'extensions_renderer', | 533 'target_name': 'extensions_renderer', |
499 'type': 'static_library', | 534 'type': 'static_library', |
500 'dependencies': [ | 535 'dependencies': [ |
501 'extensions_resources.gyp:extensions_resources', | 536 'extensions_resources.gyp:extensions_resources', |
502 '../chrome/chrome_resources.gyp:chrome_resources', | 537 '../chrome/chrome_resources.gyp:chrome_resources', |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 'test/test_permissions_provider.h', | 798 'test/test_permissions_provider.h', |
764 ], | 799 ], |
765 'conditions': [ | 800 'conditions': [ |
766 ['OS=="win" and win_use_allocator_shim==1', { | 801 ['OS=="win" and win_use_allocator_shim==1', { |
767 'dependencies': [ | 802 'dependencies': [ |
768 '../base/allocator/allocator.gyp:allocator', | 803 '../base/allocator/allocator.gyp:allocator', |
769 ], | 804 ], |
770 }], | 805 }], |
771 ], | 806 ], |
772 }, | 807 }, |
| 808 { |
| 809 # Protobuf compiler / generator for chrome.cast.channel-related protocol b
uffers. |
| 810 # GN version: //extensions/browser/api/cast_channel/BUILD.gn |
| 811 'target_name': 'cast_channel_proto', |
| 812 'type': 'static_library', |
| 813 'sources': [ 'browser/api/cast_channel/cast_channel.proto' ], |
| 814 'variables': { |
| 815 'proto_in_dir': 'browser/api/cast_channel', |
| 816 'proto_out_dir': 'extensions/browser/api/cast_channel', |
| 817 }, |
| 818 'includes': [ '../build/protoc.gypi' ] |
| 819 }, |
773 ] | 820 ] |
774 } | 821 } |
OLD | NEW |