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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 'browser/api/api_resource.h', | 246 'browser/api/api_resource.h', |
247 'browser/api/api_resource_manager.h', | 247 'browser/api/api_resource_manager.h', |
248 'browser/api/async_api_function.cc', | 248 'browser/api/async_api_function.cc', |
249 'browser/api/async_api_function.h', | 249 'browser/api/async_api_function.h', |
250 'browser/api/dns/dns_api.cc', | 250 'browser/api/dns/dns_api.cc', |
251 'browser/api/dns/dns_api.h', | 251 'browser/api/dns/dns_api.h', |
252 'browser/api/dns/host_resolver_wrapper.cc', | 252 'browser/api/dns/host_resolver_wrapper.cc', |
253 'browser/api/dns/host_resolver_wrapper.h', | 253 'browser/api/dns/host_resolver_wrapper.h', |
254 'browser/api/extensions_api_client.cc', | 254 'browser/api/extensions_api_client.cc', |
255 'browser/api/extensions_api_client.h', | 255 'browser/api/extensions_api_client.h', |
| 256 'browser/api/runtime/runtime_api.cc', |
| 257 'browser/api/runtime/runtime_api.h', |
| 258 'browser/api/runtime/runtime_api_delegate.cc', |
| 259 'browser/api/runtime/runtime_api_delegate.h', |
256 'browser/api/socket/socket.cc', | 260 'browser/api/socket/socket.cc', |
257 'browser/api/socket/socket.h', | 261 'browser/api/socket/socket.h', |
258 'browser/api/socket/socket_api.cc', | 262 'browser/api/socket/socket_api.cc', |
259 'browser/api/socket/socket_api.h', | 263 'browser/api/socket/socket_api.h', |
260 'browser/api/socket/tcp_socket.cc', | 264 'browser/api/socket/tcp_socket.cc', |
261 'browser/api/socket/tcp_socket.h', | 265 'browser/api/socket/tcp_socket.h', |
262 'browser/api/socket/udp_socket.cc', | 266 'browser/api/socket/udp_socket.cc', |
263 'browser/api/socket/udp_socket.h', | 267 'browser/api/socket/udp_socket.h', |
264 'browser/api/sockets_tcp/sockets_tcp_api.cc', | 268 'browser/api/sockets_tcp/sockets_tcp_api.cc', |
265 'browser/api/sockets_tcp/sockets_tcp_api.h', | 269 'browser/api/sockets_tcp/sockets_tcp_api.h', |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 ], | 402 ], |
399 'conditions': [ | 403 'conditions': [ |
400 ['enable_extensions==0', { | 404 ['enable_extensions==0', { |
401 # Exclude all API implementations and the ExtensionsApiClient | 405 # Exclude all API implementations and the ExtensionsApiClient |
402 # interface. Moving an API from src/chrome to src/extensions implies | 406 # interface. Moving an API from src/chrome to src/extensions implies |
403 # it can be cleanly disabled with enable_extensions==0. | 407 # it can be cleanly disabled with enable_extensions==0. |
404 # TODO: Eventually the entire extensions module should not be built | 408 # TODO: Eventually the entire extensions module should not be built |
405 # when enable_extensions==0. | 409 # when enable_extensions==0. |
406 'sources/': [ | 410 'sources/': [ |
407 ['exclude', '^browser/api/'], | 411 ['exclude', '^browser/api/'], |
| 412 ['include', '^browser/api/runtime/runtime_api.cc'], |
| 413 ['include', '^browser/api/runtime/runtime_api_delegate.cc'], |
408 ], | 414 ], |
409 'sources!': [ | 415 'sources!': [ |
410 'browser/browser_context_keyed_service_factories.cc', | 416 'browser/browser_context_keyed_service_factories.cc', |
411 'browser/browser_context_keyed_service_factories.h', | 417 'browser/browser_context_keyed_service_factories.h', |
412 ], | 418 ], |
413 'dependencies!': [ | 419 'dependencies!': [ |
414 '../components/components.gyp:usb_service', | 420 '../components/components.gyp:usb_service', |
415 ], | 421 ], |
416 }], | 422 }], |
417 ], | 423 ], |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 ], | 546 ], |
541 }], | 547 }], |
542 ] | 548 ] |
543 }, | 549 }, |
544 { | 550 { |
545 'target_name': 'extensions_test_support', | 551 'target_name': 'extensions_test_support', |
546 'type': 'static_library', | 552 'type': 'static_library', |
547 'dependencies': [ | 553 'dependencies': [ |
548 '../base/base.gyp:base', | 554 '../base/base.gyp:base', |
549 '../testing/gtest.gyp:gtest', | 555 '../testing/gtest.gyp:gtest', |
| 556 'common/api/api.gyp:extensions_api', |
550 'extensions_browser', | 557 'extensions_browser', |
551 'extensions_common', | 558 'extensions_common', |
552 ], | 559 ], |
553 'include_dirs': [ | 560 'include_dirs': [ |
554 '..', | 561 '..', |
| 562 '<(SHARED_INTERMEDIATE_DIR)', |
555 ], | 563 ], |
556 'sources': [ | 564 'sources': [ |
557 'browser/test_extensions_browser_client.cc', | 565 'browser/test_extensions_browser_client.cc', |
558 'browser/test_extensions_browser_client.h', | 566 'browser/test_extensions_browser_client.h', |
559 'browser/test_management_policy.cc', | 567 'browser/test_management_policy.cc', |
560 'browser/test_management_policy.h', | 568 'browser/test_management_policy.h', |
| 569 'browser/test_runtime_api_delegate.cc', |
| 570 'browser/test_runtime_api_delegate.h', |
561 'common/extension_builder.cc', | 571 'common/extension_builder.cc', |
562 'common/extension_builder.h', | 572 'common/extension_builder.h', |
563 'common/test_util.cc', | 573 'common/test_util.cc', |
564 'common/test_util.h', | 574 'common/test_util.h', |
565 'common/value_builder.cc', | 575 'common/value_builder.cc', |
566 'common/value_builder.h', | 576 'common/value_builder.h', |
567 'renderer/test_extensions_renderer_client.cc', | 577 'renderer/test_extensions_renderer_client.cc', |
568 'renderer/test_extensions_renderer_client.h', | 578 'renderer/test_extensions_renderer_client.h', |
569 ], | 579 ], |
570 # Disable c4267 warnings until we fix size_t to int truncations. | 580 # Disable c4267 warnings until we fix size_t to int truncations. |
(...skipping 30 matching lines...) Expand all Loading... |
601 'test/test_extensions_client.cc', | 611 'test/test_extensions_client.cc', |
602 'test/test_extensions_client.h', | 612 'test/test_extensions_client.h', |
603 'test/test_permission_message_provider.cc', | 613 'test/test_permission_message_provider.cc', |
604 'test/test_permission_message_provider.h', | 614 'test/test_permission_message_provider.h', |
605 'test/test_permissions_provider.cc', | 615 'test/test_permissions_provider.cc', |
606 'test/test_permissions_provider.h', | 616 'test/test_permissions_provider.h', |
607 ], | 617 ], |
608 }, | 618 }, |
609 ] | 619 ] |
610 } | 620 } |
OLD | NEW |