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

Side by Side Diff: chrome/chrome_browser.gypi

Issue 11418005: Get a minimal unit_tests target building and running for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@chrome-gyp-ios-support
Patch Set: Better ifdefing in chrome_paths 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 | « chrome/browser/ui/profile_error_dialog.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | 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', 9 'target_name': 'browser',
10 'type': 'static_library', 10 'type': 'static_library',
11 'variables': { 'enable_wexit_time_destructors': 1, }, 11 'variables': { 'enable_wexit_time_destructors': 1, },
12 'dependencies': [ 12 'dependencies': [
13 # NOTE: New dependencies should generally be added in the OS!="ios" 13 # NOTE: New dependencies should generally be added in the OS!="ios"
14 # dependencies block below, rather than here. 14 # dependencies block below, rather than here.
15 'browser_ui', 15 'browser_ui',
16 'cert_logger_proto', 16 'cert_logger_proto',
17 'chrome_resources.gyp:chrome_extra_resources', 17 'chrome_resources.gyp:chrome_extra_resources',
18 'chrome_resources.gyp:chrome_resources', 18 'chrome_resources.gyp:chrome_resources',
19 'chrome_resources.gyp:chrome_strings', 19 'chrome_resources.gyp:chrome_strings',
20 'chrome_resources.gyp:platform_locale_settings', 20 'chrome_resources.gyp:platform_locale_settings',
21 'chrome_resources.gyp:theme_resources', 21 'chrome_resources.gyp:theme_resources',
22 'common', 22 'common',
23 'common_net', 23 'common_net',
24 'feedback_proto', 24 'feedback_proto',
25 'in_memory_url_index_cache_proto', 25 'in_memory_url_index_cache_proto',
26 'safe_browsing_proto', 26 'safe_browsing_proto',
27 'safe_browsing_report_proto', 27 'safe_browsing_report_proto',
28 'variations_seed_proto', 28 'variations_seed_proto',
29 '../build/temp_gyp/googleurl.gyp:googleurl', 29 '../build/temp_gyp/googleurl.gyp:googleurl',
30 '../cc/cc.gyp:cc',
31 '../content/content.gyp:content_browser', 30 '../content/content.gyp:content_browser',
32 '../content/content.gyp:content_common', 31 '../content/content.gyp:content_common',
33 '../crypto/crypto.gyp:crypto', 32 '../crypto/crypto.gyp:crypto',
34 '../google_apis/google_apis.gyp:google_apis', 33 '../google_apis/google_apis.gyp:google_apis',
35 '../media/media.gyp:media', 34 '../media/media.gyp:media',
36 '../skia/skia.gyp:skia', 35 '../skia/skia.gyp:skia',
37 '../sync/protocol/sync_proto.gyp:sync_proto', 36 '../sync/protocol/sync_proto.gyp:sync_proto',
38 # TODO(akalin): Depend only on sync_api from sync. 37 # TODO(akalin): Depend only on sync_api from sync.
39 '../sync/sync.gyp:sync_api', 38 '../sync/sync.gyp:sync_api',
40 '../sync/sync.gyp:sync_internal_api', 39 '../sync/sync.gyp:sync_internal_api',
(...skipping 2120 matching lines...) Expand 10 before | Expand all | Expand 10 after
2161 'conditions': [ 2160 'conditions': [
2162 ['OS != "ios"', { 2161 ['OS != "ios"', {
2163 'dependencies': [ 2162 'dependencies': [
2164 'autofill_regexes', 2163 'autofill_regexes',
2165 'browser/performance_monitor/performance_monitor.gyp:performance_mon itor', 2164 'browser/performance_monitor/performance_monitor.gyp:performance_mon itor',
2166 'browser_extensions', 2165 'browser_extensions',
2167 'common/extensions/api/api.gyp:api', 2166 'common/extensions/api/api.gyp:api',
2168 'debugger', 2167 'debugger',
2169 'installer_util', 2168 'installer_util',
2170 'sync_file_system_proto', 2169 'sync_file_system_proto',
2170 '../cc/cc.gyp:cc',
2171 '../content/content.gyp:navigation_interception', 2171 '../content/content.gyp:navigation_interception',
2172 '../net/net.gyp:net_with_v8', 2172 '../net/net.gyp:net_with_v8',
2173 '../ppapi/ppapi_internal.gyp:ppapi_ipc', # For PpapiMsg_LoadPlugin 2173 '../ppapi/ppapi_internal.gyp:ppapi_ipc', # For PpapiMsg_LoadPlugin
2174 '../printing/printing.gyp:printing', 2174 '../printing/printing.gyp:printing',
2175 '../third_party/adobe/flash/flash_player.gyp:flapper_version_h', 2175 '../third_party/adobe/flash/flash_player.gyp:flapper_version_h',
2176 '../third_party/expat/expat.gyp:expat', 2176 '../third_party/expat/expat.gyp:expat',
2177 '../third_party/hunspell/hunspell.gyp:hunspell', 2177 '../third_party/hunspell/hunspell.gyp:hunspell',
2178 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 2178 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2179 '../third_party/libjingle/libjingle.gyp:libjingle', 2179 '../third_party/libjingle/libjingle.gyp:libjingle',
2180 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', 2180 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
(...skipping 17 matching lines...) Expand all
2198 }, { # OS == "ios" 2198 }, { # OS == "ios"
2199 'dependencies': [ 2199 'dependencies': [
2200 '../net/net.gyp:net', 2200 '../net/net.gyp:net',
2201 ], 2201 ],
2202 'sources/': [ 2202 'sources/': [
2203 # Exclude everything but iOS-specific files. 2203 # Exclude everything but iOS-specific files.
2204 ['exclude', '\\.(cc|mm)$'], 2204 ['exclude', '\\.(cc|mm)$'],
2205 ['include', '_ios\\.(cc|mm)$'], 2205 ['include', '_ios\\.(cc|mm)$'],
2206 ['include', '(^|/)ios/'], 2206 ['include', '(^|/)ios/'],
2207 # TODO(ios): Add files here as they are updated to compile on iOS. 2207 # TODO(ios): Add files here as they are updated to compile on iOS.
2208 ['include', '^browser/browser_process\\.cc$'],
2208 ], 2209 ],
2209 'link_settings': { 2210 'link_settings': {
2210 'libraries': [ 2211 'libraries': [
2211 '$(SDKROOT)/System/Library/Frameworks/CoreTelephony.framework', 2212 '$(SDKROOT)/System/Library/Frameworks/CoreTelephony.framework',
2212 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', 2213 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
2213 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework ', 2214 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework ',
2214 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', 2215 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
2215 ], 2216 ],
2216 # CoreImage is iOS 5+, but iOS 4.3 is still supported. 2217 # CoreImage is iOS 5+, but iOS 4.3 is still supported.
2217 'xcode_settings': {'OTHER_LDFLAGS': ['-weak_framework CoreImage']}, 2218 'xcode_settings': {'OTHER_LDFLAGS': ['-weak_framework CoreImage']},
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
3030 'proto_in_dir': '../third_party/cros_system_api/dbus', 3031 'proto_in_dir': '../third_party/cros_system_api/dbus',
3031 'proto_out_dir': 'chrome/browser/media_transfer_protocol', 3032 'proto_out_dir': 'chrome/browser/media_transfer_protocol',
3032 }, 3033 },
3033 'includes': ['../build/protoc.gypi'], 3034 'includes': ['../build/protoc.gypi'],
3034 }, 3035 },
3035 ], 3036 ],
3036 }, 3037 },
3037 ], 3038 ],
3038 ], 3039 ],
3039 } 3040 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/profile_error_dialog.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698