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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
239 'type': 'static_library', | 239 'type': 'static_library', |
240 'dependencies': [ | 240 'dependencies': [ |
241 '../components/components.gyp:keyed_service_content', | 241 '../components/components.gyp:keyed_service_content', |
242 '../components/components.gyp:keyed_service_core', | 242 '../components/components.gyp:keyed_service_core', |
243 '../components/components.gyp:pref_registry', | 243 '../components/components.gyp:pref_registry', |
244 '../components/components.gyp:usb_service', | 244 '../components/components.gyp:usb_service', |
245 '../content/content.gyp:content_browser', | 245 '../content/content.gyp:content_browser', |
246 '../device/serial/serial.gyp:device_serial', | 246 '../device/serial/serial.gyp:device_serial', |
247 '../skia/skia.gyp:skia', | 247 '../skia/skia.gyp:skia', |
248 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 248 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
249 'cast_channel_proto', | |
249 'common/api/api.gyp:extensions_api', | 250 'common/api/api.gyp:extensions_api', |
250 'extensions_common', | 251 'extensions_common', |
251 'extensions_strings.gyp:extensions_strings', | 252 'extensions_strings.gyp:extensions_strings', |
252 ], | 253 ], |
253 'include_dirs': [ | 254 'include_dirs': [ |
254 '..', | 255 '..', |
255 '<(INTERMEDIATE_DIR)', | 256 '<(INTERMEDIATE_DIR)', |
256 # Needed to access generated API headers. | 257 # Needed to access generated API headers. |
257 '<(SHARED_INTERMEDIATE_DIR)', | 258 '<(SHARED_INTERMEDIATE_DIR)', |
258 # Needed for grit. | 259 # Needed for grit. |
259 '<(SHARED_INTERMEDIATE_DIR)/chrome', | 260 '<(SHARED_INTERMEDIATE_DIR)/chrome', |
260 ], | 261 ], |
261 'sources': [ | 262 'sources': [ |
262 'browser/admin_policy.cc', | 263 'browser/admin_policy.cc', |
263 'browser/admin_policy.h', | 264 'browser/admin_policy.h', |
264 # NOTE: When moving an API out of Chrome be sure to verify that the | 265 # NOTE: When moving an API out of Chrome be sure to verify that the |
265 # Android build still compiles. See conditions below. | 266 # Android build still compiles. See conditions below. |
266 'browser/api/api_resource.cc', | 267 'browser/api/api_resource.cc', |
267 'browser/api/api_resource.h', | 268 'browser/api/api_resource.h', |
268 'browser/api/api_resource_manager.h', | 269 'browser/api/api_resource_manager.h', |
269 'browser/api/app_runtime/app_runtime_api.cc', | 270 'browser/api/app_runtime/app_runtime_api.cc', |
270 'browser/api/app_runtime/app_runtime_api.h', | 271 'browser/api/app_runtime/app_runtime_api.h', |
271 'browser/api/app_view/app_view_internal_api.cc', | 272 'browser/api/app_view/app_view_internal_api.cc', |
272 'browser/api/app_view/app_view_internal_api.h', | 273 'browser/api/app_view/app_view_internal_api.h', |
273 'browser/api/async_api_function.cc', | 274 'browser/api/async_api_function.cc', |
274 'browser/api/async_api_function.h', | 275 'browser/api/async_api_function.h', |
276 'browser/api/cast_channel/cast_auth_util.h', | |
277 'browser/api/cast_channel/cast_channel_api.cc', | |
278 'browser/api/cast_channel/cast_channel_api.h', | |
279 'browser/api/cast_channel/cast_message_util.cc', | |
280 'browser/api/cast_channel/cast_message_util.h', | |
281 'browser/api/cast_channel/cast_socket.cc', | |
282 'browser/api/cast_channel/cast_socket.h', | |
275 'browser/api/dns/dns_api.cc', | 283 'browser/api/dns/dns_api.cc', |
276 'browser/api/dns/dns_api.h', | 284 'browser/api/dns/dns_api.h', |
277 'browser/api/dns/host_resolver_wrapper.cc', | 285 'browser/api/dns/host_resolver_wrapper.cc', |
278 'browser/api/dns/host_resolver_wrapper.h', | 286 'browser/api/dns/host_resolver_wrapper.h', |
279 'browser/api/extensions_api_client.cc', | 287 'browser/api/extensions_api_client.cc', |
280 'browser/api/extensions_api_client.h', | 288 'browser/api/extensions_api_client.h', |
289 'browser/api/hid/hid_api.cc', | |
290 'browser/api/hid/hid_api.h', | |
291 'browser/api/hid/hid_connection_resource.cc', | |
292 'browser/api/hid/hid_connection_resource.h', | |
293 'browser/api/hid/hid_device_manager.cc', | |
294 'browser/api/hid/hid_device_manager.h', | |
281 'browser/api/power/power_api.cc', | 295 'browser/api/power/power_api.cc', |
282 'browser/api/power/power_api.h', | 296 'browser/api/power/power_api.h', |
283 'browser/api/power/power_api_manager.cc', | 297 'browser/api/power/power_api_manager.cc', |
284 'browser/api/power/power_api_manager.h', | 298 'browser/api/power/power_api_manager.h', |
285 'browser/api/runtime/runtime_api.cc', | 299 'browser/api/runtime/runtime_api.cc', |
286 'browser/api/runtime/runtime_api.h', | 300 'browser/api/runtime/runtime_api.h', |
287 'browser/api/runtime/runtime_api_delegate.cc', | 301 'browser/api/runtime/runtime_api_delegate.cc', |
288 'browser/api/runtime/runtime_api_delegate.h', | 302 'browser/api/runtime/runtime_api_delegate.h', |
289 'browser/api/serial/serial_api.cc', | 303 'browser/api/serial/serial_api.cc', |
290 'browser/api/serial/serial_api.h', | 304 'browser/api/serial/serial_api.h', |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
478 ], | 492 ], |
479 'sources!': [ | 493 'sources!': [ |
480 'browser/browser_context_keyed_service_factories.cc', | 494 'browser/browser_context_keyed_service_factories.cc', |
481 'browser/browser_context_keyed_service_factories.h', | 495 'browser/browser_context_keyed_service_factories.h', |
482 ], | 496 ], |
483 'dependencies!': [ | 497 'dependencies!': [ |
484 '../components/components.gyp:usb_service', | 498 '../components/components.gyp:usb_service', |
485 '../device/serial/serial.gyp:device_serial', | 499 '../device/serial/serial.gyp:device_serial', |
486 ], | 500 ], |
487 }], | 501 }], |
502 ['use_openssl==1', { | |
503 'sources': [ | |
504 'browser/api/cast_channel/cast_auth_util_openssl.cc', | |
505 ], | |
506 }, { | |
507 'sources': [ | |
Yoyo Zhou
2014/07/24 21:21:34
Why are there two 'sources' here?
Ken Rockot(use gerrit already)
2014/07/24 21:23:32
Looks like one is for use_openssl==1 and the other
Yoyo Zhou
2014/07/24 21:24:27
Ah, thanks.
| |
508 # cast_auth_util_nss.cc uses NSS functions. | |
509 'browser/api/cast_channel/cast_auth_util_nss.cc', | |
510 ], | |
511 }], | |
512 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { | |
513 'dependencies': [ | |
514 '../build/linux/system.gyp:ssl', | |
515 ], | |
516 }], | |
517 ['OS == "mac" or OS == "ios" or OS == "win"', { | |
518 'dependencies': [ | |
519 '../third_party/nss/nss.gyp:nspr', | |
520 '../third_party/nss/nss.gyp:nss', | |
521 ], | |
522 }], | |
488 ], | 523 ], |
489 # Disable c4267 warnings until we fix size_t to int truncations. | 524 # Disable c4267 warnings until we fix size_t to int truncations. |
490 'msvs_disabled_warnings': [ 4267, ], | 525 'msvs_disabled_warnings': [ 4267, ], |
491 }, | 526 }, |
492 { | 527 { |
493 'target_name': 'extensions_renderer', | 528 'target_name': 'extensions_renderer', |
494 'type': 'static_library', | 529 'type': 'static_library', |
495 'dependencies': [ | 530 'dependencies': [ |
496 'extensions_resources.gyp:extensions_resources', | 531 'extensions_resources.gyp:extensions_resources', |
497 '../chrome/chrome_resources.gyp:chrome_resources', | 532 '../chrome/chrome_resources.gyp:chrome_resources', |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
733 'pak_inputs': [ | 768 'pak_inputs': [ |
734 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', | 769 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', |
735 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak', | 770 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resourc es.pak', |
736 ], | 771 ], |
737 'pak_output': '<(PRODUCT_DIR)/extensions_unittests_resources.pak', | 772 'pak_output': '<(PRODUCT_DIR)/extensions_unittests_resources.pak', |
738 }, | 773 }, |
739 'includes': [ '../build/repack_action.gypi' ], | 774 'includes': [ '../build/repack_action.gypi' ], |
740 }, | 775 }, |
741 ], | 776 ], |
742 }, | 777 }, |
778 { | |
779 # Protobuf compiler / generator for chrome.cast.channel-related protocol b uffers. | |
780 # GN version: //extensions/browser/api/cast_channel/BUILD.gn | |
781 'target_name': 'cast_channel_proto', | |
782 'type': 'static_library', | |
783 'sources': [ 'browser/api/cast_channel/cast_channel.proto' ], | |
784 'variables': { | |
785 'proto_in_dir': 'browser/api/cast_channel', | |
786 'proto_out_dir': 'extensions/browser/api/cast_channel', | |
787 }, | |
788 'includes': [ '../build/protoc.gypi' ] | |
789 }, | |
743 ] | 790 ] |
744 } | 791 } |
OLD | NEW |