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

Side by Side Diff: chrome/chrome_browser_ui.gypi

Issue 11339010: Add structural support for building chrome_browser_ui.gypi on iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add relevant use_/enable_ support to common.gypi Created 8 years, 1 month 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
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 { 6 {
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'browser_ui', 9 'target_name': 'browser_ui',
10 'type': 'static_library', 10 'type': 'static_library',
11 'variables': { 'enable_wexit_time_destructors': 1, }, 11 'variables': { 'enable_wexit_time_destructors': 1, },
12 # Since browser and browser_ui actually depend on each other, 12 # Since browser and browser_ui actually depend on each other,
13 # we must omit the dependency from browser_extensions to browser. 13 # we must omit the dependency from browser_extensions to browser.
Nico 2012/10/29 17:05:51 While you're here: I think this should be browser_
stuartmorgan 2012/10/30 11:58:43 Done.
14 # However, this means browser_ui and browser should more or less 14 # However, this means browser_ui and browser should more or less
15 # have the same dependencies. Once browser_ui is untangled from 15 # have the same dependencies. Once browser_ui is untangled from
16 # browser, then we can clean up these dependencies. 16 # browser, then we can clean up these dependencies.
17 'dependencies': [ 17 'dependencies': [
18 'app/policy/cloud_policy_codegen.gyp:policy', 18 'app/policy/cloud_policy_codegen.gyp:policy',
19 'autofill_regexes',
20 'browser_extensions',
21 'browser/performance_monitor/performance_monitor.gyp:performance_monitor ',
22 'cert_logger_proto', 19 'cert_logger_proto',
23 'chrome_resources.gyp:chrome_extra_resources', 20 'chrome_resources.gyp:chrome_extra_resources',
24 'chrome_resources.gyp:chrome_resources', 21 'chrome_resources.gyp:chrome_resources',
25 'chrome_resources.gyp:chrome_strings', 22 'chrome_resources.gyp:chrome_strings',
26 'chrome_resources.gyp:platform_locale_settings', 23 'chrome_resources.gyp:platform_locale_settings',
27 'chrome_resources.gyp:theme_resources', 24 'chrome_resources.gyp:theme_resources',
28 'common', 25 'common',
29 'common/extensions/api/api.gyp:api',
30 'common_net', 26 'common_net',
31 'debugger',
32 'in_memory_url_index_cache_proto', 27 'in_memory_url_index_cache_proto',
33 'installer_util',
34 'safe_browsing_proto', 28 'safe_browsing_proto',
35 'safe_browsing_report_proto', 29 'safe_browsing_report_proto',
36 'feedback_proto', 30 'feedback_proto',
37 'variations_seed_proto', 31 'variations_seed_proto',
38 '../build/temp_gyp/googleurl.gyp:googleurl', 32 '../build/temp_gyp/googleurl.gyp:googleurl',
39 '../content/content.gyp:content_browser', 33 '../content/content.gyp:content_browser',
40 '../content/content.gyp:content_common', 34 '../content/content.gyp:content_common',
41 '../crypto/crypto.gyp:crypto', 35 '../crypto/crypto.gyp:crypto',
42 '../device/device.gyp:device_bluetooth',
43 '../media/media.gyp:media', 36 '../media/media.gyp:media',
44 '../net/net.gyp:net_with_v8',
45 '../ppapi/ppapi_internal.gyp:ppapi_ipc', # For PpapiMsg_LoadPlugin
46 '../printing/printing.gyp:printing',
47 '../skia/skia.gyp:skia', 37 '../skia/skia.gyp:skia',
48 '../sync/protocol/sync_proto.gyp:sync_proto', 38 '../sync/protocol/sync_proto.gyp:sync_proto',
49 # TODO(akalin): Depend only on syncapi_service from sync. 39 # TODO(akalin): Depend only on syncapi_service from sync.
50 '../sync/sync.gyp:syncapi_core', 40 '../sync/sync.gyp:syncapi_core',
51 '../sync/sync.gyp:syncapi_service', 41 '../sync/sync.gyp:syncapi_service',
52 '../sync/sync.gyp:sync_notifier', 42 '../sync/sync.gyp:sync_notifier',
53 '../third_party/adobe/flash/flash_player.gyp:flapper_version_h',
54 '../third_party/bzip2/bzip2.gyp:bzip2', 43 '../third_party/bzip2/bzip2.gyp:bzip2',
55 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', 44 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n',
56 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n_proto_cpp', 45 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n_proto_cpp',
57 '../third_party/cld/cld.gyp:cld',
58 '../third_party/expat/expat.gyp:expat',
59 '../third_party/hunspell/hunspell.gyp:hunspell',
60 '../third_party/icu/icu.gyp:icui18n', 46 '../third_party/icu/icu.gyp:icui18n',
61 '../third_party/icu/icu.gyp:icuuc', 47 '../third_party/icu/icu.gyp:icuuc',
62 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
63 '../third_party/libjingle/libjingle.gyp:libjingle',
64 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
65 '../third_party/libusb/libusb.gyp:libusb', 48 '../third_party/libusb/libusb.gyp:libusb',
66 '../third_party/libxml/libxml.gyp:libxml', 49 '../third_party/libxml/libxml.gyp:libxml',
67 '../third_party/npapi/npapi.gyp:npapi',
68 '../third_party/re2/re2.gyp:re2',
69 '../third_party/zlib/zlib.gyp:zlib', 50 '../third_party/zlib/zlib.gyp:zlib',
70 '../ui/base/strings/ui_strings.gyp:ui_strings', 51 '../ui/base/strings/ui_strings.gyp:ui_strings',
71 '../ui/compositor/compositor.gyp:compositor',
72 '../ui/surface/surface.gyp:surface',
73 '../ui/ui.gyp:ui', 52 '../ui/ui.gyp:ui',
74 '../ui/ui.gyp:ui_resources', 53 '../ui/ui.gyp:ui_resources',
75 '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
76 '../v8/tools/gyp/v8.gyp:v8',
77 '../webkit/support/webkit_support.gyp:glue',
78 '../webkit/support/webkit_support.gyp:user_agent', 54 '../webkit/support/webkit_support.gyp:user_agent',
79 '../webkit/support/webkit_support.gyp:webkit_resources',
80 '../webkit/support/webkit_support.gyp:webkit_storage',
81 ], 55 ],
82 'include_dirs': [ 56 'include_dirs': [
83 '..', 57 '..',
84 '<(INTERMEDIATE_DIR)', 58 '<(INTERMEDIATE_DIR)',
85 # Needed by pepper_flash_component_installer.cc. 59 # Needed by pepper_flash_component_installer.cc.
86 '<(SHARED_INTERMEDIATE_DIR)', 60 '<(SHARED_INTERMEDIATE_DIR)',
87 ], 61 ],
88 'defines': [
89 '<@(nacl_defines)',
90 ],
91 'direct_dependent_settings': {
92 'defines': [
93 '<@(nacl_defines)',
94 ],
95 },
96 'export_dependent_settings': [ 62 'export_dependent_settings': [
97 '../sync/sync.gyp:sync_notifier', 63 '../sync/sync.gyp:sync_notifier',
98 ], 64 ],
99 'sources': [ 65 'sources': [
100 # All .cc, .h, .m, and .mm files under browser/ui except for: 66 # All .cc, .h, .m, and .mm files under browser/ui except for:
101 # * tests and mocks. 67 # * tests and mocks.
102 'browser/ui/alternate_error_tab_observer.cc', 68 'browser/ui/alternate_error_tab_observer.cc',
103 'browser/ui/alternate_error_tab_observer.h', 69 'browser/ui/alternate_error_tab_observer.h',
104 'browser/ui/android/android_about_app_info.cc', 70 'browser/ui/android/android_about_app_info.cc',
105 'browser/ui/android/android_about_app_info.h', 71 'browser/ui/android/android_about_app_info.h',
(...skipping 2001 matching lines...) Expand 10 before | Expand all | Expand 10 after
2107 'browser/ui/window_snapshot/window_snapshot.h', 2073 'browser/ui/window_snapshot/window_snapshot.h',
2108 'browser/ui/window_snapshot/window_snapshot_aura.cc', 2074 'browser/ui/window_snapshot/window_snapshot_aura.cc',
2109 'browser/ui/window_snapshot/window_snapshot_gtk.cc', 2075 'browser/ui/window_snapshot/window_snapshot_gtk.cc',
2110 'browser/ui/window_snapshot/window_snapshot_mac.mm', 2076 'browser/ui/window_snapshot/window_snapshot_mac.mm',
2111 'browser/ui/window_snapshot/window_snapshot_win.cc', 2077 'browser/ui/window_snapshot/window_snapshot_win.cc',
2112 'browser/ui/zoom/zoom_controller.cc', 2078 'browser/ui/zoom/zoom_controller.cc',
2113 'browser/ui/zoom/zoom_controller.h', 2079 'browser/ui/zoom/zoom_controller.h',
2114 'browser/ui/zoom/zoom_observer.h', 2080 'browser/ui/zoom/zoom_observer.h',
2115 ], 2081 ],
2116 'conditions': [ 2082 'conditions': [
2083 ['OS != "ios"', {
2084 'dependencies': [
2085 'autofill_regexes',
2086 'browser_extensions',
2087 'browser/performance_monitor/performance_monitor.gyp:performance_mon itor',
2088 'common/extensions/api/api.gyp:api',
2089 'debugger',
2090 'installer_util',
2091 '../device/device.gyp:device_bluetooth',
2092 '../net/net.gyp:net_with_v8',
2093 '../ppapi/ppapi_internal.gyp:ppapi_ipc', # For PpapiMsg_LoadPlugin
2094 '../printing/printing.gyp:printing',
2095 '../third_party/adobe/flash/flash_player.gyp:flapper_version_h',
2096 '../third_party/cld/cld.gyp:cld',
2097 '../third_party/expat/expat.gyp:expat',
2098 '../third_party/hunspell/hunspell.gyp:hunspell',
2099 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2100 '../third_party/libjingle/libjingle.gyp:libjingle',
2101 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
2102 '../third_party/npapi/npapi.gyp:npapi',
2103 '../third_party/re2/re2.gyp:re2',
2104 '../ui/compositor/compositor.gyp:compositor',
2105 '../ui/surface/surface.gyp:surface',
2106 '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
2107 '../v8/tools/gyp/v8.gyp:v8',
2108 '../webkit/support/webkit_support.gyp:glue',
2109 '../webkit/support/webkit_support.gyp:webkit_storage',
2110 '../webkit/support/webkit_support.gyp:webkit_resources',
2111 ],
2112 'defines': [
2113 '<@(nacl_defines)',
2114 ],
2115 'direct_dependent_settings': {
2116 'defines': [
2117 '<@(nacl_defines)',
2118 ],
2119 },
2120 }, { # OS == "ios"
2121 'dependencies': [
2122 '../net/net.gyp:net',
2123 ],
2124 'sources/': [
2125 # iOS uses only small portions of browser/ui/.
2126 ['exclude', '\\.(cc|mm)$'],
2127 ['include', '_ios\\.(cc|mm)$'],
2128 ['include', '(^|/)ios/'],
2129 # TODO(ios): Add files here as they are updated to compile on iOS.
2130 ],
2131 }],
2117 ['enable_one_click_signin==0', { 2132 ['enable_one_click_signin==0', {
2118 'sources!': [ 2133 'sources!': [
2119 'browser/ui/cocoa/one_click_signin_bubble_controller.h', 2134 'browser/ui/cocoa/one_click_signin_bubble_controller.h',
2120 'browser/ui/cocoa/one_click_signin_bubble_controller.mm', 2135 'browser/ui/cocoa/one_click_signin_bubble_controller.mm',
2121 'browser/ui/gtk/one_click_signin_bubble_gtk.cc', 2136 'browser/ui/gtk/one_click_signin_bubble_gtk.cc',
2122 'browser/ui/gtk/one_click_signin_bubble_gtk.h', 2137 'browser/ui/gtk/one_click_signin_bubble_gtk.h',
2123 'browser/ui/sync/one_click_signin_helper.cc', 2138 'browser/ui/sync/one_click_signin_helper.cc',
2124 'browser/ui/sync/one_click_signin_helper.h', 2139 'browser/ui/sync/one_click_signin_helper.h',
2125 'browser/ui/sync/one_click_signin_histogram.h', 2140 'browser/ui/sync/one_click_signin_histogram.h',
2126 'browser/ui/sync/one_click_signin_sync_starter.cc', 2141 'browser/ui/sync/one_click_signin_sync_starter.cc',
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
2342 ['exclude', '^browser/ui/webui/gesture_config_ui.cc'], 2357 ['exclude', '^browser/ui/webui/gesture_config_ui.cc'],
2343 ['exclude', '^browser/ui/webui/gesture_config_ui.h'], 2358 ['exclude', '^browser/ui/webui/gesture_config_ui.h'],
2344 ['exclude', '^browser/ui/webui/task_manager/'], 2359 ['exclude', '^browser/ui/webui/task_manager/'],
2345 ], 2360 ],
2346 }], 2361 }],
2347 ['ui_compositor_image_transport==1', { 2362 ['ui_compositor_image_transport==1', {
2348 'dependencies': [ 2363 'dependencies': [
2349 '../ui/gl/gl.gyp:gl', 2364 '../ui/gl/gl.gyp:gl',
2350 ], 2365 ],
2351 }], 2366 }],
2352 ['os_posix == 1 and OS != "mac" and OS != "android"', { 2367 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2353 'link_settings': { 2368 'link_settings': {
2354 'libraries': [ 2369 'libraries': [
2355 '-lXss', 2370 '-lXss',
2356 ], 2371 ],
2357 }, 2372 },
2358 }], 2373 }],
2359 ['use_nss!=1', { 2374 ['use_nss!=1', {
2360 'sources!': [ 2375 'sources!': [
2361 'browser/ui/webui/options/certificate_manager_handler.cc', 2376 'browser/ui/webui/options/certificate_manager_handler.cc',
2362 'browser/ui/webui/options/certificate_manager_handler.h', 2377 'browser/ui/webui/options/certificate_manager_handler.h',
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
2725 ['exclude', '^browser/ui/views/select_file_dialog_extension.cc'], 2740 ['exclude', '^browser/ui/views/select_file_dialog_extension.cc'],
2726 ['exclude', '^browser/ui/views/select_file_dialog_extension.h'], 2741 ['exclude', '^browser/ui/views/select_file_dialog_extension.h'],
2727 ['exclude', '^browser/ui/views/select_file_dialog_extension_factory. cc'], 2742 ['exclude', '^browser/ui/views/select_file_dialog_extension_factory. cc'],
2728 ['exclude', '^browser/ui/views/select_file_dialog_extension_factory. h'], 2743 ['exclude', '^browser/ui/views/select_file_dialog_extension_factory. h'],
2729 ]} 2744 ]}
2730 ], 2745 ],
2731 ], 2746 ],
2732 }, 2747 },
2733 ], 2748 ],
2734 } 2749 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698