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

Side by Side Diff: chrome/chrome_browser.gypi

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

Powered by Google App Engine
This is Rietveld 408576698