diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-22 23:30:18 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-22 23:30:18 +0000 |
commit | d3a2cefb1df16176943e1cb14d01a761d7398eea (patch) | |
tree | b0d5e932a09cfaef1ff9938c2d9c586ec849e7f0 /chrome/chrome_browser.gypi | |
parent | 7477ea6f6a173b586622fd276433a346760ffbf4 (diff) | |
download | chromium_src-d3a2cefb1df16176943e1cb14d01a761d7398eea.zip chromium_src-d3a2cefb1df16176943e1cb14d01a761d7398eea.tar.gz chromium_src-d3a2cefb1df16176943e1cb14d01a761d7398eea.tar.bz2 |
Change chromeos build to use views
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/508025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rwxr-xr-x | chrome/chrome_browser.gypi | 93 |
1 files changed, 48 insertions, 45 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 5adec7d..a724c08 100755 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -1854,13 +1854,6 @@ 'CHROME_V8', ], }], - ['chromeos==1 and toolkit_views==0', { - 'sources/': [ - ['exclude', '^browser/chromeos/browser_extenders.cc'], - ['exclude', '^browser/gtk/external_protocol_dialog_gtk.cc'], - ['exclude', '^browser/gtk/external_protocol_dialog_gtk.h'], - ], - }], ['chromeos==0 and toolkit_views==0', { 'sources/': [ ['exclude', '^browser/chromeos'], @@ -1878,11 +1871,12 @@ '../base/base.gyp:linux_versioninfo', ], 'sources!': [ + # Exclude extension shelf for toolstrips. 'browser/views/extensions/extension_shelf.cc', 'browser/views/extensions/extension_shelf.h', 'browser/views/extensions/extension_view.cc', 'browser/views/extensions/extension_view.h', - # Windows-specific files. + # Windows-specific files. 'browser/password_manager/password_store_win.cc', 'browser/password_manager/password_store_win.h', ], @@ -1917,13 +1911,6 @@ }], ], }], - ['OS=="linux" and toolkit_views==0', { - 'sources!': [ - 'browser/bookmarks/bookmark_drop_info.cc', - 'browser/views/autocomplete/autocomplete_popup_gtk.cc', - 'browser/views/autocomplete/autocomplete_popup_gtk.h' - ], - }], ['OS=="freebsd"', { 'dependencies': [ '../build/linux/system.gyp:gtk', @@ -2120,7 +2107,7 @@ ['exclude', '^browser/views/'], ], 'conditions': [ - ['toolkit_views==1',{ + ['OS=="linux" and (toolkit_views==1 or chromeos==1)',{ 'sources/': [ ['include', '^browser/dock_info_gtk.cc'], ['include', '^browser/dock_info.cc'], @@ -2332,42 +2319,27 @@ ['exclude', '^browser/browser_list_gtk.cc'], ], }], - ['OS=="linux" and toolkit_views==0', { +# ['OS=="linux" and toolkit_views==1', { +# 'sources/': [ +# ['include', '^browser/views/frame/standard_extender.h'], +# ['include', '^browser/views/frame/standard_extender.cc'], +# ['include', '^browser/gtk/external_protocol_dialog_gtk.cc'], +# ['include', '^browser/gtk/external_protocol_dialog_gtk.h'], +# ], +# }], + ['OS=="linux" and chromeos==0 and toolkit_views==0', { 'sources/': [ ['include', '^browser/printing/print_dialog_gtk.cc'], ['include', '^browser/printing/print_dialog_gtk.h'], + ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'], + ['exclude', '^browser/views/autocomplete/autocomplete_popup_gtk.cc'], + ['exclude', '^browser/views/autocomplete/autocomplete_popup_gtk.h'], ], }], - ['chromeos==1 or toolkit_views==1',{ + ['OS=="linux" and (chromeos==1 or toolkit_views==1)',{ 'dependencies': [ - '../third_party/protobuf2/protobuf.gyp:protobuf_lite', - '../third_party/protobuf2/protobuf.gyp:protoc#host', - '../third_party/chromeos_login_manager/chromeos_login_manager/chromeos_login_manager.gyp:session', - '../third_party/chromeos_login_manager/chromeos_login_manager/chromeos_login_manager.gyp:emit_login_prompt_ready', - 'browser/chromeos/cros_api.gyp:cros_api', '../views/views.gyp:views', ], - 'actions': [ - { - 'action_name': 'my_proto', - 'inputs': [ - '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', - 'browser/metrics/system_metrics.proto', - ], - 'outputs': [ - '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.pb.cc', - '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.pb.h', - ], - 'dependencies': [ - '../third_party/protobuf2/protobuf.gyp:protoc', - ], - 'action': [ - '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', - 'browser/metrics/system_metrics.proto', - '--cpp_out=<(INTERMEDIATE_DIR)/chrome', - ], - }, - ], 'include_dirs': [ '<(INTERMEDIATE_DIR)', '<(INTERMEDIATE_DIR)/chrome', @@ -2411,6 +2383,37 @@ ['include', 'browser/views/tabs/tab_overview_types.h'], ], }], + ['OS=="linux" and (chromeos==1 or toolkit_views==1)',{ + 'dependencies': [ + + '../third_party/protobuf2/protobuf.gyp:protobuf_lite', + '../third_party/protobuf2/protobuf.gyp:protoc#host', + '../third_party/chromeos_login_manager/chromeos_login_manager/chromeos_login_manager.gyp:session', + '../third_party/chromeos_login_manager/chromeos_login_manager/chromeos_login_manager.gyp:emit_login_prompt_ready', + '../third_party/cros/cros_api.gyp:cros_api', + ], + 'actions': [ + { + 'action_name': 'my_proto', + 'inputs': [ + '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', + 'browser/metrics/system_metrics.proto', + ], + 'outputs': [ + '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.pb.cc', + '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.pb.h', + ], + 'dependencies': [ + '../third_party/protobuf2/protobuf.gyp:protoc', + ], + 'action': [ + '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', + 'browser/metrics/system_metrics.proto', + '--cpp_out=<(INTERMEDIATE_DIR)/chrome', + ], + }, + ], + }], ], # Exclude files that should be excluded for all non-Windows platforms. 'sources!': [ @@ -2431,7 +2434,7 @@ ], }], # views depends on webkit headers. - ['OS=="win" or toolkit_views==1',{ + ['OS=="win" or chromeos==1 or toolkit_views==1',{ 'dependencies': [ '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', ], |