OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 | 8 |
9 'variables': { | 9 'variables': { |
10 'version_py_path': 'tools/build/version.py', | 10 'version_py_path': 'tools/build/version.py', |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 'views_unit_tests_sources': [ | 120 'views_unit_tests_sources': [ |
121 '../views/view_unittest.cc', | 121 '../views/view_unittest.cc', |
122 '../views/focus/focus_manager_unittest.cc', | 122 '../views/focus/focus_manager_unittest.cc', |
123 '../views/controls/label_unittest.cc', | 123 '../views/controls/label_unittest.cc', |
124 ], | 124 ], |
125 'views_unit_tests_sources_win_specific': [ | 125 'views_unit_tests_sources_win_specific': [ |
126 # TODO(jcampan): make the following tests work on Linux. | 126 # TODO(jcampan): make the following tests work on Linux. |
127 '../views/controls/table/table_view_unittest.cc', | 127 '../views/controls/table/table_view_unittest.cc', |
128 '../views/grid_layout_unittest.cc', | 128 '../views/grid_layout_unittest.cc', |
129 ], | 129 ], |
| 130 'browser_sync%': 1, |
130 'conditions': [ | 131 'conditions': [ |
131 ['OS=="win"', { | 132 ['OS=="win"', { |
132 'nacl_defines': [ | 133 'nacl_defines': [ |
133 'NACL_WINDOWS=1', | 134 'NACL_WINDOWS=1', |
134 'NACL_LINUX=0', | 135 'NACL_LINUX=0', |
135 'NACL_OSX=0', | 136 'NACL_OSX=0', |
136 ], | 137 ], |
137 },], | 138 },], |
138 ['OS=="linux"', { | 139 ['OS=="linux"', { |
139 'nacl_defines': [ | 140 'nacl_defines': [ |
(...skipping 12 matching lines...) Expand all Loading... |
152 'conditions': [ | 153 'conditions': [ |
153 ['branding=="Chrome"', { | 154 ['branding=="Chrome"', { |
154 'mac_bundle_id': 'com.google.Chrome', | 155 'mac_bundle_id': 'com.google.Chrome', |
155 'mac_creator': 'rimZ', | 156 'mac_creator': 'rimZ', |
156 }, { # else: branding!="Chrome" | 157 }, { # else: branding!="Chrome" |
157 'mac_bundle_id': 'org.chromium.Chromium', | 158 'mac_bundle_id': 'org.chromium.Chromium', |
158 'mac_creator': 'Cr24', | 159 'mac_creator': 'Cr24', |
159 }], # branding | 160 }], # branding |
160 ], # conditions | 161 ], # conditions |
161 }], # OS=="mac" | 162 }], # OS=="mac" |
162 ['OS=="win" or OS=="mac"', { | |
163 # Whether or not browser sync code is built in. | |
164 'browser_sync%': 1, | |
165 }, { | |
166 'browser_sync%': 0, | |
167 }], # OS=="win" | |
168 ['target_arch=="ia32"', { | 163 ['target_arch=="ia32"', { |
169 'nacl_defines': [ | 164 'nacl_defines': [ |
170 # TODO(gregoryd): consider getting this from NaCl's common.gypi | 165 # TODO(gregoryd): consider getting this from NaCl's common.gypi |
171 'NACL_TARGET_SUBARCH=32', | 166 'NACL_TARGET_SUBARCH=32', |
172 'NACL_BUILD_SUBARCH=32', | 167 'NACL_BUILD_SUBARCH=32', |
173 ], | 168 ], |
174 }], | 169 }], |
175 ['target_arch=="x64"', { | 170 ['target_arch=="x64"', { |
176 'nacl_defines': [ | 171 'nacl_defines': [ |
177 # TODO(gregoryd): consider getting this from NaCl's common.gypi | 172 # TODO(gregoryd): consider getting this from NaCl's common.gypi |
(...skipping 2707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2885 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.
cc'], | 2880 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.
cc'], |
2886 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.
h'], | 2881 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.
h'], |
2887 # Overlaps with browser/views/frame/browser_view.cc | 2882 # Overlaps with browser/views/frame/browser_view.cc |
2888 ['exclude', '^browser/browser_list_gtk.cc'], | 2883 ['exclude', '^browser/browser_list_gtk.cc'], |
2889 ], | 2884 ], |
2890 }], | 2885 }], |
2891 ['OS=="linux" and toolkit_views==0', { | 2886 ['OS=="linux" and toolkit_views==0', { |
2892 'sources/': [ | 2887 'sources/': [ |
2893 ['include', '^browser/printing/print_dialog_gtk.cc'], | 2888 ['include', '^browser/printing/print_dialog_gtk.cc'], |
2894 ['include', '^browser/printing/print_dialog_gtk.h'], | 2889 ['include', '^browser/printing/print_dialog_gtk.h'], |
| 2890 ['exclude', '^browser/sync/sync_setup_flow.cc'], |
| 2891 ['exclude', '^browser/sync/sync_setup_wizard.cc'], |
2895 ], | 2892 ], |
2896 }], | 2893 }], |
2897 ['chromeos==1 or toolkit_views==1',{ | 2894 ['chromeos==1 or toolkit_views==1',{ |
2898 'dependencies': [ | 2895 'dependencies': [ |
2899 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', | 2896 '../third_party/protobuf2/protobuf.gyp:protobuf_lite', |
2900 '../third_party/protobuf2/protobuf.gyp:protoc', | 2897 '../third_party/protobuf2/protobuf.gyp:protoc', |
2901 '../third_party/cros/cros_api.gyp:cros_api', | 2898 '../third_party/cros/cros_api.gyp:cros_api', |
2902 ], | 2899 ], |
2903 'actions': [ | 2900 'actions': [ |
2904 { | 2901 { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2987 'browser/tab_contents/web_drag_source.cc', | 2984 'browser/tab_contents/web_drag_source.cc', |
2988 'browser/tab_contents/web_drop_target.cc', | 2985 'browser/tab_contents/web_drop_target.cc', |
2989 ], | 2986 ], |
2990 }], | 2987 }], |
2991 # views depends on webkit headers. | 2988 # views depends on webkit headers. |
2992 ['OS=="win" or toolkit_views==1',{ | 2989 ['OS=="win" or toolkit_views==1',{ |
2993 'dependencies': [ | 2990 'dependencies': [ |
2994 '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', | 2991 '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', |
2995 ], | 2992 ], |
2996 }], | 2993 }], |
| 2994 ['OS=="linux" and browser_sync==1', { |
| 2995 'sources': [ |
| 2996 'browser/gtk/sync_setup_wizard_gtk.cc', |
| 2997 'browser/gtk/sync_setup_wizard_gtk.h', |
| 2998 ], |
| 2999 }], |
2997 ], | 3000 ], |
2998 }, | 3001 }, |
2999 { | 3002 { |
3000 'target_name': 'debugger', | 3003 'target_name': 'debugger', |
3001 'type': '<(library)', | 3004 'type': '<(library)', |
3002 'msvs_guid': '57823D8C-A317-4713-9125-2C91FDFD12D6', | 3005 'msvs_guid': '57823D8C-A317-4713-9125-2C91FDFD12D6', |
3003 'dependencies': [ | 3006 'dependencies': [ |
3004 'chrome_resources', | 3007 'chrome_resources', |
3005 'chrome_strings', | 3008 'chrome_strings', |
3006 'theme_resources', | 3009 'theme_resources', |
(...skipping 1672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4679 ['OS=="linux"', { | 4682 ['OS=="linux"', { |
4680 'dependencies': [ | 4683 'dependencies': [ |
4681 '../build/linux/system.gyp:gtk', | 4684 '../build/linux/system.gyp:gtk', |
4682 '../build/linux/system.gyp:nss', | 4685 '../build/linux/system.gyp:nss', |
4683 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 4686 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
4684 ], | 4687 ], |
4685 'sources': [ | 4688 'sources': [ |
4686 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', | 4689 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', |
4687 ], | 4690 ], |
4688 'sources!': [ | 4691 'sources!': [ |
| 4692 'browser/sync/sync_setup_wizard_unittest.cc', |
4689 'browser/views/bookmark_context_menu_test.cc', | 4693 'browser/views/bookmark_context_menu_test.cc', |
4690 'browser/gtk/options/cookies_view_unittest.cc', | 4694 'browser/gtk/options/cookies_view_unittest.cc', |
4691 # Compact Language Detection (cld) is not supported in linux yet. | 4695 # Compact Language Detection (cld) is not supported in linux yet. |
4692 '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/
compact_lang_det_unittest_small.cc', | 4696 '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/
compact_lang_det_unittest_small.cc', |
4693 ], | 4697 ], |
4694 }], | 4698 }], |
4695 ['OS=="linux" and (toolkit_views==1 or chromeos==1)', { | 4699 ['OS=="linux" and (toolkit_views==1 or chromeos==1)', { |
4696 'dependencies': [ | 4700 'dependencies': [ |
4697 '../views/views.gyp:views', | 4701 '../views/views.gyp:views', |
4698 ], | 4702 ], |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4815 'browser/bookmarks/bookmark_folder_tree_model_unittest.cc', | 4819 'browser/bookmarks/bookmark_folder_tree_model_unittest.cc', |
4816 'browser/bookmarks/bookmark_table_model_unittest.cc', | 4820 'browser/bookmarks/bookmark_table_model_unittest.cc', |
4817 'browser/browser_unittest.cc', | 4821 'browser/browser_unittest.cc', |
4818 'browser/extensions/extension_process_manager_unittest.cc', | 4822 'browser/extensions/extension_process_manager_unittest.cc', |
4819 'browser/importer/importer_unittest.cc', | 4823 'browser/importer/importer_unittest.cc', |
4820 'browser/login_prompt_unittest.cc', | 4824 'browser/login_prompt_unittest.cc', |
4821 'browser/printing/print_job_unittest.cc', | 4825 'browser/printing/print_job_unittest.cc', |
4822 'browser/rlz/rlz_unittest.cc', | 4826 'browser/rlz/rlz_unittest.cc', |
4823 'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc', | 4827 'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc', |
4824 'browser/search_engines/template_url_scraper_unittest.cc', | 4828 'browser/search_engines/template_url_scraper_unittest.cc', |
4825 'browser/sync/profile_sync_service_unittest.cc', | |
4826 'browser/views/bookmark_editor_view_unittest.cc', | 4829 'browser/views/bookmark_editor_view_unittest.cc', |
4827 'browser/views/find_bar_host_unittest.cc', | 4830 'browser/views/find_bar_host_unittest.cc', |
4828 'browser/views/keyword_editor_view_unittest.cc', | 4831 'browser/views/keyword_editor_view_unittest.cc', |
4829 'common/chrome_plugin_unittest.cc', | 4832 'common/chrome_plugin_unittest.cc', |
4830 'common/net/url_util_unittest.cc', | 4833 'common/net/url_util_unittest.cc', |
4831 ], | 4834 ], |
4832 }], | 4835 }], |
4833 ], | 4836 ], |
4834 }, | 4837 }, |
4835 { | 4838 { |
(...skipping 1861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6697 '../third_party/expat/expat.gyp:expat', | 6700 '../third_party/expat/expat.gyp:expat', |
6698 '../third_party/libjingle/libjingle.gyp:libjingle', | 6701 '../third_party/libjingle/libjingle.gyp:libjingle', |
6699 'sync_proto', | 6702 'sync_proto', |
6700 ], | 6703 ], |
6701 'conditions': [ | 6704 'conditions': [ |
6702 ['OS=="linux"', { | 6705 ['OS=="linux"', { |
6703 'defines': [ | 6706 'defines': [ |
6704 'POSIX', | 6707 'POSIX', |
6705 'OS_LINUX', | 6708 'OS_LINUX', |
6706 ], | 6709 ], |
| 6710 'dependencies': [ |
| 6711 '../build/linux/system.gyp:gtk' |
| 6712 ], |
6707 }], | 6713 }], |
6708 ], | 6714 ], |
6709 }, | 6715 }, |
6710 { | 6716 { |
6711 'target_name': 'sync_unit_tests', | 6717 'target_name': 'sync_unit_tests', |
6712 'type': 'executable', | 6718 'type': 'executable', |
6713 'sources': [ | 6719 'sources': [ |
6714 'browser/sync/engine/all_status_unittest.cc', | 6720 'browser/sync/engine/all_status_unittest.cc', |
6715 'browser/sync/engine/apply_updates_command_unittest.cc', | 6721 'browser/sync/engine/apply_updates_command_unittest.cc', |
6716 'browser/sync/engine/auth_watcher_unittest.cc', | 6722 'browser/sync/engine/auth_watcher_unittest.cc', |
6717 'browser/sync/engine/net/gaia_authenticator_unittest.cc', | 6723 'browser/sync/engine/net/gaia_authenticator_unittest.cc', |
6718 'browser/sync/engine/syncer_proto_util_unittest.cc', | 6724 'browser/sync/engine/syncer_proto_util_unittest.cc', |
6719 'browser/sync/engine/syncer_thread_unittest.cc', | 6725 'browser/sync/engine/syncer_thread_unittest.cc', |
6720 'browser/sync/engine/syncer_unittest.cc', | 6726 'browser/sync/engine/syncer_unittest.cc', |
6721 'browser/sync/engine/syncproto_unittest.cc', | 6727 'browser/sync/engine/syncproto_unittest.cc', |
6722 'browser/sync/notifier/listener/talk_mediator_unittest.cc', | 6728 'browser/sync/notifier/listener/talk_mediator_unittest.cc', |
6723 'browser/sync/syncable/syncable_id_unittest.cc', | 6729 'browser/sync/syncable/syncable_id_unittest.cc', |
6724 'browser/sync/syncable/syncable_unittest.cc', | 6730 'browser/sync/syncable/syncable_unittest.cc', |
6725 'browser/sync/util/character_set_converters_unittest.cc', | 6731 'browser/sync/util/character_set_converters_unittest.cc', |
6726 'browser/sync/util/crypto_helpers_unittest.cc', | 6732 'browser/sync/util/crypto_helpers_unittest.cc', |
6727 'browser/sync/util/data_encryption_unittest.cc', | |
6728 'browser/sync/util/event_sys_unittest.cc', | 6733 'browser/sync/util/event_sys_unittest.cc', |
6729 'browser/sync/util/highres_timer_unittest.cc', | 6734 'browser/sync/util/highres_timer_unittest.cc', |
6730 'browser/sync/util/path_helpers_unittest.cc', | 6735 'browser/sync/util/path_helpers_unittest.cc', |
6731 'browser/sync/util/query_helpers_unittest.cc', | 6736 'browser/sync/util/query_helpers_unittest.cc', |
6732 'browser/sync/util/user_settings_unittest.cc', | 6737 'browser/sync/util/user_settings_unittest.cc', |
6733 'test/sync/engine/mock_gaia_authenticator.cc', | 6738 'test/sync/engine/mock_gaia_authenticator.cc', |
6734 'test/sync/engine/mock_gaia_authenticator.h', | 6739 'test/sync/engine/mock_gaia_authenticator.h', |
6735 'test/sync/engine/mock_gaia_authenticator_unittest.cc', | 6740 'test/sync/engine/mock_gaia_authenticator_unittest.cc', |
6736 'test/sync/engine/mock_server_connection.cc', | 6741 'test/sync/engine/mock_server_connection.cc', |
6737 'test/sync/engine/mock_server_connection.h', | 6742 'test/sync/engine/mock_server_connection.h', |
(...skipping 13 matching lines...) Expand all Loading... |
6751 'dependencies': [ | 6756 'dependencies': [ |
6752 '../testing/gtest.gyp:gtest', | 6757 '../testing/gtest.gyp:gtest', |
6753 '../third_party/libjingle/libjingle.gyp:libjingle', | 6758 '../third_party/libjingle/libjingle.gyp:libjingle', |
6754 'notifier', | 6759 'notifier', |
6755 'sync', | 6760 'sync', |
6756 'sync_proto', | 6761 'sync_proto', |
6757 'test_support_unit', | 6762 'test_support_unit', |
6758 ], | 6763 ], |
6759 'conditions': [ | 6764 'conditions': [ |
6760 ['OS=="win"', { | 6765 ['OS=="win"', { |
| 6766 'sources' : [ |
| 6767 'browser/sync/util/data_encryption_unittest.cc', |
| 6768 ], |
6761 'dependencies': [ | 6769 'dependencies': [ |
6762 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', | 6770 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
6763 ], | 6771 ], |
6764 'link_settings': { | 6772 'link_settings': { |
6765 'libraries': [ | 6773 'libraries': [ |
6766 '-lcrypt32.lib', | 6774 '-lcrypt32.lib', |
6767 '-lws2_32.lib', | 6775 '-lws2_32.lib', |
6768 '-lsecur32.lib', | 6776 '-lsecur32.lib', |
6769 ], | 6777 ], |
6770 }, | 6778 }, |
6771 }, { # else: OS != "win" | 6779 }, { # else: OS != "win" |
6772 'sources!': [ | 6780 'sources!': [ |
6773 'browser/sync/util/data_encryption_unittest.cc', | 6781 'browser/sync/util/data_encryption_unittest.cc', |
6774 ], | 6782 ], |
6775 }], | 6783 }], |
6776 ['OS=="linux"', { | 6784 ['OS=="linux"', { |
6777 'defines': [ | 6785 'defines': [ |
6778 'POSIX', | 6786 'POSIX', |
6779 ], | 6787 ], |
| 6788 'dependencies': [ |
| 6789 '../build/linux/system.gyp:gtk' |
| 6790 ], |
6780 }], | 6791 }], |
6781 ], | 6792 ], |
6782 }, | 6793 }, |
6783 { | 6794 { |
6784 'target_name': 'sync', | 6795 'target_name': 'sync', |
6785 'type': '<(library)', | 6796 'type': '<(library)', |
6786 'sources': [ | 6797 'sources': [ |
6787 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.cc', | 6798 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.cc', |
6788 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.h', | 6799 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.h', |
6789 'browser/sync/engine/all_status.cc', | 6800 'browser/sync/engine/all_status.cc', |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6925 'sources' : [ | 6936 'sources' : [ |
6926 'browser/sync/util/data_encryption.cc', | 6937 'browser/sync/util/data_encryption.cc', |
6927 'browser/sync/util/data_encryption.h', | 6938 'browser/sync/util/data_encryption.h', |
6928 'browser/sync/util/path_helpers.cc', | 6939 'browser/sync/util/path_helpers.cc', |
6929 ], | 6940 ], |
6930 }], | 6941 }], |
6931 ['OS=="linux"', { | 6942 ['OS=="linux"', { |
6932 'defines': [ | 6943 'defines': [ |
6933 'POSIX', | 6944 'POSIX', |
6934 ], | 6945 ], |
| 6946 'dependencies': [ |
| 6947 '../build/linux/system.gyp:gtk' |
| 6948 ], |
6935 }], | 6949 }], |
6936 ['OS=="mac"', { | 6950 ['OS=="mac"', { |
6937 'link_settings': { | 6951 'link_settings': { |
6938 'libraries': [ | 6952 'libraries': [ |
6939 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | 6953 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
6940 ], | 6954 ], |
6941 }, | 6955 }, |
6942 }], | 6956 }], |
6943 ], | 6957 ], |
6944 }, | 6958 }, |
6945 ], # targets when browser_sync==1 | 6959 ], # targets when browser_sync==1 |
6946 }], | 6960 }], |
6947 ], # 'conditions' | 6961 ], # 'conditions' |
6948 } | 6962 } |
6949 | 6963 |
6950 # Local Variables: | 6964 # Local Variables: |
6951 # tab-width:2 | 6965 # tab-width:2 |
6952 # indent-tabs-mode:nil | 6966 # indent-tabs-mode:nil |
6953 # End: | 6967 # End: |
6954 # vim: set expandtab tabstop=2 shiftwidth=2: | 6968 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |