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

Side by Side Diff: chrome/chrome.gyp

Issue 42306: Make startup_tests build and work on Mac. (Closed)
Patch Set: add app dependency Created 11 years, 9 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
« no previous file with comments | « chrome/browser/browser.vcproj ('k') | chrome/common/chrome_constants.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'includes': [ 9 'includes': [
10 '../build/common.gypi', 10 '../build/common.gypi',
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 'browser/autocomplete/search_provider.cc', 386 'browser/autocomplete/search_provider.cc',
387 'browser/autocomplete/search_provider.h', 387 'browser/autocomplete/search_provider.h',
388 'browser/autofill_manager.cc', 388 'browser/autofill_manager.cc',
389 'browser/autofill_manager.h', 389 'browser/autofill_manager.h',
390 'browser/automation/automation_autocomplete_edit_tracker.h', 390 'browser/automation/automation_autocomplete_edit_tracker.h',
391 'browser/automation/automation_browser_tracker.h', 391 'browser/automation/automation_browser_tracker.h',
392 'browser/automation/automation_constrained_window_tracker.h', 392 'browser/automation/automation_constrained_window_tracker.h',
393 'browser/automation/automation_provider.cc', 393 'browser/automation/automation_provider.cc',
394 'browser/automation/automation_provider.h', 394 'browser/automation/automation_provider.h',
395 'browser/automation/automation_provider_list.cc', 395 'browser/automation/automation_provider_list.cc',
396 'browser/automation/automation_provider_list_generic.cc',
397 'browser/automation/automation_provider_list_mac.mm',
396 'browser/automation/automation_provider_list.h', 398 'browser/automation/automation_provider_list.h',
397 'browser/automation/automation_resource_tracker.cc', 399 'browser/automation/automation_resource_tracker.cc',
398 'browser/automation/automation_resource_tracker.h', 400 'browser/automation/automation_resource_tracker.h',
399 'browser/automation/automation_tab_tracker.h', 401 'browser/automation/automation_tab_tracker.h',
400 'browser/automation/automation_window_tracker.h', 402 'browser/automation/automation_window_tracker.h',
401 'browser/automation/ui_controls.cc', 403 'browser/automation/ui_controls.cc',
402 'browser/automation/ui_controls.h', 404 'browser/automation/ui_controls.h',
403 'browser/automation/url_request_failed_dns_job.cc', 405 'browser/automation/url_request_failed_dns_job.cc',
404 'browser/automation/url_request_failed_dns_job.h', 406 'browser/automation/url_request_failed_dns_job.h',
405 # TODO: These should be moved to test_support (see below), but 407 # TODO: These should be moved to test_support (see below), but
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 # Exclude most of download. 1213 # Exclude most of download.
1212 ['exclude', '^browser/download/'], 1214 ['exclude', '^browser/download/'],
1213 ['include', '^browser/download/download_(file|manager|shelf)\\.cc$'] , 1215 ['include', '^browser/download/download_(file|manager|shelf)\\.cc$'] ,
1214 ['include', '^browser/download/download_request_manager\\.cc$'], 1216 ['include', '^browser/download/download_request_manager\\.cc$'],
1215 ['include', '^browser/download/download_item_model\\.cc$'], 1217 ['include', '^browser/download/download_item_model\\.cc$'],
1216 ['include', '^browser/download/save_(file(_manager)?|item|package)\\ .cc$'], 1218 ['include', '^browser/download/save_(file(_manager)?|item|package)\\ .cc$'],
1217 ], 1219 ],
1218 'sources!': [ 1220 'sources!': [
1219 'browser/autocomplete/autocomplete_edit.cc', 1221 'browser/autocomplete/autocomplete_edit.cc',
1220 'browser/autocomplete/autocomplete_popup_model.cc', 1222 'browser/autocomplete/autocomplete_popup_model.cc',
1223 'browser/automation/automation_provider_list_generic.cc',
1221 'browser/bookmarks/bookmark_context_menu.cc', 1224 'browser/bookmarks/bookmark_context_menu.cc',
1222 'browser/bookmarks/bookmark_drop_info.cc', 1225 'browser/bookmarks/bookmark_drop_info.cc',
1223 'browser/debugger/debugger_shell_stubs.cc', 1226 'browser/debugger/debugger_shell_stubs.cc',
1224 'browser/dom_ui/devtools_ui.cc', 1227 'browser/dom_ui/devtools_ui.cc',
1225 'browser/dom_ui/devtools_ui.h', 1228 'browser/dom_ui/devtools_ui.h',
1226 ], 1229 ],
1227 'sources': [ 1230 'sources': [
1228 # Build the necessary GTM sources 1231 # Build the necessary GTM sources
1229 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.m', 1232 '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.m',
1230 '../third_party/GTM/AppKit/GTMNSColor+Luminance.m', 1233 '../third_party/GTM/AppKit/GTMNSColor+Luminance.m',
(...skipping 21 matching lines...) Expand all
1252 'sources': [ 1255 'sources': [
1253 # Using built-in rule in vstudio for midl. 1256 # Using built-in rule in vstudio for midl.
1254 'browser/history/history_indexer.idl', 1257 'browser/history/history_indexer.idl',
1255 ], 1258 ],
1256 'sources!': [ 1259 'sources!': [
1257 'browser/debugger/debugger_shell_stubs.cc', 1260 'browser/debugger/debugger_shell_stubs.cc',
1258 'browser/history/history_publisher_none.cc', 1261 'browser/history/history_publisher_none.cc',
1259 ], 1262 ],
1260 }, { # 'OS!="win" 1263 }, { # 'OS!="win"
1261 'sources/': [ 1264 'sources/': [
1262 # Exclude most of automation.
1263 ['exclude', '^browser/automation/'],
1264 ['include', '^browser/automation/automation_provider\\.cc$'],
1265 ['include', '^browser/automation/automation_provider_list\\.cc$'],
1266 ['include', '^browser/automation/automation_resource_tracker\\.cc$'] ,
1267 ['include', '^browser/automation/url_request_[^/]*_job\\.cc$'],
1268
1269 # Exclude all of hang_monitor. 1265 # Exclude all of hang_monitor.
1270 ['exclude', '^browser/hang_monitor/'], 1266 ['exclude', '^browser/hang_monitor/'],
1271 1267
1272 # Exclude most of password_manager. 1268 # Exclude most of password_manager.
1273 ['exclude', '^browser/password_manager/'], 1269 ['exclude', '^browser/password_manager/'],
1274 ['include', '^browser/password_manager/password(_form)?_manager\\.cc $'], 1270 ['include', '^browser/password_manager/password(_form)?_manager\\.cc $'],
1275 1271
1276 # Exclude most of printing. 1272 # Exclude most of printing.
1277 ['exclude', '^browser/printing/'], 1273 ['exclude', '^browser/printing/'],
1278 ['include', '^browser/printing/page_(number|range|setup)\\.cc$'], 1274 ['include', '^browser/printing/page_(number|range|setup)\\.cc$'],
1279 1275
1280 # Exclude all of rlz. 1276 # Exclude all of rlz.
1281 ['exclude', '^browser/rlz/'], 1277 ['exclude', '^browser/rlz/'],
1282 1278
1283 # Exclude all of views. 1279 # Exclude all of views.
1284 ['exclude', '^browser/views/'], 1280 ['exclude', '^browser/views/'],
1285 ], 1281 ],
1286 'sources!': [ 1282 'sources!': [
1287 'browser/app_modal_dialog_queue.cc', 1283 'browser/app_modal_dialog_queue.cc',
1288 'browser/autocomplete/autocomplete_accessibility.cc', 1284 'browser/autocomplete/autocomplete_accessibility.cc',
1285 'browser/automation/ui_controls.cc',
1289 'browser/browser_accessibility.cc', 1286 'browser/browser_accessibility.cc',
1290 'browser/browser_accessibility_manager.cc', 1287 'browser/browser_accessibility_manager.cc',
1291 'browser/debugger/debugger_view.cc', 1288 'browser/debugger/debugger_view.cc',
1292 'browser/debugger/debugger_window.cc', 1289 'browser/debugger/debugger_window.cc',
1293 'browser/debugger/devtools_view.cc', 1290 'browser/debugger/devtools_view.cc',
1294 'browser/debugger/devtools_view.h', 1291 'browser/debugger/devtools_view.h',
1295 'browser/debugger/devtools_window_gtk.cc', 1292 'browser/debugger/devtools_window_gtk.cc',
1296 'browser/debugger/devtools_window_win.cc', 1293 'browser/debugger/devtools_window_win.cc',
1297 'browser/dock_info.cc', 1294 'browser/dock_info.cc',
1298 'browser/dom_ui/html_dialog_contents.cc', 1295 'browser/dom_ui/html_dialog_contents.cc',
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1687 'test/automation/browser_proxy.cc', 1684 'test/automation/browser_proxy.cc',
1688 'test/automation/browser_proxy.h', 1685 'test/automation/browser_proxy.h',
1689 'test/automation/tab_proxy.cc', 1686 'test/automation/tab_proxy.cc',
1690 'test/automation/tab_proxy.h', 1687 'test/automation/tab_proxy.h',
1691 'test/automation/window_proxy.cc', 1688 'test/automation/window_proxy.cc',
1692 'test/automation/window_proxy.h', 1689 'test/automation/window_proxy.h',
1693 'test/testing_profile.cc', 1690 'test/testing_profile.cc',
1694 'test/testing_profile.h', 1691 'test/testing_profile.h',
1695 ], 1692 ],
1696 'conditions': [ 1693 'conditions': [
1697 ['OS=="mac"', {
1698 'sources!': [
1699 'test/automation/automation_proxy.cc',
1700 'test/automation/automation_proxy.h',
1701 'test/automation/browser_proxy.cc',
1702 'test/automation/browser_proxy.h',
1703 'test/automation/tab_proxy.cc',
1704 'test/automation/tab_proxy.h',
1705 ],
1706 }],
1707 ['OS=="win"', { 1694 ['OS=="win"', {
1708 'include_dirs': [ 1695 'include_dirs': [
1709 'third_party/wtl/include', 1696 'third_party/wtl/include',
1710 ], 1697 ],
1711 }, { # else: OS != "win" 1698 }, { # else: OS != "win"
1712 'sources!': [ 1699 'sources!': [
1713 'test/automation/window_proxy.cc', 1700 'test/automation/window_proxy.cc',
1714 'test/automation/window_proxy.h', 1701 'test/automation/window_proxy.h',
1715 ], 1702 ],
1716 }], 1703 }],
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
2157 'test/in_process_browser_test.cc', 2144 'test/in_process_browser_test.cc',
2158 'test/in_process_browser_test.h', 2145 'test/in_process_browser_test.h',
2159 'test/test_notification_tracker.cc', 2146 'test/test_notification_tracker.cc',
2160 'test/test_notification_tracker.h', 2147 'test/test_notification_tracker.h',
2161 'test/ui_test_utils.cc', 2148 'test/ui_test_utils.cc',
2162 'test/ui_test_utils.h', 2149 'test/ui_test_utils.h',
2163 ], 2150 ],
2164 }], 2151 }],
2165 ], 2152 ],
2166 }, 2153 },
2154 {
2155 'target_name': 'startup_tests',
2156 'type': 'executable',
2157 'dependencies': [
2158 'app',
2159 'browser',
2160 'common',
2161 'resources',
2162 'test_support_ui',
2163 '../base/base.gyp:base',
2164 '../skia/skia.gyp:skia',
2165 '../testing/gtest.gyp:gtest',
2166 ],
2167 'sources': [
2168 'test/startup/feature_startup_test.cc',
2169 'test/startup/startup_test.cc',
2170 'tools/build/win/precompiled.cc',
2171 'tools/build/win/precompiled.h',
2172 ],
2173 'conditions': [
2174 ['OS!="win"', {
2175 'sources!': [
2176 'test/startup/feature_startup_test.cc',
2177 'tools/build/win/precompiled.cc',
2178 'tools/build/win/precompiled.h',
2179 ],
2180 }],
2181 ],
2182 },
2167 ], 2183 ],
2168 'conditions': [ 2184 'conditions': [
2169 ['OS=="mac"', 2185 ['OS=="mac"',
2170 # On Mac only, add a project target called "package_app" that only 2186 # On Mac only, add a project target called "package_app" that only
2171 # runs a shell script (package_chrome.sh). 2187 # runs a shell script (package_chrome.sh).
2172 { 'targets': [ 2188 { 'targets': [
2173 { 2189 {
2174 'target_name': 'package_app', 2190 'target_name': 'package_app',
2175 # do NOT place this in the 'all' list; most won't want it. 2191 # do NOT place this in the 'all' list; most won't want it.
2176 # In gyp, booleans are 0/1 not True/False. 2192 # In gyp, booleans are 0/1 not True/False.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 ], 2250 ],
2235 'conditions': [ 2251 'conditions': [
2236 ['OS=="linux"', { 2252 ['OS=="linux"', {
2237 'sources!': [ 2253 'sources!': [
2238 # TODO(port): 2254 # TODO(port):
2239 'browser/visitedlink_perftest.cc', 2255 'browser/visitedlink_perftest.cc',
2240 ], 2256 ],
2241 }], 2257 }],
2242 ], 2258 ],
2243 }, 2259 },
2244 {
2245 'target_name': 'startup_tests',
2246 'type': 'executable',
2247 'dependencies': [
2248 'browser',
2249 'common',
2250 'resources',
2251 'test_support_ui',
2252 '../base/base.gyp:base',
2253 '../skia/skia.gyp:skia',
2254 '../testing/gtest.gyp:gtest',
2255 ],
2256 'sources': [
2257 'test/startup/feature_startup_test.cc',
2258 'test/startup/startup_test.cc',
2259 'tools/build/win/precompiled.cc',
2260 'tools/build/win/precompiled.h',
2261 ],
2262 'conditions': [
2263 ['OS!="win"', {
2264 'sources!': [
2265 'test/startup/feature_startup_test.cc',
2266 'tools/build/win/precompiled.cc',
2267 'tools/build/win/precompiled.h',
2268 ],
2269 }],
2270 ],
2271 },
2272 ], 2260 ],
2273 }], # OS!="mac" 2261 }], # OS!="mac"
2274 ['OS=="win"', 2262 ['OS=="win"',
2275 { 'targets': [ 2263 { 'targets': [
2276 { 2264 {
2277 'target_name': 'views', 2265 'target_name': 'views',
2278 'type': 'static_library', 2266 'type': 'static_library',
2279 'dependencies': [ 2267 'dependencies': [
2280 'common', 2268 'common',
2281 'resources', 2269 'resources',
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2524 'Debug': { 2512 'Debug': {
2525 'msvs_precompiled_header': 'tools/build/win/precompiled.h', 2513 'msvs_precompiled_header': 'tools/build/win/precompiled.h',
2526 'msvs_precompiled_source': 'tools/build/win/precompiled.cc', 2514 'msvs_precompiled_source': 'tools/build/win/precompiled.cc',
2527 }, 2515 },
2528 }, 2516 },
2529 }, 2517 },
2530 ]}, # 'targets' 2518 ]}, # 'targets'
2531 ], # OS=="win" 2519 ], # OS=="win"
2532 ], # 'conditions' 2520 ], # 'conditions'
2533 } 2521 }
OLDNEW
« no previous file with comments | « chrome/browser/browser.vcproj ('k') | chrome/common/chrome_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698