Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: chrome/chrome_browser_ui.gypi

Issue 222543004: Makes chrome://omnibox use mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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_ui', 8 'target_name': 'browser_ui',
9 'type': 'static_library', 9 'type': 'static_library',
10 'variables': { 'enable_wexit_time_destructors': 1, }, 10 'variables': { 'enable_wexit_time_destructors': 1, },
11 # Since browser and browser_ui actually depend on each other, 11 # Since browser and browser_ui actually depend on each other,
12 # we must omit the dependency from browser_ui to browser. 12 # we must omit the dependency from browser_ui to browser.
13 # However, this means browser_ui and browser should more or less 13 # However, this means browser_ui and browser should more or less
14 # have the same dependencies. Once browser_ui is untangled from 14 # have the same dependencies. Once browser_ui is untangled from
15 # browser, then we can clean up these dependencies. 15 # browser, then we can clean up these dependencies.
16 'dependencies': [ 16 'dependencies': [
17 # NOTE: New dependencies should generally be added in the OS!="ios" 17 # NOTE: New dependencies should generally be added in the OS!="ios"
18 # dependencies block below, rather than here. 18 # dependencies block below, rather than here.
19 'cert_logger_proto', 19 'cert_logger_proto',
20 'chrome_browser_ui_views.gyp:browser_ui_views', 20 'chrome_browser_ui_views.gyp:browser_ui_views',
21 'chrome_resources.gyp:chrome_extra_resources', 21 'chrome_resources.gyp:chrome_extra_resources',
22 'chrome_resources.gyp:chrome_resources', 22 'chrome_resources.gyp:chrome_resources',
23 'chrome_resources.gyp:chrome_strings', 23 'chrome_resources.gyp:chrome_strings',
24 'chrome_resources.gyp:platform_locale_settings', 24 'chrome_resources.gyp:platform_locale_settings',
25 'chrome_resources.gyp:theme_resources', 25 'chrome_resources.gyp:theme_resources',
26 'common', 26 'common',
27 'common_net', 27 'common_net',
28 'feedback_proto',
28 'in_memory_url_index_cache_proto', 29 'in_memory_url_index_cache_proto',
29 'safe_browsing_proto', 30 'safe_browsing_proto',
30 'safe_browsing_report_proto', 31 'safe_browsing_report_proto',
31 'feedback_proto',
32 '../components/components.gyp:auto_login_parser', 32 '../components/components.gyp:auto_login_parser',
33 '../components/components.gyp:dom_distiller_core', 33 '../components/components.gyp:dom_distiller_core',
34 '../components/components.gyp:dom_distiller_webui', 34 '../components/components.gyp:dom_distiller_webui',
35 '../components/components.gyp:onc_component', 35 '../components/components.gyp:onc_component',
36 '../components/components.gyp:password_manager_core_browser', 36 '../components/components.gyp:password_manager_core_browser',
37 '../components/components_resources.gyp:components_resources', 37 '../components/components_resources.gyp:components_resources',
38 '../components/components_strings.gyp:components_strings', 38 '../components/components_strings.gyp:components_strings',
39 '../content/content.gyp:content_browser', 39 '../content/content.gyp:content_browser',
40 '../content/content.gyp:content_common', 40 '../content/content.gyp:content_common',
41 '../crypto/crypto.gyp:crypto', 41 '../crypto/crypto.gyp:crypto',
(...skipping 2385 matching lines...) Expand 10 before | Expand all | Expand 10 after
2427 'browser/ui/webui/media/webrtc_logs_ui.cc', 2427 'browser/ui/webui/media/webrtc_logs_ui.cc',
2428 'browser/ui/webui/media/webrtc_logs_ui.h', 2428 'browser/ui/webui/media/webrtc_logs_ui.h',
2429 'browser/ui/webui/memory_internals/memory_internals_handler.cc', 2429 'browser/ui/webui/memory_internals/memory_internals_handler.cc',
2430 'browser/ui/webui/memory_internals/memory_internals_handler.h', 2430 'browser/ui/webui/memory_internals/memory_internals_handler.h',
2431 'browser/ui/webui/memory_internals/memory_internals_proxy.cc', 2431 'browser/ui/webui/memory_internals/memory_internals_proxy.cc',
2432 'browser/ui/webui/memory_internals/memory_internals_proxy.h', 2432 'browser/ui/webui/memory_internals/memory_internals_proxy.h',
2433 'browser/ui/webui/memory_internals/memory_internals_ui.cc', 2433 'browser/ui/webui/memory_internals/memory_internals_ui.cc',
2434 'browser/ui/webui/memory_internals/memory_internals_ui.h', 2434 'browser/ui/webui/memory_internals/memory_internals_ui.h',
2435 'browser/ui/webui/metrics_handler.cc', 2435 'browser/ui/webui/metrics_handler.cc',
2436 'browser/ui/webui/metrics_handler.h', 2436 'browser/ui/webui/metrics_handler.h',
2437 'browser/ui/webui/mojo_web_ui.h',
2438 'browser/ui/webui/mojo_web_ui_controller.cc',
2439 'browser/ui/webui/mojo_web_ui_controller.h',
2437 'browser/ui/webui/nacl_ui.cc', 2440 'browser/ui/webui/nacl_ui.cc',
2438 'browser/ui/webui/nacl_ui.h', 2441 'browser/ui/webui/nacl_ui.h',
2439 'browser/ui/webui/net_export_ui.cc', 2442 'browser/ui/webui/net_export_ui.cc',
2440 'browser/ui/webui/net_export_ui.h', 2443 'browser/ui/webui/net_export_ui.h',
2441 'browser/ui/webui/net_internals/net_internals_ui.cc', 2444 'browser/ui/webui/net_internals/net_internals_ui.cc',
2442 'browser/ui/webui/net_internals/net_internals_ui.h', 2445 'browser/ui/webui/net_internals/net_internals_ui.h',
2443 'browser/ui/webui/ntp/app_launcher_handler.cc', 2446 'browser/ui/webui/ntp/app_launcher_handler.cc',
2444 'browser/ui/webui/ntp/app_launcher_handler.h', 2447 'browser/ui/webui/ntp/app_launcher_handler.h',
2445 'browser/ui/webui/ntp/core_app_launcher_handler.cc', 2448 'browser/ui/webui/ntp/core_app_launcher_handler.cc',
2446 'browser/ui/webui/ntp/core_app_launcher_handler.h', 2449 'browser/ui/webui/ntp/core_app_launcher_handler.h',
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
2684 'browser/ui/webui/welcome_ui_android.h', 2687 'browser/ui/webui/welcome_ui_android.h',
2685 'browser/ui/window_sizer/window_sizer.cc', 2688 'browser/ui/window_sizer/window_sizer.cc',
2686 'browser/ui/window_sizer/window_sizer.h', 2689 'browser/ui/window_sizer/window_sizer.h',
2687 'browser/ui/window_sizer/window_sizer_ash.cc', 2690 'browser/ui/window_sizer/window_sizer_ash.cc',
2688 'browser/ui/window_sizer/window_sizer_aura.cc', 2691 'browser/ui/window_sizer/window_sizer_aura.cc',
2689 'browser/ui/window_sizer/window_sizer_gtk.cc', 2692 'browser/ui/window_sizer/window_sizer_gtk.cc',
2690 'browser/ui/window_sizer/window_sizer_mac.mm', 2693 'browser/ui/window_sizer/window_sizer_mac.mm',
2691 'browser/ui/zoom/zoom_controller.cc', 2694 'browser/ui/zoom/zoom_controller.cc',
2692 'browser/ui/zoom/zoom_controller.h', 2695 'browser/ui/zoom/zoom_controller.h',
2693 'browser/ui/zoom/zoom_observer.h', 2696 'browser/ui/zoom/zoom_observer.h',
2697 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/ui/webui/omnibox/omnibox.mojo m.cc',
2694 ], 2698 ],
2695 'conditions': [ 2699 'conditions': [
2696 ['OS != "ios"', { 2700 ['OS != "ios"', {
2697 'dependencies': [ 2701 'dependencies': [
2698 'browser_extensions', 2702 'browser_extensions',
2699 'browser/performance_monitor/performance_monitor.gyp:performance_mon itor', 2703 'browser/performance_monitor/performance_monitor.gyp:performance_mon itor',
2700 'common/extensions/api/api.gyp:chrome_api', 2704 'common/extensions/api/api.gyp:chrome_api',
2701 'debugger', 2705 'debugger',
2702 'installer_util', 2706 'installer_util',
2703 '../third_party/re2/re2.gyp:re2', 2707 '../third_party/re2/re2.gyp:re2',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
2735 ], 2739 ],
2736 'sources/': [ 2740 'sources/': [
2737 # iOS uses only small portions of browser/ui/. 2741 # iOS uses only small portions of browser/ui/.
2738 ['exclude', '\\.(cc|mm)$'], 2742 ['exclude', '\\.(cc|mm)$'],
2739 ['include', '_ios\\.(cc|mm)$'], 2743 ['include', '_ios\\.(cc|mm)$'],
2740 ['include', '(^|/)ios/'], 2744 ['include', '(^|/)ios/'],
2741 # TODO(ios): Add files here as they are updated to compile on iOS. 2745 # TODO(ios): Add files here as they are updated to compile on iOS.
2742 ['include', '^browser/ui/profile_error_dialog\\.cc$'], 2746 ['include', '^browser/ui/profile_error_dialog\\.cc$'],
2743 ], 2747 ],
2744 }], 2748 }],
2749 ['use_mojo==1', {
2750 'dependencies': [
2751 'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings',
2752 '../mojo/mojo.gyp:mojo_common_lib',
2753 ],
2754 }, { # use_mojo==0
2755 'sources!': [
2756 'browser/ui/webui/mojo_web_ui.h',
2757 'browser/ui/webui/mojo_web_ui_controller.cc',
2758 'browser/ui/webui/mojo_web_ui_controller.h',
2759 'browser/ui/webui/omnibox/omnibox_ui.cc',
2760 'browser/ui/webui/omnibox/omnibox_ui.h',
2761 'browser/ui/webui/omnibox/omnibox_ui_handler.cc',
2762 'browser/ui/webui/omnibox/omnibox_ui_handler.h',
2763 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/ui/webui/omnibox/omnibox. mojom.cc',
2764 ],
2765 }],
2745 ['enable_printing!=0', { 2766 ['enable_printing!=0', {
2746 'dependencies': [ 2767 'dependencies': [
2747 '../printing/printing.gyp:printing', 2768 '../printing/printing.gyp:printing',
2748 ], 2769 ],
2749 }], 2770 }],
2750 ['OS == "android"', { 2771 ['OS == "android"', {
2751 'dependencies': [ 2772 'dependencies': [
2752 '../third_party/openssl/openssl.gyp:openssl', 2773 '../third_party/openssl/openssl.gyp:openssl',
2753 ], 2774 ],
2754 }], 2775 }],
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
3442 'browser/ui/webui/local_discovery/local_discovery_ui.cc', 3463 'browser/ui/webui/local_discovery/local_discovery_ui.cc',
3443 'browser/ui/webui/local_discovery/local_discovery_ui.h', 3464 'browser/ui/webui/local_discovery/local_discovery_ui.h',
3444 'browser/ui/webui/local_discovery/local_discovery_ui_handler.cc', 3465 'browser/ui/webui/local_discovery/local_discovery_ui_handler.cc',
3445 'browser/ui/webui/local_discovery/local_discovery_ui_handler.h', 3466 'browser/ui/webui/local_discovery/local_discovery_ui_handler.h',
3446 ], 3467 ],
3447 }], 3468 }],
3448 ], 3469 ],
3449 }, 3470 },
3450 ], 3471 ],
3451 } 3472 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698