Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'browser_extensions', | 8 'target_name': 'browser_extensions', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 488 '../build/linux/system.gyp:dbus-glib', | 488 '../build/linux/system.gyp:dbus-glib', |
| 489 '../third_party/libevent/libevent.gyp:libevent', | 489 '../third_party/libevent/libevent.gyp:libevent', |
| 490 '../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp: mozc_candidates_proto', | 490 '../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp: mozc_candidates_proto', |
| 491 'browser/chromeos/input_method/input_method.gyp:gencode', | 491 'browser/chromeos/input_method/input_method.gyp:gencode', |
| 492 ], | 492 ], |
| 493 'sources!': [ | 493 'sources!': [ |
| 494 'browser/extensions/default_apps.cc', | 494 'browser/extensions/default_apps.cc', |
| 495 'browser/extensions/default_apps.h', | 495 'browser/extensions/default_apps.h', |
| 496 ], | 496 ], |
| 497 }], | 497 }], |
| 498 ['enable_extensions==0', { | |
|
Aaron Boodman
2012/04/11 06:36:40
Is it possible to only include these files in the
Jesse Greenwald
2012/04/11 19:11:57
Can you clarify? Are you talking about the top li
| |
| 499 'sources/': [ | |
| 500 ['exclude', '^browser/accessibility/accessibility_extension_api.cc'] , | |
| 501 ['exclude', '^browser/bookmarks/bookmark_extension_api.cc'], | |
| 502 ['exclude', '^browser/bookmarks/bookmark_manager_extension_api.cc'], | |
| 503 ['exclude', '^browser/chromeos/extensions/file_browser_private_api.c c'], | |
| 504 ['exclude', '^browser/chromeos/extensions/offers_private_api.cc'], | |
| 505 ['exclude', '^browser/chromeos/media/media_player_extension_api.cc'] , | |
| 506 ['exclude', '^browser/download/download_extension_api.cc'], | |
| 507 ['exclude', '^browser/download/download_extension_api.cc'], | |
| 508 ['exclude', '^browser/extensions/execute_code_in_tab_function.cc'], | |
| 509 ['exclude', '^browser/extensions/extension_chrome_auth_private_api.c c'], | |
| 510 ['exclude', '^browser/extensions/extension_content_settings_api.cc'] , | |
| 511 ['exclude', '^browser/extensions/extension_context_menu_api.cc'], | |
| 512 ['exclude', '^browser/extensions/extension_cookies_api.cc'], | |
| 513 ['exclude', '^browser/extensions/extension_debugger_api.cc'], | |
| 514 ['exclude', '^browser/extensions/extension_font_settings_api.cc'], | |
| 515 ['exclude', '^browser/extensions/extension_i18n_api.cc'], | |
| 516 ['exclude', '^browser/extensions/extension_idle_api.cc'], | |
| 517 ['exclude', '^browser/extensions/extension_input_api.cc'], | |
| 518 ['exclude', '^browser/extensions/extension_input_ime_api.cc'], | |
| 519 ['exclude', '^browser/extensions/extension_input_method_api.cc'], | |
| 520 ['exclude', '^browser/extensions/extension_input_ui_api.cc'], | |
| 521 ['exclude', '^browser/extensions/extension_managed_mode_api.cc'], | |
| 522 ['exclude', '^browser/extensions/extension_management_api.cc'], | |
| 523 ['exclude', '^browser/extensions/extension_metrics_module.cc'], | |
| 524 ['exclude', '^browser/extensions/extension_page_capture_api.cc'], | |
| 525 ['exclude', '^browser/extensions/extension_preference_api.cc'], | |
| 526 ['exclude', '^browser/extensions/extension_tabs_module.cc'], | |
| 527 ['exclude', '^browser/extensions/extension_test_api.cc'], | |
| 528 ['exclude', '^browser/extensions/extension_web_socket_proxy_private_ api.cc'], | |
| 529 ['exclude', '^browser/extensions/extension_webstore_private_api.cc'] , | |
| 530 ['exclude', '^browser/extensions/settings/settings_api.cc'], | |
| 531 ['exclude', '^browser/extensions/system/system_api.cc'], | |
| 532 ['exclude', '^browser/history/history_extension_api.cc'], | |
| 533 ['exclude', '^browser/history/top_sites_extension_api.cc'], | |
| 534 ['exclude', '^browser/infobars/infobar_extension_api.cc'], | |
| 535 ['exclude', '^browser/rlz/rlz_extension_api.cc'], | |
| 536 ['exclude', '^browser/speech/extension_api/tts_engine_extension_api. cc'], | |
| 537 ['exclude', '^browser/speech/extension_api/tts_extension_api.cc'], | |
| 538 ['exclude', '^browser/speech/speech_input_extension_api.cc'], | |
| 539 | |
| 540 # Handle files in browser/extensions/api. Exclude everything by defa ult, white list | |
| 541 # files if they are needed for linking. | |
| 542 # TODO: The re-includes should go away or shrink as extensions are r efactored to be | |
| 543 # less intertwined in the main codebase. | |
| 544 ['exclude', '^browser/extensions/api/'], | |
| 545 ['include', '^browser/extensions/api/declarative/initializing_rules_ registry.cc'], | |
| 546 ['include', '^browser/extensions/api/declarative/rules_registry.cc'] , | |
| 547 ['include', '^browser/extensions/api/declarative/rules_registry_serv ice.cc'], | |
| 548 ['include', '^browser/extensions/api/declarative/rules_registry_with _cache.cc'], | |
| 549 ['include', '^browser/extensions/api/declarative/substring_set_match er.cc'], | |
| 550 ['include', '^browser/extensions/api/declarative/url_matcher.cc'], | |
| 551 ['include', '^browser/extensions/api/declarative_webrequest/webreque st_action.cc'], | |
| 552 ['include', '^browser/extensions/api/declarative_webrequest/webreque st_condition.cc'], | |
| 553 ['include', '^browser/extensions/api/declarative_webrequest/webreque st_condition_attribute.cc'], | |
| 554 ['include', '^browser/extensions/api/declarative_webrequest/webreque st_constants.cc'], | |
| 555 ['include', '^browser/extensions/api/declarative_webrequest/webreque st_rule.cc'], | |
| 556 ['include', '^browser/extensions/api/declarative_webrequest/webreque st_rules_registry.cc'], | |
| 557 ['include', '^browser/extensions/api/permissions/permissions_api.cc' ], | |
| 558 ['include', '^browser/extensions/api/permissions/permissions_api_hel pers.cc'], | |
| 559 ['include', '^browser/extensions/api/proxy/proxy_api.cc'], | |
| 560 ['include', '^browser/extensions/api/proxy/proxy_api_constants.cc'], | |
| 561 ['include', '^browser/extensions/api/runtime/runtime_api.cc'], | |
| 562 ['include', '^browser/extensions/api/web_navigation/web_navigation_a pi.cc'], | |
| 563 ['include', '^browser/extensions/api/web_navigation/web_navigation_a pi_constants.cc'], | |
| 564 ['include', '^browser/extensions/api/web_request/web_request_api.cc' ], | |
| 565 ['include', '^browser/extensions/api/web_request/web_request_api_con stants.cc'], | |
| 566 ['include', '^browser/extensions/api/web_request/web_request_api_hel pers.cc'], | |
| 567 ['include', '^browser/extensions/api/web_request/web_request_time_tr acker.cc'], | |
| 568 ], | |
| 569 }], | |
| 498 ['use_virtual_keyboard==0', { | 570 ['use_virtual_keyboard==0', { |
| 499 'sources/': [ | 571 'sources/': [ |
| 500 ['exclude', '^browser/extensions/extension_input_ui_api.*'], | 572 ['exclude', '^browser/extensions/extension_input_ui_api.*'], |
| 501 ], | 573 ], |
| 502 }], | 574 }], |
| 503 ['OS=="linux" and use_aura==1', { | 575 ['OS=="linux" and use_aura==1', { |
| 504 'dependencies': [ | 576 'dependencies': [ |
| 505 '../build/linux/system.gyp:dbus', | 577 '../build/linux/system.gyp:dbus', |
| 506 '../build/linux/system.gyp:fontconfig', | 578 '../build/linux/system.gyp:fontconfig', |
| 507 '../build/linux/system.gyp:x11', | 579 '../build/linux/system.gyp:x11', |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 588 }], | 660 }], |
| 589 ], | 661 ], |
| 590 }], | 662 }], |
| 591 ], | 663 ], |
| 592 }], | 664 }], |
| 593 ], | 665 ], |
| 594 }, | 666 }, |
| 595 ], | 667 ], |
| 596 } | 668 } |
| 597 | 669 |
| OLD | NEW |