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

Side by Side Diff: chrome/chrome_browser.gypi

Issue 487003: remove chromeos dependency from linux_view (Closed)
Patch Set: " Created 11 years 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/chrome.gyp ('k') | chrome/chrome_tests.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) 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'browser', 8 'target_name': 'browser',
9 'type': '<(library)', 9 'type': '<(library)',
10 'msvs_guid': '5BF908A7-68FB-4A4B-99E3-8C749F1FE4EA', 10 'msvs_guid': '5BF908A7-68FB-4A4B-99E3-8C749F1FE4EA',
(...skipping 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after
1840 1840
1841 # This file is generated by GRIT. 1841 # This file is generated by GRIT.
1842 '<(grit_out_dir)/grit/theme_resources_map.cc', 1842 '<(grit_out_dir)/grit/theme_resources_map.cc',
1843 ], 1843 ],
1844 'conditions': [ 1844 'conditions': [
1845 ['javascript_engine=="v8"', { 1845 ['javascript_engine=="v8"', {
1846 'defines': [ 1846 'defines': [
1847 'CHROME_V8', 1847 'CHROME_V8',
1848 ], 1848 ],
1849 }], 1849 }],
1850 ['chromeos==1 and toolkit_views==0', { 1850 ['chromeos==0', {
1851 'sources/': [
1852 ['exclude', '^browser/chromeos/browser_extenders.cc'],
1853 ['exclude', '^browser/gtk/external_protocol_dialog_gtk.cc'],
1854 ['exclude', '^browser/gtk/external_protocol_dialog_gtk.h'],
1855 ],
1856 }],
1857 ['chromeos==0 and toolkit_views==0', {
1858 'sources/': [ 1851 'sources/': [
1859 ['exclude', '^browser/chromeos'], 1852 ['exclude', '^browser/chromeos'],
1860 ], 1853 ],
1861 }], 1854 }],
1862 ['OS=="linux"', { 1855 ['OS=="linux"', {
1863 'dependencies': [ 1856 'dependencies': [
1864 # Temporarily disabled while we figure some stuff out. 1857 # Temporarily disabled while we figure some stuff out.
1865 # http://code.google.com/p/chromium/issues/detail?id=12351 1858 # http://code.google.com/p/chromium/issues/detail?id=12351
1866 # '../build/linux/system.gyp:dbus-glib', 1859 # '../build/linux/system.gyp:dbus-glib',
1867 # '../build/linux/system.gyp:gnome-keyring', 1860 # '../build/linux/system.gyp:gnome-keyring',
1868 '../build/linux/system.gyp:gtk', 1861 '../build/linux/system.gyp:gtk',
1869 '../build/linux/system.gyp:gtkprint', 1862 '../build/linux/system.gyp:gtkprint',
1870 '../build/linux/system.gyp:nss', 1863 '../build/linux/system.gyp:nss',
1871 '../base/base.gyp:linux_versioninfo', 1864 '../base/base.gyp:linux_versioninfo',
1872 ], 1865 ],
1873 'sources!': [ 1866 'sources!': [
1867 # Exclude extension shelf for toolstrips.
1874 'browser/views/extensions/extension_shelf.cc', 1868 'browser/views/extensions/extension_shelf.cc',
1875 'browser/views/extensions/extension_shelf.h', 1869 'browser/views/extensions/extension_shelf.h',
1876 'browser/views/extensions/extension_view.cc', 1870 'browser/views/extensions/extension_view.cc',
1877 'browser/views/extensions/extension_view.h', 1871 'browser/views/extensions/extension_view.h',
1878 # Windows-specific files. 1872 # Windows-specific files.
1879 'browser/password_manager/password_store_win.cc', 1873 'browser/password_manager/password_store_win.cc',
1880 'browser/password_manager/password_store_win.h', 1874 'browser/password_manager/password_store_win.h',
1881 ], 1875 ],
1882 'sources': [ 1876 'sources': [
1883 'browser/crash_handler_host_linux.h', 1877 'browser/crash_handler_host_linux.h',
1884 'browser/net/ssl_config_service_manager_pref.cc', 1878 'browser/net/ssl_config_service_manager_pref.cc',
1885 ], 1879 ],
1886 'sources/': [ 1880 'sources/': [
1887 # Exclude most of printing. 1881 # Exclude most of printing.
1888 ['exclude', '^browser/printing/'], 1882 ['exclude', '^browser/printing/'],
(...skipping 14 matching lines...) Expand all
1903 '<(SHARED_INTERMEDIATE_DIR)', 1897 '<(SHARED_INTERMEDIATE_DIR)',
1904 '../breakpad/src', 1898 '../breakpad/src',
1905 ], 1899 ],
1906 }, { # linux_breakpad==0 1900 }, { # linux_breakpad==0
1907 'sources': [ 1901 'sources': [
1908 'browser/crash_handler_host_linux_stub.cc', 1902 'browser/crash_handler_host_linux_stub.cc',
1909 ], 1903 ],
1910 }], 1904 }],
1911 ], 1905 ],
1912 }], 1906 }],
1913 ['OS=="linux" and toolkit_views==0', {
1914 'sources!': [
1915 'browser/bookmarks/bookmark_drop_info.cc',
1916 'browser/views/autocomplete/autocomplete_popup_gtk.cc',
1917 'browser/views/autocomplete/autocomplete_popup_gtk.h'
1918 ],
1919 }],
1920 ['OS=="freebsd"', { 1907 ['OS=="freebsd"', {
1921 'dependencies': [ 1908 'dependencies': [
1922 '../build/linux/system.gyp:gtk', 1909 '../build/linux/system.gyp:gtk',
1923 '../build/linux/system.gyp:nss', 1910 '../build/linux/system.gyp:nss',
1924 ], 1911 ],
1925 }], 1912 }],
1926 ['OS=="mac"', { 1913 ['OS=="mac"', {
1927 'sources!': [ 1914 'sources!': [
1928 'browser/automation/automation_provider_list_generic.cc', 1915 'browser/automation/automation_provider_list_generic.cc',
1929 'browser/bookmarks/bookmark_context_menu.cc', 1916 'browser/bookmarks/bookmark_context_menu.cc',
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
2107 # Exclude parts of password_manager. 2094 # Exclude parts of password_manager.
2108 ['exclude', '^browser/password_manager/ie7_password\\.cc$'], 2095 ['exclude', '^browser/password_manager/ie7_password\\.cc$'],
2109 2096
2110 # Exclude all of rlz. 2097 # Exclude all of rlz.
2111 ['exclude', '^browser/rlz/'], 2098 ['exclude', '^browser/rlz/'],
2112 2099
2113 # Exclude all of views. 2100 # Exclude all of views.
2114 ['exclude', '^browser/views/'], 2101 ['exclude', '^browser/views/'],
2115 ], 2102 ],
2116 'conditions': [ 2103 'conditions': [
2117 ['toolkit_views==1',{ 2104 ['OS=="linux" and (toolkit_views==1 or chromeos==1)',{
2118 'sources/': [ 2105 'sources/': [
2119 ['include', '^browser/dock_info_gtk.cc'], 2106 ['include', '^browser/dock_info_gtk.cc'],
2120 ['include', '^browser/dock_info.cc'], 2107 ['include', '^browser/dock_info.cc'],
2121 ['include', '^browser/dock_info.h'], 2108 ['include', '^browser/dock_info.h'],
2122 ['include', '^browser/extensions/'], 2109 ['include', '^browser/extensions/'],
2123 ['include', '^browser/views/accelerator_table_gtk.cc'], 2110 ['include', '^browser/views/accelerator_table_gtk.cc'],
2124 ['include', '^browser/views/accelerator_table_gtk.h'], 2111 ['include', '^browser/views/accelerator_table_gtk.h'],
2125 ['include', '^browser/views/accessible_toolbar_view.cc'], 2112 ['include', '^browser/views/accessible_toolbar_view.cc'],
2126 ['include', '^browser/views/accessible_toolbar_view.h'], 2113 ['include', '^browser/views/accessible_toolbar_view.h'],
2127 ['include', '^browser/views/autocomplete/autocomplete_popup_cont ents_view.cc'], 2114 ['include', '^browser/views/autocomplete/autocomplete_popup_cont ents_view.cc'],
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
2319 ['exclude', '^browser/extensions/extension_host_mac.mm'], 2306 ['exclude', '^browser/extensions/extension_host_mac.mm'],
2320 ['exclude', '^browser/extensions/external_registry_extension_pro vider_win.cc'], 2307 ['exclude', '^browser/extensions/external_registry_extension_pro vider_win.cc'],
2321 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'], 2308 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'],
2322 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'], 2309 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'],
2323 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk. cc'], 2310 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk. cc'],
2324 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk. h'], 2311 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk. h'],
2325 # Overlaps with browser/views/frame/browser_view.cc 2312 # Overlaps with browser/views/frame/browser_view.cc
2326 ['exclude', '^browser/browser_list_gtk.cc'], 2313 ['exclude', '^browser/browser_list_gtk.cc'],
2327 ], 2314 ],
2328 }], 2315 }],
2329 ['OS=="linux" and toolkit_views==0', { 2316 ['OS=="linux" and toolkit_views==1', {
2317 'sources/': [
2318 ['include', '^browser/views/frame/standard_extender.h'],
2319 ['include', '^browser/views/frame/standard_extender.cc'],
2320 ['include', '^browser/gtk/external_protocol_dialog_gtk.cc'],
2321 ['include', '^browser/gtk/external_protocol_dialog_gtk.h'],
2322 ],
2323 }],
2324 ['OS=="linux" and chromeos==0 and toolkit_views==0', {
2330 'sources/': [ 2325 'sources/': [
2331 ['include', '^browser/printing/print_dialog_gtk.cc'], 2326 ['include', '^browser/printing/print_dialog_gtk.cc'],
2332 ['include', '^browser/printing/print_dialog_gtk.h'], 2327 ['include', '^browser/printing/print_dialog_gtk.h'],
2328 ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'],
2329 ['exclude', '^browser/views/autocomplete/autocomplete_popup_gtk. cc'],
2330 ['exclude', '^browser/views/autocomplete/autocomplete_popup_gtk. h'],
2333 ], 2331 ],
2334 }], 2332 }],
2335 ['chromeos==1 or toolkit_views==1',{ 2333 ['OS=="linux" and (chromeos==1 or toolkit_views==1)',{
2336 'dependencies': [ 2334 'dependencies': [
2337 '../third_party/protobuf2/protobuf.gyp:protobuf_lite',
2338 '../third_party/protobuf2/protobuf.gyp:protoc#host',
2339 '../third_party/chromeos_login_manager/chromeos_login_manager/ch romeos_login_manager.gyp:session',
2340 '../third_party/chromeos_login_manager/chromeos_login_manager/ch romeos_login_manager.gyp:emit_login_prompt_ready',
2341 'browser/chromeos/cros_api.gyp:cros_api',
2342 '../views/views.gyp:views', 2335 '../views/views.gyp:views',
2343 ], 2336 ],
2344 'actions': [
2345 {
2346 'action_name': 'my_proto',
2347 'inputs': [
2348 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFI X)',
2349 'browser/metrics/system_metrics.proto',
2350 ],
2351 'outputs': [
2352 '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.p b.cc',
2353 '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.p b.h',
2354 ],
2355 'dependencies': [
2356 '../third_party/protobuf2/protobuf.gyp:protoc',
2357 ],
2358 'action': [
2359 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFI X)',
2360 'browser/metrics/system_metrics.proto',
2361 '--cpp_out=<(INTERMEDIATE_DIR)/chrome',
2362 ],
2363 },
2364 ],
2365 'include_dirs': [ 2337 'include_dirs': [
2366 '<(INTERMEDIATE_DIR)', 2338 '<(INTERMEDIATE_DIR)',
2367 '<(INTERMEDIATE_DIR)/chrome', 2339 '<(INTERMEDIATE_DIR)/chrome',
2368 ], 2340 ],
2369 'sources/': [ 2341 'sources/': [
2370 ['include', 'browser/back_forward_menu_model_views.cc'], 2342 ['include', 'browser/back_forward_menu_model_views.cc'],
2371 ['include', 'browser/back_forward_menu_model_views.h'], 2343 ['include', 'browser/back_forward_menu_model_views.h'],
2372 ['exclude', 'browser/gtk/about_chrome_dialog.cc'], 2344 ['exclude', 'browser/gtk/about_chrome_dialog.cc'],
2373 ['exclude', 'browser/gtk/about_chrome_dialog.h'], 2345 ['exclude', 'browser/gtk/about_chrome_dialog.h'],
2374 ['include', 'browser/views/about_chrome_view.cc'], 2346 ['include', 'browser/views/about_chrome_view.cc'],
(...skipping 23 matching lines...) Expand all
2398 ['include', 'browser/views/tabs/tab_overview_drag_controller.cc' ], 2370 ['include', 'browser/views/tabs/tab_overview_drag_controller.cc' ],
2399 ['include', 'browser/views/tabs/tab_overview_drag_controller.h'] , 2371 ['include', 'browser/views/tabs/tab_overview_drag_controller.h'] ,
2400 ['include', 'browser/views/tabs/tab_overview_grid.cc'], 2372 ['include', 'browser/views/tabs/tab_overview_grid.cc'],
2401 ['include', 'browser/views/tabs/tab_overview_grid.h'], 2373 ['include', 'browser/views/tabs/tab_overview_grid.h'],
2402 ['include', 'browser/views/tabs/tab_overview_message_listener.cc '], 2374 ['include', 'browser/views/tabs/tab_overview_message_listener.cc '],
2403 ['include', 'browser/views/tabs/tab_overview_message_listener.h' ], 2375 ['include', 'browser/views/tabs/tab_overview_message_listener.h' ],
2404 ['include', 'browser/views/tabs/tab_overview_types.cc'], 2376 ['include', 'browser/views/tabs/tab_overview_types.cc'],
2405 ['include', 'browser/views/tabs/tab_overview_types.h'], 2377 ['include', 'browser/views/tabs/tab_overview_types.h'],
2406 ], 2378 ],
2407 }], 2379 }],
2380 ['OS=="linux" and chromeos==1',{
2381 'dependencies': [
2382
2383 '../third_party/protobuf2/protobuf.gyp:protobuf_lite',
2384 '../third_party/protobuf2/protobuf.gyp:protoc#host',
2385 '../third_party/chromeos_login_manager/chromeos_login_manager/ch romeos_login_manager.gyp:session',
2386 '../third_party/chromeos_login_manager/chromeos_login_manager/ch romeos_login_manager.gyp:emit_login_prompt_ready',
2387 '../third_party/cros/cros_api.gyp:cros_api',
2388 ],
2389 'actions': [
2390 {
2391 'action_name': 'my_proto',
2392 'inputs': [
2393 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFI X)',
2394 'browser/metrics/system_metrics.proto',
2395 ],
2396 'outputs': [
2397 '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.p b.cc',
2398 '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.p b.h',
2399 ],
2400 'dependencies': [
2401 '../third_party/protobuf2/protobuf.gyp:protoc',
2402 ],
2403 'action': [
2404 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFI X)',
2405 'browser/metrics/system_metrics.proto',
2406 '--cpp_out=<(INTERMEDIATE_DIR)/chrome',
2407 ],
2408 },
2409 ],
2410 }],
2408 ], 2411 ],
2409 # Exclude files that should be excluded for all non-Windows platforms. 2412 # Exclude files that should be excluded for all non-Windows platforms.
2410 'sources!': [ 2413 'sources!': [
2411 'browser/autocomplete/autocomplete_accessibility.cc', 2414 'browser/autocomplete/autocomplete_accessibility.cc',
2412 'browser/bookmarks/bookmark_menu_controller.cc', 2415 'browser/bookmarks/bookmark_menu_controller.cc',
2413 'browser/bookmarks/bookmark_menu_controller.h', 2416 'browser/bookmarks/bookmark_menu_controller.h',
2414 'browser/browser_accessibility.cc', 2417 'browser/browser_accessibility.cc',
2415 'browser/browser_accessibility_manager.cc', 2418 'browser/browser_accessibility_manager.cc',
2416 'browser/external_tab_container.cc', 2419 'browser/external_tab_container.cc',
2417 'browser/google_update.cc', 2420 'browser/google_update.cc',
2418 'browser/history/history_indexer.idl', 2421 'browser/history/history_indexer.idl',
2419 'browser/history_tab_ui.cc', 2422 'browser/history_tab_ui.cc',
2420 'browser/history_view.cc', 2423 'browser/history_view.cc',
2421 'browser/ime_input.cc', 2424 'browser/ime_input.cc',
2422 'browser/importer/ie_importer.cc', 2425 'browser/importer/ie_importer.cc',
2423 'browser/jumplist.cc', 2426 'browser/jumplist.cc',
2424 'browser/sandbox_policy.cc', 2427 'browser/sandbox_policy.cc',
2425 ], 2428 ],
2426 }], 2429 }],
2427 # views depends on webkit headers. 2430 # views depends on webkit headers.
2428 ['OS=="win" or toolkit_views==1',{ 2431 ['OS=="win" or chromeos==1 or toolkit_views==1',{
2429 'dependencies': [ 2432 'dependencies': [
2430 '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', 2433 '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore',
2431 ], 2434 ],
2432 }], 2435 }],
2433 ], 2436 ],
2434 }, 2437 },
2435 ], 2438 ],
2436 } 2439 }
2437 2440
2438 # Local Variables: 2441 # Local Variables:
2439 # tab-width:2 2442 # tab-width:2
2440 # indent-tabs-mode:nil 2443 # indent-tabs-mode:nil
2441 # End: 2444 # End:
2442 # vim: set expandtab tabstop=2 shiftwidth=2: 2445 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698