OLD | NEW |
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 4211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4222 'browser/nacl_host/nacl_process_host.h', | 4222 'browser/nacl_host/nacl_process_host.h', |
4223 ], | 4223 ], |
4224 'dependencies': [ | 4224 'dependencies': [ |
4225 '../native_client/src/trusted/service_runtime/service_runtime.gyp:se
l', | 4225 '../native_client/src/trusted/service_runtime/service_runtime.gyp:se
l', |
4226 ], | 4226 ], |
4227 }], | 4227 }], |
4228 ['branding=="Chrome"', { | 4228 ['branding=="Chrome"', { |
4229 'sources!': [ | 4229 'sources!': [ |
4230 'browser/protector/keys.cc', | 4230 'browser/protector/keys.cc', |
4231 ], | 4231 ], |
4232 }, { # branding!="Chrome" | 4232 }], |
| 4233 ['branding!="Chrome"', { |
4233 'sources!': [ | 4234 'sources!': [ |
4234 'browser/protector/internal/keys_internal.cc', | 4235 'browser/protector/internal/keys_internal.cc', |
4235 ], | 4236 ], |
4236 }], | 4237 }], |
4237 ['debug_devtools==1', { | 4238 ['debug_devtools==1', { |
4238 'defines': [ | 4239 'defines': [ |
4239 'DEBUG_DEVTOOLS=1', | 4240 'DEBUG_DEVTOOLS=1', |
4240 ], | 4241 ], |
4241 }], | 4242 }], |
4242 ['configuration_policy==0', { | 4243 ['configuration_policy==0', { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4300 ['exclude', 'browser/ui/views/status_icons/status_tray_chromeos.cc']
, | 4301 ['exclude', 'browser/ui/views/status_icons/status_tray_chromeos.cc']
, |
4301 ['exclude', 'browser/ui/views/status_icons/status_tray_chromeos.h'], | 4302 ['exclude', 'browser/ui/views/status_icons/status_tray_chromeos.h'], |
4302 ['exclude', 'browser/ui/views/status_icons/status_icon_chromeos.cc']
, | 4303 ['exclude', 'browser/ui/views/status_icons/status_icon_chromeos.cc']
, |
4303 ['exclude', 'browser/ui/views/status_icons/status_icon_chromeos.h'], | 4304 ['exclude', 'browser/ui/views/status_icons/status_icon_chromeos.h'], |
4304 ['exclude', 'browser/ui/webui/about_page/about_page_handler.cc'], | 4305 ['exclude', 'browser/ui/webui/about_page/about_page_handler.cc'], |
4305 ['exclude', 'browser/ui/webui/about_page/about_page_handler.h'], | 4306 ['exclude', 'browser/ui/webui/about_page/about_page_handler.h'], |
4306 ['exclude', 'browser/ui/webui/about_page/about_page_ui.cc'], | 4307 ['exclude', 'browser/ui/webui/about_page/about_page_ui.cc'], |
4307 ['exclude', 'browser/ui/webui/about_page/about_page_ui.h'], | 4308 ['exclude', 'browser/ui/webui/about_page/about_page_ui.h'], |
4308 ['exclude', 'browser/ui/webui/active_downloads_ui.cc'], | 4309 ['exclude', 'browser/ui/webui/active_downloads_ui.cc'], |
4309 ], | 4310 ], |
4310 }, { # chromeos==1 | 4311 }], |
| 4312 ['chromeos==1', { |
4311 'dependencies': [ | 4313 'dependencies': [ |
4312 '../build/linux/system.gyp:dbus-glib', | 4314 '../build/linux/system.gyp:dbus-glib', |
4313 '../third_party/libevent/libevent.gyp:libevent', | 4315 '../third_party/libevent/libevent.gyp:libevent', |
4314 '../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp:
mozc_candidates_proto', | 4316 '../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp:
mozc_candidates_proto', |
4315 'browser/chromeos/input_method/input_method.gyp:gencode', | 4317 'browser/chromeos/input_method/input_method.gyp:gencode', |
4316 ], | 4318 ], |
4317 'sources!': [ | 4319 'sources!': [ |
4318 'browser/background/background_mode_manager_gtk.cc', | 4320 'browser/background/background_mode_manager_gtk.cc', |
4319 'browser/extensions/default_apps.cc', | 4321 'browser/extensions/default_apps.cc', |
4320 'browser/extensions/default_apps.h', | 4322 'browser/extensions/default_apps.h', |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4364 ], | 4366 ], |
4365 }], | 4367 }], |
4366 ['use_gnome_keyring==0', { | 4368 ['use_gnome_keyring==0', { |
4367 'sources!': [ | 4369 'sources!': [ |
4368 'browser/password_manager/native_backend_gnome_x.cc', | 4370 'browser/password_manager/native_backend_gnome_x.cc', |
4369 'browser/password_manager/native_backend_gnome_x.h', | 4371 'browser/password_manager/native_backend_gnome_x.h', |
4370 ], | 4372 ], |
4371 }], | 4373 }], |
4372 # linux/chromeos only status area button. | 4374 # linux/chromeos only status area button. |
4373 ['OS=="linux" and use_aura==1', { | 4375 ['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 ], | |
4380 'sources/': [ | 4376 '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'], | |
4387 ['include', '^browser/chromeos/status/memory_menu_button.cc'], | 4377 ['include', '^browser/chromeos/status/memory_menu_button.cc'], |
4388 ['include', '^browser/chromeos/status/memory_menu_button.h'], | 4378 ['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']
, | |
4412 ], | 4379 ], |
4413 }], | 4380 }], |
4414 ['use_aura==1', { | 4381 ['use_aura==1', { |
4415 'sources/': [ | 4382 'sources/': [ |
4416 ['exclude', '^browser/aeropeek_manager.cc'], | 4383 ['exclude', '^browser/aeropeek_manager.cc'], |
4417 ['exclude', '^browser/automation/automation_provider_win.cc'], | 4384 ['exclude', '^browser/automation/automation_provider_win.cc'], |
4418 ['exclude', '^browser/automation/chrome_frame_automation_provider.cc
'], | 4385 ['exclude', '^browser/automation/chrome_frame_automation_provider.cc
'], |
4419 ['exclude', '^browser/automation/chrome_frame_automation_provider.h'
], | 4386 ['exclude', '^browser/automation/chrome_frame_automation_provider.h'
], |
4420 ['exclude', '^browser/automation/testing_automation_provider_win.cc'
], | 4387 ['exclude', '^browser/automation/testing_automation_provider_win.cc'
], |
4421 ['exclude', '^browser/chromeos/native_dialog_window.cc'], | 4388 ['exclude', '^browser/chromeos/native_dialog_window.cc'], |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4533 # breakpad_linux.cc uses generated file_version_info_linux.h. | 4500 # breakpad_linux.cc uses generated file_version_info_linux.h. |
4534 '<(SHARED_INTERMEDIATE_DIR)', | 4501 '<(SHARED_INTERMEDIATE_DIR)', |
4535 '../breakpad/src', | 4502 '../breakpad/src', |
4536 ], | 4503 ], |
4537 }, { # linux_breakpad==0 | 4504 }, { # linux_breakpad==0 |
4538 'sources': [ | 4505 'sources': [ |
4539 'browser/crash_handler_host_linux_stub.cc', | 4506 'browser/crash_handler_host_linux_stub.cc', |
4540 ], | 4507 ], |
4541 }], | 4508 }], |
4542 ], | 4509 ], |
4543 }, { # os_posix == 0 or OS == "mac"' | 4510 }], |
4544 # Exclude WebUI certificate viewer if not POSIX or mac (these OS's hav
e | 4511 ['OS=="linux" and use_aura==1', { |
4545 # native certificate viewers). | 4512 'dependencies': [ |
| 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"', { |
4546 'sources/': [ | 4522 'sources/': [ |
4547 ['exclude', '^browser/ui/webui/certificate_viewer_webui.cc'], | 4523 ['exclude', '^browser/ui/webui/certificate_viewer_webui.cc'], |
4548 ['exclude', '^browser/ui/webui/certificate_viewer_webui.h'], | 4524 ['exclude', '^browser/ui/webui/certificate_viewer_webui.h'], |
4549 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'], | 4525 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'], |
4550 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'], | 4526 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'], |
4551 ], | 4527 ], |
4552 }], | 4528 }], |
4553 ['use_nss==1', { | 4529 ['use_nss==1', { |
4554 'sources': [ | 4530 'sources': [ |
4555 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp', | 4531 'third_party/mozilla_security_manager/nsNSSCertHelper.cpp', |
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5345 'browser/accessibility/browser_accessibility_manager_win.cc', | 5321 'browser/accessibility/browser_accessibility_manager_win.cc', |
5346 'browser/accessibility/browser_accessibility_manager_win.h', | 5322 'browser/accessibility/browser_accessibility_manager_win.h', |
5347 'browser/accessibility/browser_accessibility_win.cc', | 5323 'browser/accessibility/browser_accessibility_win.cc', |
5348 'browser/accessibility/browser_accessibility_win.h', | 5324 'browser/accessibility/browser_accessibility_win.h', |
5349 'browser/aeropeek_manager.cc', | 5325 'browser/aeropeek_manager.cc', |
5350 'browser/extensions/extension_tts_api_win.cc', | 5326 'browser/extensions/extension_tts_api_win.cc', |
5351 'browser/google/google_update.cc', | 5327 'browser/google/google_update.cc', |
5352 'browser/importer/ie_importer.cc', | 5328 'browser/importer/ie_importer.cc', |
5353 ], | 5329 ], |
5354 }], | 5330 }], |
| 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 }], |
5355 # Build Aura with ChromeOS. | 5364 # Build Aura with ChromeOS. |
5356 ['use_aura==1 and chromeos==1', { | 5365 ['use_aura==1 and chromeos==1', { |
5357 'sources/': [ | 5366 'sources/': [ |
5358 ['exclude', '^browser/chromeos/frame/panel_controller.cc'], | 5367 ['exclude', '^browser/chromeos/frame/panel_controller.cc'], |
5359 ['exclude', '^browser/chromeos/frame/panel_controller.h'], | 5368 ['exclude', '^browser/chromeos/frame/panel_controller.h'], |
5360 ['exclude', '^browser/chromeos/frame/browser_view.cc'], | 5369 ['exclude', '^browser/chromeos/frame/browser_view.cc'], |
5361 ['exclude', '^browser/chromeos/frame/browser_view.h'], | 5370 ['exclude', '^browser/chromeos/frame/browser_view.h'], |
5362 ['exclude', '^browser/chromeos/frame/panel_browser_view.cc'], | 5371 ['exclude', '^browser/chromeos/frame/panel_browser_view.cc'], |
5363 ['exclude', '^browser/chromeos/frame/panel_browser_view.h'], | 5372 ['exclude', '^browser/chromeos/frame/panel_browser_view.h'], |
5364 ['exclude', '^browser/chromeos/legacy_window_manager/wm_ipc.cc'], | 5373 ['exclude', '^browser/chromeos/legacy_window_manager/wm_ipc.cc'], |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5489 'type': 'static_library', | 5498 'type': 'static_library', |
5490 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ], | 5499 'sources': [ 'browser/history/in_memory_url_index_cache.proto' ], |
5491 'variables': { | 5500 'variables': { |
5492 'proto_in_dir': 'browser/history', | 5501 'proto_in_dir': 'browser/history', |
5493 'proto_out_dir': 'chrome/browser/history', | 5502 'proto_out_dir': 'chrome/browser/history', |
5494 }, | 5503 }, |
5495 'includes': [ '../build/protoc.gypi' ] | 5504 'includes': [ '../build/protoc.gypi' ] |
5496 }, | 5505 }, |
5497 ], | 5506 ], |
5498 } | 5507 } |
OLD | NEW |