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

Side by Side Diff: chrome/chrome_browser.gypi

Issue 9307019: Cleanup: Merge some OS specific sections in chrome/*.gypi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | chrome/chrome_exe.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 # 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': 'static_library', 9 'type': 'static_library',
10 'variables': { 'enable_wexit_time_destructors': 1, }, 10 'variables': { 'enable_wexit_time_destructors': 1, },
(...skipping 4213 matching lines...) Expand 10 before | Expand all | Expand 10 after
4224 'browser/nacl_host/nacl_broker_service_win.cc', 4224 'browser/nacl_host/nacl_broker_service_win.cc',
4225 'browser/nacl_host/nacl_broker_service_win.h', 4225 'browser/nacl_host/nacl_broker_service_win.h',
4226 'browser/nacl_host/nacl_process_host.cc', 4226 'browser/nacl_host/nacl_process_host.cc',
4227 'browser/nacl_host/nacl_process_host.h', 4227 'browser/nacl_host/nacl_process_host.h',
4228 ], 4228 ],
4229 }], 4229 }],
4230 ['branding=="Chrome"', { 4230 ['branding=="Chrome"', {
4231 'sources!': [ 4231 'sources!': [
4232 'browser/protector/keys.cc', 4232 'browser/protector/keys.cc',
4233 ], 4233 ],
4234 }], 4234 }, { # branding!="Chrome"
4235 ['branding!="Chrome"', {
4236 'sources!': [ 4235 'sources!': [
4237 'browser/protector/internal/keys_internal.cc', 4236 'browser/protector/internal/keys_internal.cc',
4238 ], 4237 ],
4239 }], 4238 }],
4240 ['debug_devtools==1', { 4239 ['debug_devtools==1', {
4241 'defines': [ 4240 'defines': [
4242 'DEBUG_DEVTOOLS=1', 4241 'DEBUG_DEVTOOLS=1',
4243 ], 4242 ],
4244 }], 4243 }],
4245 ['configuration_policy==0', { 4244 ['configuration_policy==0', {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
4301 ['exclude', 'browser/ui/views/status_icons/status_tray_chromeos.cc'] , 4300 ['exclude', 'browser/ui/views/status_icons/status_tray_chromeos.cc'] ,
4302 ['exclude', 'browser/ui/views/status_icons/status_tray_chromeos.h'], 4301 ['exclude', 'browser/ui/views/status_icons/status_tray_chromeos.h'],
4303 ['exclude', 'browser/ui/views/status_icons/status_icon_chromeos.cc'] , 4302 ['exclude', 'browser/ui/views/status_icons/status_icon_chromeos.cc'] ,
4304 ['exclude', 'browser/ui/views/status_icons/status_icon_chromeos.h'], 4303 ['exclude', 'browser/ui/views/status_icons/status_icon_chromeos.h'],
4305 ['exclude', 'browser/ui/webui/about_page/about_page_handler.cc'], 4304 ['exclude', 'browser/ui/webui/about_page/about_page_handler.cc'],
4306 ['exclude', 'browser/ui/webui/about_page/about_page_handler.h'], 4305 ['exclude', 'browser/ui/webui/about_page/about_page_handler.h'],
4307 ['exclude', 'browser/ui/webui/about_page/about_page_ui.cc'], 4306 ['exclude', 'browser/ui/webui/about_page/about_page_ui.cc'],
4308 ['exclude', 'browser/ui/webui/about_page/about_page_ui.h'], 4307 ['exclude', 'browser/ui/webui/about_page/about_page_ui.h'],
4309 ['exclude', 'browser/ui/webui/active_downloads_ui.cc'], 4308 ['exclude', 'browser/ui/webui/active_downloads_ui.cc'],
4310 ], 4309 ],
4311 }], 4310 }, { # chromeos==1
4312 ['chromeos==1', {
4313 'dependencies': [ 4311 'dependencies': [
4314 '../build/linux/system.gyp:dbus-glib', 4312 '../build/linux/system.gyp:dbus-glib',
4315 '../third_party/libevent/libevent.gyp:libevent', 4313 '../third_party/libevent/libevent.gyp:libevent',
4316 '../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp: mozc_candidates_proto', 4314 '../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp: mozc_candidates_proto',
4317 'browser/chromeos/input_method/input_method.gyp:gencode', 4315 'browser/chromeos/input_method/input_method.gyp:gencode',
4318 ], 4316 ],
4319 'sources!': [ 4317 'sources!': [
4320 'browser/background/background_mode_manager_gtk.cc', 4318 'browser/background/background_mode_manager_gtk.cc',
4321 'browser/extensions/default_apps.cc', 4319 'browser/extensions/default_apps.cc',
4322 'browser/extensions/default_apps.h', 4320 'browser/extensions/default_apps.h',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
4366 ], 4364 ],
4367 }], 4365 }],
4368 ['use_gnome_keyring==0', { 4366 ['use_gnome_keyring==0', {
4369 'sources!': [ 4367 'sources!': [
4370 'browser/password_manager/native_backend_gnome_x.cc', 4368 'browser/password_manager/native_backend_gnome_x.cc',
4371 'browser/password_manager/native_backend_gnome_x.h', 4369 'browser/password_manager/native_backend_gnome_x.h',
4372 ], 4370 ],
4373 }], 4371 }],
4374 # linux/chromeos only status area button. 4372 # linux/chromeos only status area button.
4375 ['OS=="linux" and use_aura==1', { 4373 ['OS=="linux" and use_aura==1', {
4374 'dependencies': [
4375 '../build/linux/system.gyp:dbus',
4376 '../build/linux/system.gyp:fontconfig',
4377 '../build/linux/system.gyp:x11',
4378 '../dbus/dbus.gyp:dbus',
4379 ],
4376 'sources/': [ 4380 'sources/': [
4381 # Must remove GTK files in PureViews case
4382 ['exclude', '^browser/google/google_update.cc'],
4383 ['exclude', '^browser/google/google_update.h'],
4384 ['exclude', '^browser/platform_util_common_linux.cc'],
4385 ['exclude', '^browser/ui/webui/collected_cookies_ui_delegate.cc'],
4386 ['exclude', '^browser/ui/webui/collected_cookies_ui_delegate.h'],
4377 ['include', '^browser/chromeos/status/memory_menu_button.cc'], 4387 ['include', '^browser/chromeos/status/memory_menu_button.cc'],
4378 ['include', '^browser/chromeos/status/memory_menu_button.h'], 4388 ['include', '^browser/chromeos/status/memory_menu_button.h'],
4389 ['include', '^browser/ui/views/aura/'],
4390 ['include', '^browser/ui/views/bookmarks/bookmark_editor_view.cc'],
4391 ['include', '^browser/ui/views/bookmarks/bookmark_editor_view.h'],
4392 ['include', '^browser/ui/views/collected_cookies_views.cc'],
4393 ['include', '^browser/ui/views/collected_cookies_views.h'],
4394 ['include', '^browser/ui/views/constrained_html_delegate_views.cc'],
4395 ['include', '^browser/ui/views/constrained_window_views.cc'],
4396 ['include', '^browser/ui/views/cookie_info_view.cc'],
4397 ['include', '^browser/ui/views/cookie_info_view.h'],
4398 ['include', '^browser/ui/views/dropdown_bar_host_aura.cc'],
4399 ['include', '^browser/ui/views/find_bar_host_aura.cc'],
4400 ['include', '^browser/ui/views/first_run_bubble.cc'],
4401 ['include', '^browser/ui/views/frame/browser_frame_aura.cc'],
4402 ['include', '^browser/ui/views/frame/browser_non_client_frame_view_a ura.cc'],
4403 ['include', '^browser/ui/views/frame/browser_non_client_frame_view_a ura.h'],
4404 ['include', '^browser/ui/views/frame/browser_non_client_frame_view_f actory_aura.cc'],
4405 ['include', '^browser/ui/views/importer/import_lock_dialog_view.cc'] ,
4406 ['include', '^browser/ui/views/native_constrained_window_aura.cc'],
4407 ['include', '^browser/ui/views/stubs_aura.cc'],
4408 ['include', '^browser/ui/views/tabs/tab_drag_controller2.cc'],
4409 ['include', '^browser/ui/views/tabs/tab_drag_controller2.h'],
4410 ['include', '^browser/ui/views/unhandled_keyboard_event_handler_aura x11.cc'],
4411 ['include', '^browser/ui/views/unhandled_keyboard_event_handler.cc'] ,
4379 ], 4412 ],
4380 }], 4413 }],
4381 ['use_aura==1', { 4414 ['use_aura==1', {
4382 'sources/': [ 4415 'sources/': [
4383 ['exclude', '^browser/aeropeek_manager.cc'], 4416 ['exclude', '^browser/aeropeek_manager.cc'],
4384 ['exclude', '^browser/automation/automation_provider_win.cc'], 4417 ['exclude', '^browser/automation/automation_provider_win.cc'],
4385 ['exclude', '^browser/automation/chrome_frame_automation_provider.cc '], 4418 ['exclude', '^browser/automation/chrome_frame_automation_provider.cc '],
4386 ['exclude', '^browser/automation/chrome_frame_automation_provider.h' ], 4419 ['exclude', '^browser/automation/chrome_frame_automation_provider.h' ],
4387 ['exclude', '^browser/automation/testing_automation_provider_win.cc' ], 4420 ['exclude', '^browser/automation/testing_automation_provider_win.cc' ],
4388 ['exclude', '^browser/chromeos/native_dialog_window.cc'], 4421 ['exclude', '^browser/chromeos/native_dialog_window.cc'],
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
4500 # breakpad_linux.cc uses generated file_version_info_linux.h. 4533 # breakpad_linux.cc uses generated file_version_info_linux.h.
4501 '<(SHARED_INTERMEDIATE_DIR)', 4534 '<(SHARED_INTERMEDIATE_DIR)',
4502 '../breakpad/src', 4535 '../breakpad/src',
4503 ], 4536 ],
4504 }, { # linux_breakpad==0 4537 }, { # linux_breakpad==0
4505 'sources': [ 4538 'sources': [
4506 'browser/crash_handler_host_linux_stub.cc', 4539 'browser/crash_handler_host_linux_stub.cc',
4507 ], 4540 ],
4508 }], 4541 }],
4509 ], 4542 ],
4510 }], 4543 }, { # os_posix == 0 or OS == "mac"'
4511 ['OS=="linux" and use_aura==1', { 4544 # Exclude WebUI certificate viewer if not POSIX or mac (these OS's hav e
4512 'dependencies': [ 4545 # native certificate viewers).
4513 '../build/linux/system.gyp:dbus',
4514 '../build/linux/system.gyp:fontconfig',
4515 '../build/linux/system.gyp:x11',
4516 '../dbus/dbus.gyp:dbus',
4517 ],
4518 }],
4519 # Exclude WebUI certificate viewer if not POSIX or mac (these OS's have
4520 # native certificate viewers).
4521 ['os_posix == 0 or OS == "mac"', {
4522 'sources/': [ 4546 'sources/': [
4523 ['exclude', '^browser/ui/webui/certificate_viewer_webui.cc'], 4547 ['exclude', '^browser/ui/webui/certificate_viewer_webui.cc'],
4524 ['exclude', '^browser/ui/webui/certificate_viewer_webui.h'], 4548 ['exclude', '^browser/ui/webui/certificate_viewer_webui.h'],
4525 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'], 4549 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'],
4526 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'], 4550 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'],
4527 ], 4551 ],
4528 }], 4552 }],
4529 ['use_nss==1', { 4553 ['use_nss==1', {
4530 'sources': [ 4554 'sources': [
4531 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp', 4555 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp',
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
5321 'browser/accessibility/browser_accessibility_manager_win.cc', 5345 'browser/accessibility/browser_accessibility_manager_win.cc',
5322 'browser/accessibility/browser_accessibility_manager_win.h', 5346 'browser/accessibility/browser_accessibility_manager_win.h',
5323 'browser/accessibility/browser_accessibility_win.cc', 5347 'browser/accessibility/browser_accessibility_win.cc',
5324 'browser/accessibility/browser_accessibility_win.h', 5348 'browser/accessibility/browser_accessibility_win.h',
5325 'browser/aeropeek_manager.cc', 5349 'browser/aeropeek_manager.cc',
5326 'browser/extensions/extension_tts_api_win.cc', 5350 'browser/extensions/extension_tts_api_win.cc',
5327 'browser/google/google_update.cc', 5351 'browser/google/google_update.cc',
5328 'browser/importer/ie_importer.cc', 5352 'browser/importer/ie_importer.cc',
5329 ], 5353 ],
5330 }], 5354 }],
5331 # Must remove GTK files in PureViews case
5332 ['use_aura==1 and OS=="linux"', {
5333 'sources/': [
5334 ['exclude', '^browser/google/google_update.cc'],
5335 ['exclude', '^browser/google/google_update.h'],
5336 ['exclude', '^browser/platform_util_common_linux.cc'],
5337 ['include', '^browser/ui/views/aura/'],
5338 ['include', '^browser/ui/views/bookmarks/bookmark_editor_view.cc'],
5339 ['include', '^browser/ui/views/bookmarks/bookmark_editor_view.h'],
5340 ['include', '^browser/ui/views/collected_cookies_views.cc'],
5341 ['include', '^browser/ui/views/collected_cookies_views.h'],
5342 ['include', '^browser/ui/views/constrained_html_delegate_views.cc'],
5343 ['include', '^browser/ui/views/constrained_window_views.cc'],
5344 ['include', '^browser/ui/views/cookie_info_view.cc'],
5345 ['include', '^browser/ui/views/cookie_info_view.h'],
5346 ['include', '^browser/ui/views/dropdown_bar_host_aura.cc'],
5347 ['include', '^browser/ui/views/find_bar_host_aura.cc'],
5348 ['include', '^browser/ui/views/first_run_bubble.cc'],
5349 ['include', '^browser/ui/views/frame/browser_frame_aura.cc'],
5350 ['include', '^browser/ui/views/frame/browser_non_client_frame_view_a ura.cc'],
5351 ['include', '^browser/ui/views/frame/browser_non_client_frame_view_a ura.h'],
5352 ['include', '^browser/ui/views/frame/browser_non_client_frame_view_f actory_aura.cc'],
5353 ['include', '^browser/ui/views/importer/import_lock_dialog_view.cc'] ,
5354 ['include', '^browser/ui/views/native_constrained_window_aura.cc'],
5355 ['include', '^browser/ui/views/stubs_aura.cc'],
5356 ['include', '^browser/ui/views/tabs/tab_drag_controller2.cc'],
5357 ['include', '^browser/ui/views/tabs/tab_drag_controller2.h'],
5358 ['include', '^browser/ui/views/unhandled_keyboard_event_handler.cc'] ,
5359 ['include', '^browser/ui/views/unhandled_keyboard_event_handler_aura x11.cc'],
5360 ['exclude', '^browser/ui/webui/collected_cookies_ui_delegate.cc'],
5361 ['exclude', '^browser/ui/webui/collected_cookies_ui_delegate.h'],
5362 ],
5363 }],
5364 # Build Aura with ChromeOS. 5355 # Build Aura with ChromeOS.
5365 ['use_aura==1 and chromeos==1', { 5356 ['use_aura==1 and chromeos==1', {
5366 'sources/': [ 5357 'sources/': [
5367 ['exclude', '^browser/chromeos/frame/panel_controller.cc'], 5358 ['exclude', '^browser/chromeos/frame/panel_controller.cc'],
5368 ['exclude', '^browser/chromeos/frame/panel_controller.h'], 5359 ['exclude', '^browser/chromeos/frame/panel_controller.h'],
5369 ['exclude', '^browser/chromeos/frame/browser_view.cc'], 5360 ['exclude', '^browser/chromeos/frame/browser_view.cc'],
5370 ['exclude', '^browser/chromeos/frame/browser_view.h'], 5361 ['exclude', '^browser/chromeos/frame/browser_view.h'],
5371 ['exclude', '^browser/chromeos/frame/panel_browser_view.cc'], 5362 ['exclude', '^browser/chromeos/frame/panel_browser_view.cc'],
5372 ['exclude', '^browser/chromeos/frame/panel_browser_view.h'], 5363 ['exclude', '^browser/chromeos/frame/panel_browser_view.h'],
5373 ['exclude', '^browser/chromeos/legacy_window_manager/wm_ipc.cc'], 5364 ['exclude', '^browser/chromeos/legacy_window_manager/wm_ipc.cc'],
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
5498 'type': 'static_library', 5489 'type': 'static_library',
5499 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ], 5490 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ],
5500 'variables': { 5491 'variables': {
5501 'proto_in_dir': 'browser/history', 5492 'proto_in_dir': 'browser/history',
5502 'proto_out_dir': 'chrome/browser/history', 5493 'proto_out_dir': 'chrome/browser/history',
5503 }, 5494 },
5504 'includes': [ '../build/protoc.gypi' ] 5495 'includes': [ '../build/protoc.gypi' ]
5505 }, 5496 },
5506 ], 5497 ],
5507 } 5498 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_exe.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698