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

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: 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/views/tab_contents/tab_contents_view_gtk.cc'], 3573 ['exclude', '^browser/views/tab_contents/tab_contents_view_gtk.cc'],
3574 ['exclude', '^browser/views/tab_contents/tab_contents_view_gtk.h'], 3574 ['exclude', '^browser/views/tab_contents/tab_contents_view_gtk.h'],
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 'browser/ui/webui/options/certificate_manager_handler.cc', 3649 'browser/ui/webui/options/certificate_manager_handler.cc',
3650 'browser/ui/webui/options/certificate_manager_handler.h', 3650 'browser/ui/webui/options/certificate_manager_handler.h',
3651 ], 3651 ],
3652 }], 3652 }],
3653 ['OS=="freebsd" or OS=="openbsd"', {
3654 'dependencies': [
3655 '../build/linux/system.gyp:gtk',
3656 '../build/linux/system.gyp:gtkprint',
3657 '../build/linux/system.gyp:nss',
3658 '../build/linux/system.gyp:x11',
3659 ],
3660 }],
3661 ['OS=="mac"', { 3653 ['OS=="mac"', {
3662 'sources!': [ 3654 'sources!': [
3663 'browser/automation/automation_provider_list_generic.cc', 3655 'browser/automation/automation_provider_list_generic.cc',
3664 'browser/bookmarks/bookmark_context_menu.cc', 3656 'browser/bookmarks/bookmark_context_menu.cc',
3665 'browser/bookmarks/bookmark_drop_info.cc', 3657 'browser/bookmarks/bookmark_drop_info.cc',
3666 'browser/first_run/upgrade_util.cc', 3658 'browser/first_run/upgrade_util.cc',
3667 'browser/first_run/upgrade_util.h', 3659 'browser/first_run/upgrade_util.h',
3668 'browser/importer/nss_decryptor_system_nss.cc', 3660 'browser/importer/nss_decryptor_system_nss.cc',
3669 'browser/importer/nss_decryptor_system_nss.h', 3661 'browser/importer/nss_decryptor_system_nss.h',
3670 'browser/jankometer.cc', 3662 'browser/jankometer.cc',
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
4248 ['include', '^browser/ui/views/notifications/balloon_view.h'], 4240 ['include', '^browser/ui/views/notifications/balloon_view.h'],
4249 ['exclude', '^browser/ui/views/keyboard_overlay_delegate.cc'], 4241 ['exclude', '^browser/ui/views/keyboard_overlay_delegate.cc'],
4250 ['exclude', '^browser/ui/views/keyboard_overlay_delegate.h'], 4242 ['exclude', '^browser/ui/views/keyboard_overlay_delegate.h'],
4251 ['exclude', '^browser/ui/views/keyboard_overlay_dialog_view.cc'] , 4243 ['exclude', '^browser/ui/views/keyboard_overlay_dialog_view.cc'] ,
4252 ['exclude', '^browser/ui/views/keyboard_overlay_dialog_view.h'], 4244 ['exclude', '^browser/ui/views/keyboard_overlay_dialog_view.h'],
4253 ['exclude', '^browser/ui/views/select_file_dialog.cc'], 4245 ['exclude', '^browser/ui/views/select_file_dialog.cc'],
4254 ], 4246 ],
4255 }], 4247 }],
4256 # Exclude extension_input_ui_api again 4248 # Exclude extension_input_ui_api again
4257 # (Required because of the '^browser/extensions/' include abrove) 4249 # (Required because of the '^browser/extensions/' include abrove)
4258 ['OS=="linux" and ( touchui==0 or chromeos==0 )', { 4250 ['toolkit_uses_gtk==1 and ( touchui==0 or chromeos==0 )', {
4259 'sources/': [ 4251 'sources/': [
4260 ['exclude', '^browser/extensions/extension_input_ui_api.cc'], 4252 ['exclude', '^browser/extensions/extension_input_ui_api.cc'],
4261 ['exclude', '^browser/extensions/extension_input_ui_api.h'], 4253 ['exclude', '^browser/extensions/extension_input_ui_api.h'],
4262 ], 4254 ],
4263 }], 4255 }],
4264 # GTK build only 4256 # GTK build only
4265 ['OS=="linux" and toolkit_views==0', { 4257 ['toolkit_uses_gtk==1 and toolkit_views==0', {
4266 'sources/': [ 4258 'sources/': [
4267 ['include', '^browser/printing/print_dialog_gtk.cc'], 4259 ['include', '^browser/printing/print_dialog_gtk.cc'],
4268 ['include', '^browser/printing/print_dialog_gtk.h'], 4260 ['include', '^browser/printing/print_dialog_gtk.h'],
4269 ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'], 4261 ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'],
4270 ['exclude', '^browser/ui/browser_list_stub.cc'], 4262 ['exclude', '^browser/ui/browser_list_stub.cc'],
4271 ['exclude', '^browser/ui/views/autocomplete/autocomplete_popup_g tk.cc'], 4263 ['exclude', '^browser/ui/views/autocomplete/autocomplete_popup_g tk.cc'],
4272 ['exclude', '^browser/ui/views/autocomplete/autocomplete_popup_g tk.h'], 4264 ['exclude', '^browser/ui/views/autocomplete/autocomplete_popup_g tk.h'],
4273 ['exclude', '^browser/ui/panels/panel_browser_frame_view.cc'], 4265 ['exclude', '^browser/ui/panels/panel_browser_frame_view.cc'],
4274 ['exclude', '^browser/ui/panels/panel_browser_frame_view.h'], 4266 ['exclude', '^browser/ui/panels/panel_browser_frame_view.h'],
4275 ['exclude', '^browser/ui/panels/panel_browser_view.cc'], 4267 ['exclude', '^browser/ui/panels/panel_browser_view.cc'],
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
4343 '../third_party/protobuf/protobuf.gyp:protoc', 4335 '../third_party/protobuf/protobuf.gyp:protoc',
4344 ], 4336 ],
4345 'action': [ 4337 'action': [
4346 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFI X)', 4338 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFI X)',
4347 'browser/metrics/system_metrics.proto', 4339 'browser/metrics/system_metrics.proto',
4348 '--cpp_out=<(INTERMEDIATE_DIR)/chrome', 4340 '--cpp_out=<(INTERMEDIATE_DIR)/chrome',
4349 ], 4341 ],
4350 }, 4342 },
4351 ], 4343 ],
4352 }], 4344 }],
4353 ['OS=="linux" and gcc_version==45', { 4345 ['os_posix==1 and OS!="mac" and gcc_version==45', {
4354 # Avoid gcc 4.5 miscompilation of template_url.cc 4346 # Avoid gcc 4.5 miscompilation of template_url.cc
4355 # as per http://crbug.com/41887 4347 # as per http://crbug.com/41887
4356 'cflags': [ 4348 'cflags': [
4357 '-fno-ipa-cp', 4349 '-fno-ipa-cp',
4358 ], 4350 ],
4359 }], 4351 }],
4360 ], 4352 ],
4361 # Exclude files that should be excluded for all non-Windows platforms. 4353 # Exclude files that should be excluded for all non-Windows platforms.
4362 'sources!': [ 4354 'sources!': [
4363 'browser/accessibility/browser_accessibility_manager_win.cc', 4355 'browser/accessibility/browser_accessibility_manager_win.cc',
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
4561 'hard_dependency': 1, 4553 'hard_dependency': 1,
4562 }, 4554 },
4563 ], 4555 ],
4564 } 4556 }
4565 4557
4566 # Local Variables: 4558 # Local Variables:
4567 # tab-width:2 4559 # tab-width:2
4568 # indent-tabs-mode:nil 4560 # indent-tabs-mode:nil
4569 # End: 4561 # End:
4570 # vim: set expandtab tabstop=2 shiftwidth=2: 4562 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/chrome_common.gypi » ('j') | chrome/chrome_exe.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698