OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 3560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3571 ['exclude', '^browser/renderer_host/render_widget_host_view_gtk.cc']
, | 3571 ['exclude', '^browser/renderer_host/render_widget_host_view_gtk.cc']
, |
3572 ['exclude', '^browser/renderer_host/render_widget_host_view_gtk.h'], | 3572 ['exclude', '^browser/renderer_host/render_widget_host_view_gtk.h'], |
3573 ['exclude', '^browser/ui/views/frame/browser_non_client_frame_view_f
actory_gtk.cc'], | 3573 ['exclude', '^browser/ui/views/frame/browser_non_client_frame_view_f
actory_gtk.cc'], |
3574 ['exclude', '^browser/ui/views/handle_web_keyboard_event_gtk.cc'], | 3574 ['exclude', '^browser/ui/views/handle_web_keyboard_event_gtk.cc'], |
3575 ['exclude', '^browser/ui/views/tab_contents/tab_contents_view_views.
*'], | 3575 ['exclude', '^browser/ui/views/tab_contents/tab_contents_view_views.
*'], |
3576 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_view
_gtk.*'], | 3576 ['exclude', '^browser/ui/views/tab_contents/native_tab_contents_view
_gtk.*'], |
3577 ['exclude', '^browser/chromeos/input_method/candidate_window.cc'], | 3577 ['exclude', '^browser/chromeos/input_method/candidate_window.cc'], |
3578 ['exclude', '^browser/chromeos/input_method/candidate_window.h'], | 3578 ['exclude', '^browser/chromeos/input_method/candidate_window.h'], |
3579 ], | 3579 ], |
3580 }], | 3580 }], |
3581 ['OS=="linux"', { | 3581 ['toolkit_uses_gtk == 1', { |
3582 'dependencies': [ | 3582 'dependencies': [ |
3583 '../build/linux/system.gyp:dbus-glib', | 3583 '../build/linux/system.gyp:dbus-glib', |
3584 '../build/linux/system.gyp:gconf', | 3584 '../build/linux/system.gyp:gconf', |
3585 '../build/linux/system.gyp:gtk', | 3585 '../build/linux/system.gyp:gtk', |
3586 '../build/linux/system.gyp:gtkprint', | 3586 '../build/linux/system.gyp:gtkprint', |
3587 '../build/linux/system.gyp:nss', | 3587 '../build/linux/system.gyp:nss', |
3588 '../build/linux/system.gyp:x11', | 3588 '../build/linux/system.gyp:x11', |
3589 '../third_party/undoview/undoview.gyp:undoview', | 3589 '../third_party/undoview/undoview.gyp:undoview', |
3590 ], | 3590 ], |
3591 'link_settings': { | 3591 'link_settings': { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3639 'third_party/mozilla_security_manager/nsUsageArrayHelper.cpp', | 3639 'third_party/mozilla_security_manager/nsUsageArrayHelper.cpp', |
3640 'third_party/mozilla_security_manager/nsUsageArrayHelper.h', | 3640 'third_party/mozilla_security_manager/nsUsageArrayHelper.h', |
3641 ], | 3641 ], |
3642 }], | 3642 }], |
3643 ['linux_sandbox_path != ""', { | 3643 ['linux_sandbox_path != ""', { |
3644 'defines': [ | 3644 'defines': [ |
3645 'LINUX_SANDBOX_PATH="<(linux_sandbox_path)"', | 3645 'LINUX_SANDBOX_PATH="<(linux_sandbox_path)"', |
3646 ], | 3646 ], |
3647 }], | 3647 }], |
3648 ], | 3648 ], |
3649 }, { # OS != "linux" | 3649 }, { # toolkit_uses_gtk != 1 |
3650 'sources!': [ | 3650 'sources!': [ |
3651 # TODO(mattm): Cert manager stuff is really !USE_NSS. | 3651 # TODO(mattm): Cert manager stuff is really !USE_NSS. |
3652 'browser/certificate_manager_model.cc', | 3652 'browser/certificate_manager_model.cc', |
3653 'browser/certificate_manager_model.h', | 3653 'browser/certificate_manager_model.h', |
3654 'browser/ui/webui/options/certificate_manager_handler.cc', | 3654 'browser/ui/webui/options/certificate_manager_handler.cc', |
3655 'browser/ui/webui/options/certificate_manager_handler.h', | 3655 'browser/ui/webui/options/certificate_manager_handler.h', |
3656 ], | 3656 ], |
3657 }], | 3657 }], |
3658 ['OS=="freebsd" or OS=="openbsd"', { | |
3659 'dependencies': [ | |
3660 '../build/linux/system.gyp:gtk', | |
3661 '../build/linux/system.gyp:gtkprint', | |
3662 '../build/linux/system.gyp:nss', | |
3663 '../build/linux/system.gyp:x11', | |
3664 ], | |
3665 }], | |
3666 ['OS=="mac"', { | 3658 ['OS=="mac"', { |
3667 'sources!': [ | 3659 'sources!': [ |
3668 'browser/automation/automation_provider_list_generic.cc', | 3660 'browser/automation/automation_provider_list_generic.cc', |
3669 'browser/bookmarks/bookmark_context_menu.cc', | 3661 'browser/bookmarks/bookmark_context_menu.cc', |
3670 'browser/bookmarks/bookmark_drop_info.cc', | 3662 'browser/bookmarks/bookmark_drop_info.cc', |
3671 'browser/first_run/upgrade_util.cc', | 3663 'browser/first_run/upgrade_util.cc', |
3672 'browser/first_run/upgrade_util.h', | 3664 'browser/first_run/upgrade_util.h', |
3673 'browser/importer/nss_decryptor_system_nss.cc', | 3665 'browser/importer/nss_decryptor_system_nss.cc', |
3674 'browser/importer/nss_decryptor_system_nss.h', | 3666 'browser/importer/nss_decryptor_system_nss.h', |
3675 'browser/jankometer.cc', | 3667 'browser/jankometer.cc', |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4257 ['include', '^browser/ui/views/notifications/balloon_view.h'], | 4249 ['include', '^browser/ui/views/notifications/balloon_view.h'], |
4258 ['exclude', '^browser/ui/views/keyboard_overlay_delegate.cc'], | 4250 ['exclude', '^browser/ui/views/keyboard_overlay_delegate.cc'], |
4259 ['exclude', '^browser/ui/views/keyboard_overlay_delegate.h'], | 4251 ['exclude', '^browser/ui/views/keyboard_overlay_delegate.h'], |
4260 ['exclude', '^browser/ui/views/keyboard_overlay_dialog_view.cc']
, | 4252 ['exclude', '^browser/ui/views/keyboard_overlay_dialog_view.cc']
, |
4261 ['exclude', '^browser/ui/views/keyboard_overlay_dialog_view.h'], | 4253 ['exclude', '^browser/ui/views/keyboard_overlay_dialog_view.h'], |
4262 ['exclude', '^browser/ui/views/select_file_dialog.cc'], | 4254 ['exclude', '^browser/ui/views/select_file_dialog.cc'], |
4263 ], | 4255 ], |
4264 }], | 4256 }], |
4265 # Exclude extension_input_ui_api again | 4257 # Exclude extension_input_ui_api again |
4266 # (Required because of the '^browser/extensions/' include abrove) | 4258 # (Required because of the '^browser/extensions/' include abrove) |
4267 ['OS=="linux" and ( touchui==0 or chromeos==0 )', { | 4259 ['toolkit_uses_gtk == 1 and ( touchui == 0 or chromeos == 0 )', { |
4268 'sources/': [ | 4260 'sources/': [ |
4269 ['exclude', '^browser/extensions/extension_input_ui_api.cc'], | 4261 ['exclude', '^browser/extensions/extension_input_ui_api.cc'], |
4270 ['exclude', '^browser/extensions/extension_input_ui_api.h'], | 4262 ['exclude', '^browser/extensions/extension_input_ui_api.h'], |
4271 ], | 4263 ], |
4272 }], | 4264 }], |
4273 # GTK build only | 4265 # GTK build only |
4274 ['OS=="linux" and toolkit_views==0', { | 4266 ['toolkit_uses_gtk == 1 and toolkit_views == 0', { |
4275 'sources/': [ | 4267 'sources/': [ |
4276 ['include', '^browser/printing/print_dialog_gtk.cc'], | 4268 ['include', '^browser/printing/print_dialog_gtk.cc'], |
4277 ['include', '^browser/printing/print_dialog_gtk.h'], | 4269 ['include', '^browser/printing/print_dialog_gtk.h'], |
4278 ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'], | 4270 ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'], |
4279 ['exclude', '^browser/ui/browser_list_stub.cc'], | 4271 ['exclude', '^browser/ui/browser_list_stub.cc'], |
4280 ['exclude', '^browser/ui/views/autocomplete/autocomplete_popup_g
tk.cc'], | 4272 ['exclude', '^browser/ui/views/autocomplete/autocomplete_popup_g
tk.cc'], |
4281 ['exclude', '^browser/ui/views/autocomplete/autocomplete_popup_g
tk.h'], | 4273 ['exclude', '^browser/ui/views/autocomplete/autocomplete_popup_g
tk.h'], |
4282 ['exclude', '^browser/ui/panels/panel_browser_frame_view.cc'], | 4274 ['exclude', '^browser/ui/panels/panel_browser_frame_view.cc'], |
4283 ['exclude', '^browser/ui/panels/panel_browser_frame_view.h'], | 4275 ['exclude', '^browser/ui/panels/panel_browser_frame_view.h'], |
4284 ['exclude', '^browser/ui/panels/panel_browser_view.cc'], | 4276 ['exclude', '^browser/ui/panels/panel_browser_view.cc'], |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4352 '../third_party/protobuf/protobuf.gyp:protoc', | 4344 '../third_party/protobuf/protobuf.gyp:protoc', |
4353 ], | 4345 ], |
4354 'action': [ | 4346 'action': [ |
4355 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFI
X)', | 4347 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFI
X)', |
4356 'browser/metrics/system_metrics.proto', | 4348 'browser/metrics/system_metrics.proto', |
4357 '--cpp_out=<(INTERMEDIATE_DIR)/chrome', | 4349 '--cpp_out=<(INTERMEDIATE_DIR)/chrome', |
4358 ], | 4350 ], |
4359 }, | 4351 }, |
4360 ], | 4352 ], |
4361 }], | 4353 }], |
4362 ['OS=="linux" and gcc_version==45', { | 4354 ['os_posix == 1 and OS != "mac" and gcc_version == 45', { |
4363 # Avoid gcc 4.5 miscompilation of template_url.cc | 4355 # Avoid gcc 4.5 miscompilation of template_url.cc |
4364 # as per http://crbug.com/41887 | 4356 # as per http://crbug.com/41887 |
4365 'cflags': [ | 4357 'cflags': [ |
4366 '-fno-ipa-cp', | 4358 '-fno-ipa-cp', |
4367 ], | 4359 ], |
4368 }], | 4360 }], |
4369 ], | 4361 ], |
4370 # Exclude files that should be excluded for all non-Windows platforms. | 4362 # Exclude files that should be excluded for all non-Windows platforms. |
4371 'sources!': [ | 4363 'sources!': [ |
4372 'browser/accessibility/browser_accessibility_manager_win.cc', | 4364 'browser/accessibility/browser_accessibility_manager_win.cc', |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4570 'hard_dependency': 1, | 4562 'hard_dependency': 1, |
4571 }, | 4563 }, |
4572 ], | 4564 ], |
4573 } | 4565 } |
4574 | 4566 |
4575 # Local Variables: | 4567 # Local Variables: |
4576 # tab-width:2 | 4568 # tab-width:2 |
4577 # indent-tabs-mode:nil | 4569 # indent-tabs-mode:nil |
4578 # End: | 4570 # End: |
4579 # vim: set expandtab tabstop=2 shiftwidth=2: | 4571 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |