| # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| { |
| 'variables': { |
| 'chromium_code': 1, |
| |
| 'variables': { |
| 'version_py_path': 'tools/build/version.py', |
| 'version_path': 'VERSION', |
| }, |
| 'version_py_path': '<(version_py_path)', |
| 'version_path': '<(version_path)', |
| 'version_full': |
| '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BUILD@.@PATCH@")', |
| 'version_build_patch': |
| '<!(python <(version_py_path) -f <(version_path) -t "@BUILD@.@PATCH@")', |
| |
| # Define the common dependencies that contain all the actual |
| # Chromium functionality. This list gets pulled in below by |
| # the link of the actual chrome (or chromium) executable on |
| # Linux or Mac, and into chrome.dll on Windows. |
| 'chromium_dependencies': [ |
| 'common', |
| 'browser', |
| 'debugger', |
| 'renderer', |
| 'syncapi', |
| 'utility', |
| 'profile_import', |
| 'worker', |
| '../printing/printing.gyp:printing', |
| '../webkit/webkit.gyp:inspector_resources', |
| ], |
| 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', |
| 'chrome_strings_grds': [ |
| # Localizable resources. |
| 'app/resources/locale_settings.grd', |
| 'app/chromium_strings.grd', |
| 'app/generated_resources.grd', |
| 'app/google_chrome_strings.grd', |
| ], |
| 'chrome_resources_grds': [ |
| # Data resources. |
| 'browser/browser_resources.grd', |
| 'common/common_resources.grd', |
| 'renderer/renderer_resources.grd', |
| ], |
| 'grit_info_cmd': ['python', '../tools/grit/grit_info.py',], |
| 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py',], |
| # TODO: remove this helper when we have loops in GYP |
| 'apply_locales_cmd': ['python', 'tools/build/apply_locales.py',], |
| 'browser_tests_sources': [ |
| 'browser/autocomplete/autocomplete_browsertest.cc', |
| 'browser/browser_browsertest.cc', |
| 'browser/browser_init_browsertest.cc', |
| 'browser/crash_recovery_browsertest.cc', |
| 'browser/download/save_page_browsertest.cc', |
| 'browser/extensions/autoupdate_interceptor.cc', |
| 'browser/extensions/autoupdate_interceptor.h', |
| 'browser/extensions/cross_origin_xhr_apitest.cc', |
| 'browser/extensions/execute_script_apitest.cc', |
| 'browser/extensions/extension_apitest.cc', |
| 'browser/extensions/extension_apitest.h', |
| 'browser/extensions/extension_bookmarks_apitest.cc', |
| 'browser/extensions/extension_history_apitest.cc', |
| 'browser/extensions/extension_javascript_url_apitest.cc', |
| 'browser/extensions/extension_messages_apitest.cc', |
| 'browser/extensions/extension_browsertest.cc', |
| 'browser/extensions/extension_browsertest.h', |
| 'browser/extensions/extension_browsertests_misc.cc', |
| 'browser/extensions/extension_override_apitest.cc', |
| 'browser/extensions/extension_toolstrip_apitest.cc', |
| 'browser/extensions/isolated_world_apitest.cc', |
| 'browser/extensions/page_action_apitest.cc', |
| 'browser/gtk/bookmark_manager_browsertest.cc', |
| 'browser/gtk/view_id_util_browsertest.cc', |
| 'browser/net/ftp_browsertest.cc', |
| 'browser/ssl/ssl_browser_tests.cc', |
| ], |
| 'browser_tests_sources_win_specific': [ |
| 'browser/extensions/browser_action_apitest.cc', |
| 'browser/extensions/extension_devtools_browsertest.cc', |
| 'browser/extensions/extension_devtools_browsertest.h', |
| 'browser/extensions/extension_devtools_browsertests.cc', |
| 'browser/extensions/extension_shelf_model_unittest.cc', |
| 'browser/extensions/extension_startup_unittest.cc', |
| 'browser/extensions/extension_storage_apitest.cc', |
| 'browser/extensions/extension_tabs_apitest.cc', |
| 'browser/extensions/extension_i18n_apitest.cc', |
| 'browser/extensions/extension_popup_apitest.cc', |
| 'browser/views/browser_views_accessibility_browsertest.cc', |
| 'browser/views/find_bar_host_browsertest.cc', |
| # TODO(jam): http://crbug.com/15101 These tests fail on Linux and Mac. |
| 'browser/child_process_security_policy_browser_test.cc', |
| 'browser/renderer_host/test/web_cache_manager_browsertest.cc', |
| 'browser/renderer_host/test/render_view_host_manager_browsertest.cc', |
| # TODO(jcampan): once the task manager works on Mac, move this test to the |
| # non win specific section. |
| 'browser/task_manager_browsertest.cc', |
| ], |
| 'browser_tests_sources_exclude_on_mac': [ |
| 'browser/extensions/cross_origin_xhr_apitest.cc', |
| 'browser/extensions/execute_script_apitest.cc', |
| 'browser/extensions/extension_apitest.cc', |
| 'browser/extensions/extension_apitest.h', |
| 'browser/extensions/extension_bookmarks_apitest.cc', |
| 'browser/extensions/extension_history_apitest.cc', |
| 'browser/extensions/extension_javascript_url_apitest.cc', |
| 'browser/extensions/extension_messages_apitest.cc', |
| 'browser/extensions/extension_browsertest.cc', |
| 'browser/extensions/extension_browsertest.h', |
| 'browser/extensions/extension_browsertests_misc.cc', |
| 'browser/extensions/extension_override_apitest.cc', |
| 'browser/extensions/extension_toolstrip_apitest.cc', |
| 'browser/extensions/isolated_world_apitest.cc', |
| 'browser/extensions/page_action_apitest.cc', |
| 'browser/ssl/ssl_browser_tests.cc', |
| ], |
| # TODO(jcampan): move these vars to views.gyp. |
| 'views_unit_tests_sources': [ |
| '../views/view_unittest.cc', |
| '../views/focus/focus_manager_unittest.cc', |
| '../views/controls/label_unittest.cc', |
| ], |
| 'views_unit_tests_sources_win_specific': [ |
| # TODO(jcampan): make the following tests work on Linux. |
| '../views/controls/table/table_view_unittest.cc', |
| '../views/grid_layout_unittest.cc', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'nacl_defines': [ |
| 'NACL_WINDOWS=1', |
| 'NACL_LINUX=0', |
| 'NACL_OSX=0', |
| ], |
| },], |
| ['OS=="linux"', { |
| 'nacl_defines': [ |
| 'NACL_WINDOWS=0', |
| 'NACL_LINUX=1', |
| 'NACL_OSX=0', |
| ], |
| },], |
| ['OS=="mac"', { |
| 'tweak_info_plist_path': 'tools/build/mac/tweak_info_plist', |
| 'symlink_lprojs_path': 'tools/build/mac/symlink_lprojs', |
| 'nacl_defines': [ |
| 'NACL_WINDOWS=0', |
| 'NACL_LINUX=0', |
| 'NACL_OSX=1', |
| ], |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| 'mac_bundle_id': 'com.google.Chrome', |
| 'mac_creator': 'rimZ', |
| }, { # else: branding!="Chrome" |
| 'mac_bundle_id': 'org.chromium.Chromium', |
| 'mac_creator': 'Cr24', |
| }], # branding |
| ], # conditions |
| }], # OS=="mac" |
| ['target_arch=="ia32"', { |
| 'nacl_defines': [ |
| # TODO(gregoryd): consider getting this from NaCl's common.gypi |
| 'NACL_TARGET_SUBARCH=32', |
| 'NACL_BUILD_SUBARCH=32', |
| ], |
| }], |
| ['target_arch=="x64"', { |
| 'nacl_defines': [ |
| # TODO(gregoryd): consider getting this from NaCl's common.gypi |
| 'NACL_TARGET_SUBARCH=64', |
| 'NACL_BUILD_SUBARCH=64', |
| ], |
| }], |
| ], # conditions |
| }, # variables |
| 'target_defaults': { |
| 'sources/': [ |
| ['exclude', '/(cocoa|gtk|win)/'], |
| ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|views|x)(_unittest)?(_mac)?\\.(cc|mm?)$'], |
| ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
| ], |
| 'conditions': [ |
| ['OS=="linux" or OS=="freebsd"', {'sources/': [ |
| ['include', '/gtk/'], |
| ['include', '_(gtk|linux|posix|skia|x)(_unittest)?\\.cc$'], |
| ['include', '/(gtk|x11)_[^/]*\\.cc$'], |
| ]}], |
| ['OS=="mac"', {'sources/': [ |
| ['include', '/cocoa/'], |
| ['include', '_(cocoa|mac|posix)(_unittest)?(_mac)?\\.(cc|mm?)$'], |
| ]}, { # else: OS != "mac" |
| 'sources/': [ |
| ['exclude', '\\.mm?$'], |
| ], |
| }], |
| ['OS=="win"', {'sources/': [ |
| ['include', '_(views|win)(_unittest)?\\.cc$'], |
| ['include', '/win/'], |
| ['include', '/(views|win)_[^/]*\\.cc$'], |
| ]}], |
| ['OS=="linux" and toolkit_views==1', {'sources/': [ |
| ['include', '_views\\.cc$'], |
| ]}], |
| ], |
| }, |
| 'targets': [ |
| { |
| # TODO(mark): It would be better if each static library that needed |
| # to run grit would list its own .grd files, but unfortunately some |
| # of the static libraries currently have circular dependencies among |
| # generated headers. |
| 'target_name': 'chrome_resources', |
| 'type': 'none', |
| 'msvs_guid': 'B95AB527-F7DB-41E9-AD91-EB51EE0F56BE', |
| 'variables': { |
| 'chrome_resources_inputs': [ |
| '<!@(<(grit_info_cmd) --inputs <(chrome_resources_grds))', |
| ], |
| }, |
| 'rules': [ |
| { |
| 'rule_name': 'grit', |
| 'extension': 'grd', |
| 'variables': { |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| # TODO(mmoss) The .grd files look for _google_chrome, but for |
| # consistency they should look for GOOGLE_CHROME_BUILD like C++. |
| # Clean this up when Windows moves to gyp. |
| 'chrome_build': '_google_chrome', |
| 'branded_env': 'CHROMIUM_BUILD=google_chrome', |
| }, { # else: branding!="Chrome" |
| 'chrome_build': '_chromium', |
| 'branded_env': 'CHROMIUM_BUILD=chromium', |
| }], |
| ], |
| }, |
| 'inputs': [ |
| '<@(chrome_resources_inputs)', |
| ], |
| 'outputs': [ |
| '<(grit_out_dir)/grit/<(RULE_INPUT_ROOT).h', |
| '<(grit_out_dir)/<(RULE_INPUT_ROOT).pak', |
| # TODO(bradnelson): move to something like this instead |
| #'<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(chrome_resources_grds))', |
| # This currently cannot work because gyp only evaluates the |
| # outputs once (rather than per case where the rule applies). |
| # This means you end up with all the outputs from all the grd |
| # files, which angers scons and confuses vstudio. |
| # One alternative would be to turn this into several actions, |
| # but that would be rather verbose. |
| ], |
| 'action': ['python', '../tools/grit/grit.py', '-i', |
| '<(RULE_INPUT_PATH)', |
| 'build', '-o', '<(grit_out_dir)', |
| '-D', '<(chrome_build)', |
| '-E', '<(branded_env)', |
| ], |
| 'conditions': [ |
| ['chromeos==1 or toolkit_views==1', { |
| 'action': ['-D', 'chromeos'], |
| }], |
| ['use_titlecase_in_grd_files==1', { |
| 'action': ['-D', 'use_titlecase'], |
| }], |
| ], |
| 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
| }, |
| ], |
| 'sources': [ |
| '<@(chrome_resources_grds)', |
| '<@(chrome_resources_inputs)', |
| ], |
| 'direct_dependent_settings': { |
| 'include_dirs': [ |
| '<(grit_out_dir)', |
| ], |
| }, |
| 'conditions': [ |
| ['OS=="win"', { |
| 'dependencies': ['../build/win/system.gyp:cygwin'], |
| }], |
| ], |
| }, |
| { |
| # TODO(mark): It would be better if each static library that needed |
| # to run grit would list its own .grd files, but unfortunately some |
| # of the static libraries currently have circular dependencies among |
| # generated headers. |
| 'target_name': 'chrome_strings', |
| 'msvs_guid': 'D9DDAF60-663F-49CC-90DC-3D08CC3D1B28', |
| 'conditions': [ |
| ['OS=="win"', { |
| # HACK(nsylvain): We want to enforce a fake dependency on |
| # intaller_util_string. install_util depends on both |
| # chrome_strings and installer_util_strings, but for some reasons |
| # Incredibuild does not enforce it (most likely a bug). By changing |
| # the type and making sure we depend on installer_util_strings, it |
| # will always get built before installer_util. |
| 'type': 'dummy_executable', |
| 'dependencies': ['../build/win/system.gyp:cygwin', |
| 'installer/installer.gyp:installer_util_strings',], |
| }, { |
| 'type': 'none', |
| }], |
| ], |
| 'variables': { |
| 'chrome_strings_inputs': [ |
| '<!@(<(grit_info_cmd) --inputs <(chrome_strings_grds))', |
| ], |
| }, |
| 'rules': [ |
| { |
| 'rule_name': 'grit', |
| 'extension': 'grd', |
| 'variables': { |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| # TODO(mmoss) The .grd files look for _google_chrome, but for |
| # consistency they should look for GOOGLE_CHROME_BUILD like C++. |
| # Clean this up when Windows moves to gyp. |
| 'chrome_build': '_google_chrome', |
| }, { # else: branding!="Chrome" |
| 'chrome_build': '_chromium', |
| }], |
| ], |
| }, |
| 'inputs': [ |
| '<@(chrome_strings_inputs)', |
| ], |
| 'outputs': [ |
| '<(grit_out_dir)/grit/<(RULE_INPUT_ROOT).h', |
| # TODO: remove this helper when we have loops in GYP |
| '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/<(RULE_INPUT_ROOT)_ZZLOCALE.pak\' <(locales))', |
| # TODO(bradnelson): move to something like this |
| #'<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(chrome_strings_grds))', |
| # See comment in chrome_resources as to why. |
| ], |
| 'action': ['python', '../tools/grit/grit.py', '-i', |
| '<(RULE_INPUT_PATH)', |
| 'build', '-o', '<(grit_out_dir)', |
| '-D', '<(chrome_build)'], |
| 'conditions': [ |
| ['chromeos==1 or toolkit_views==1', { |
| 'action': ['-D', 'chromeos'], |
| }], |
| ['use_titlecase_in_grd_files==1', { |
| 'action': ['-D', 'use_titlecase'], |
| }], |
| ], |
| 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
| }, |
| ], |
| 'sources': [ |
| '<@(chrome_strings_grds)', |
| '<@(chrome_strings_inputs)', |
| ], |
| 'direct_dependent_settings': { |
| 'include_dirs': [ |
| '<(grit_out_dir)', |
| ], |
| }, |
| }, |
| { |
| # theme_resources also generates a .cc file, so it can't use the rules above. |
| 'target_name': 'theme_resources', |
| 'type': 'none', |
| 'msvs_guid' : 'A158FB0A-25E4-6523-6B5A-4BB294B73D31', |
| 'variables': { |
| 'grit_path': '../tools/grit/grit.py', |
| }, |
| 'actions': [ |
| { |
| 'action_name': 'theme_resources', |
| 'variables': { |
| 'input_path': 'app/theme/theme_resources.grd', |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| # TODO(mmoss) The .grd files look for _google_chrome, but for |
| # consistency they should look for GOOGLE_CHROME_BUILD like C++. |
| # Clean this up when Windows moves to gyp. |
| 'chrome_build': '_google_chrome', |
| }, { # else: branding!="Chrome" |
| 'chrome_build': '_chromium', |
| }], |
| ], |
| }, |
| 'inputs': [ |
| '<!@(<(grit_info_cmd) --inputs <(input_path))', |
| ], |
| 'outputs': [ |
| '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)\' <(input_path))', |
| ], |
| 'action': [ |
| 'python', '<(grit_path)', |
| '-i', '<(input_path)', 'build', |
| '-o', '<(grit_out_dir)', |
| '-D', '<(chrome_build)' |
| ], |
| 'conditions': [ |
| ['chromeos==1 or toolkit_views==1', { |
| 'action': ['-D', 'chromeos'], |
| }], |
| ['use_titlecase_in_grd_files==1', { |
| 'action': ['-D', 'use_titlecase'], |
| }], |
| ], |
| 'message': 'Generating resources from <(input_path)', |
| }, |
| ], |
| 'direct_dependent_settings': { |
| 'include_dirs': [ |
| '<(grit_out_dir)', |
| ], |
| }, |
| 'conditions': [ |
| ['OS=="win"', { |
| 'dependencies': ['../build/win/system.gyp:cygwin'], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'default_extensions', |
| 'type': 'none', |
| 'msvs_guid': 'DA9BAB64-91DC-419B-AFDE-6FF8C569E83A', |
| 'conditions': [ |
| ['OS=="win"', { |
| 'copies': [ |
| { |
| 'destination': '<(PRODUCT_DIR)/extensions', |
| 'files': [ |
| 'browser/extensions/default_extensions/external_extensions.json' |
| ] |
| } |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'common_constants', |
| 'type': '<(library)', |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': ['../build/linux/system.gyp:gtk'], |
| }], |
| ], |
| 'sources': [ |
| 'common/chrome_constants.cc', |
| 'common/chrome_constants.h', |
| 'common/chrome_paths.cc', |
| 'common/chrome_paths.h', |
| 'common/chrome_paths_internal.h', |
| 'common/chrome_paths_linux.cc', |
| 'common/chrome_paths_mac.mm', |
| 'common/chrome_paths_win.cc', |
| 'common/chrome_switches.cc', |
| 'common/chrome_switches.h', |
| 'common/env_vars.cc', |
| 'common/env_vars.h', |
| 'common/json_value_serializer.cc', |
| 'common/json_value_serializer.h', |
| 'common/pref_names.cc', |
| 'common/pref_names.h', |
| ], |
| 'actions': [ |
| { |
| 'action_name': 'Make chrome_version.cc', |
| 'variables': { |
| 'make_version_cc_path': 'tools/build/make_version_cc.py', |
| }, |
| 'inputs': [ |
| '<(make_version_cc_path)', |
| 'VERSION', |
| ], |
| 'outputs': [ |
| '<(INTERMEDIATE_DIR)/chrome_version.cc', |
| ], |
| 'action': [ |
| 'python', |
| '<(make_version_cc_path)', |
| '<@(_outputs)', |
| '<(version_full)', |
| ], |
| 'process_outputs_as_sources': 1, |
| }, |
| ], |
| }, |
| { |
| 'target_name': 'common', |
| 'type': '<(library)', |
| 'msvs_guid': '899F1280-3441-4D1F-BA04-CCD6208D9146', |
| 'dependencies': [ |
| 'common_constants', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'theme_resources', |
| '../app/app.gyp:app_base', |
| '../app/app.gyp:app_resources', |
| '../base/base.gyp:base', |
| '../base/base.gyp:base_i18n', |
| '../build/temp_gyp/googleurl.gyp:googleurl', |
| '../ipc/ipc.gyp:ipc', |
| '../net/net.gyp:net', |
| '../net/net.gyp:net_resources', |
| '../skia/skia.gyp:skia', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| '../third_party/libxml/libxml.gyp:libxml', |
| '../third_party/sqlite/sqlite.gyp:sqlite', |
| '../third_party/zlib/zlib.gyp:zlib', |
| '../third_party/npapi/npapi.gyp:npapi', |
| '../webkit/webkit.gyp:appcache', |
| '../webkit/webkit.gyp:glue', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| # All .cc, .h, and .mm files under chrome/common except for tests. |
| 'common/desktop_notifications/active_notification_tracker.h', |
| 'common/desktop_notifications/active_notification_tracker.cc', |
| 'common/extensions/extension.cc', |
| 'common/extensions/extension.h', |
| 'common/extensions/extension_constants.cc', |
| 'common/extensions/extension_constants.h', |
| 'common/extensions/extension_error_reporter.cc', |
| 'common/extensions/extension_error_reporter.h', |
| 'common/extensions/extension_error_utils.cc', |
| 'common/extensions/extension_error_utils.h', |
| 'common/extensions/extension_action.cc', |
| 'common/extensions/extension_action.h', |
| 'common/extensions/extension_l10n_util.cc', |
| 'common/extensions/extension_l10n_util.h', |
| 'common/extensions/extension_message_bundle.cc', |
| 'common/extensions/extension_message_bundle.h', |
| 'common/extensions/extension_resource.cc', |
| 'common/extensions/extension_resource.h', |
| 'common/extensions/extension_unpacker.cc', |
| 'common/extensions/extension_unpacker.h', |
| 'common/extensions/update_manifest.cc', |
| 'common/extensions/update_manifest.h', |
| 'common/extensions/url_pattern.cc', |
| 'common/extensions/url_pattern.h', |
| 'common/extensions/user_script.cc', |
| 'common/extensions/user_script.h', |
| 'common/gfx/utils.h', |
| 'common/net/dns.h', |
| 'common/net/net_resource_provider.cc', |
| 'common/net/net_resource_provider.h', |
| 'common/net/socket_stream.h', |
| 'common/net/url_request_intercept_job.cc', |
| 'common/net/url_request_intercept_job.h', |
| 'common/web_resource/web_resource_unpacker.cc', |
| 'common/web_resource/web_resource_unpacker.h', |
| 'common/appcache/appcache_backend_proxy.cc', |
| 'common/appcache/appcache_backend_proxy.h', |
| 'common/appcache/appcache_dispatcher.cc', |
| 'common/appcache/appcache_dispatcher.h', |
| 'common/appcache/appcache_dispatcher_host.cc', |
| 'common/appcache/appcache_dispatcher_host.h', |
| 'common/appcache/appcache_frontend_proxy.cc', |
| 'common/appcache/appcache_frontend_proxy.h', |
| 'common/appcache/chrome_appcache_service.h', |
| 'common/automation_constants.cc', |
| 'common/automation_constants.h', |
| 'common/bindings_policy.h', |
| 'common/child_process.cc', |
| 'common/child_process.h', |
| 'common/child_process_host.cc', |
| 'common/child_process_host.h', |
| 'common/child_process_info.cc', |
| 'common/child_process_info.h', |
| 'common/child_process_logging.h', |
| 'common/child_process_logging_linux.cc', |
| 'common/child_process_logging_mac.mm', |
| 'common/child_process_logging_win.cc', |
| 'common/child_thread.cc', |
| 'common/child_thread.h', |
| 'common/chrome_counters.cc', |
| 'common/chrome_counters.h', |
| 'common/chrome_descriptors.h', |
| 'common/chrome_plugin_api.h', |
| 'common/chrome_plugin_lib.cc', |
| 'common/chrome_plugin_lib.h', |
| 'common/chrome_plugin_util.cc', |
| 'common/chrome_plugin_util.h', |
| 'common/classfactory.cc', |
| 'common/classfactory.h', |
| 'common/common_glue.cc', |
| 'common/common_param_traits.cc', |
| 'common/common_param_traits.h', |
| 'common/css_colors.h', |
| 'common/db_message_filter.cc', |
| 'common/db_message_filter.h', |
| 'common/debug_flags.cc', |
| 'common/debug_flags.h', |
| 'common/devtools_messages.h', |
| 'common/devtools_messages_internal.h', |
| 'common/dom_storage_type.h', |
| 'common/filter_policy.h', |
| 'common/gears_api.h', |
| 'common/gtk_tree.cc', |
| 'common/gtk_tree.h', |
| 'common/gtk_util.cc', |
| 'common/gtk_util.h', |
| 'common/histogram_synchronizer.cc', |
| 'common/histogram_synchronizer.h', |
| 'common/important_file_writer.cc', |
| 'common/important_file_writer.h', |
| 'common/jstemplate_builder.cc', |
| 'common/jstemplate_builder.h', |
| 'common/libxml_utils.cc', |
| 'common/libxml_utils.h', |
| 'common/logging_chrome.cc', |
| 'common/logging_chrome.h', |
| 'common/main_function_params.h', |
| 'common/message_router.cc', |
| 'common/message_router.h', |
| 'common/mru_cache.h', |
| 'common/navigation_gesture.h', |
| 'common/navigation_types.h', |
| 'common/native_web_keyboard_event.h', |
| 'common/native_web_keyboard_event_linux.cc', |
| 'common/native_web_keyboard_event_mac.mm', |
| 'common/native_web_keyboard_event_win.cc', |
| 'common/native_window_notification_source.h', |
| 'common/notification_details.h', |
| 'common/notification_observer.h', |
| 'common/notification_registrar.cc', |
| 'common/notification_registrar.h', |
| 'common/notification_service.cc', |
| 'common/notification_service.h', |
| 'common/notification_source.h', |
| 'common/notification_type.h', |
| 'common/owned_widget_gtk.cc', |
| 'common/owned_widget_gtk.h', |
| 'common/page_transition_types.h', |
| 'common/page_zoom.h', |
| 'common/platform_util.h', |
| 'common/platform_util_linux.cc', |
| 'common/platform_util_mac.mm', |
| 'common/platform_util_win.cc', |
| 'common/plugin_carbon_interpose_constants_mac.h', |
| 'common/plugin_carbon_interpose_constants_mac.cc', |
| 'common/plugin_messages.h', |
| 'common/plugin_messages_internal.h', |
| 'common/pref_member.cc', |
| 'common/pref_member.h', |
| 'common/pref_service.cc', |
| 'common/pref_service.h', |
| 'common/process_watcher_posix.cc', |
| 'common/process_watcher_win.cc', |
| 'common/process_watcher.h', |
| 'common/property_bag.cc', |
| 'common/property_bag.h', |
| 'common/ref_counted_util.h', |
| 'common/render_messages.h', |
| 'common/render_messages_internal.h', |
| 'common/renderer_preferences.h', |
| 'common/resource_dispatcher.cc', |
| 'common/resource_dispatcher.h', |
| 'common/result_codes.h', |
| 'common/sandbox_init_wrapper.cc', |
| 'common/sandbox_init_wrapper.h', |
| 'common/sandbox_mac.h', |
| 'common/sandbox_mac.mm', |
| 'common/security_filter_peer.cc', |
| 'common/security_filter_peer.h', |
| 'common/nacl_messages.h', |
| 'common/nacl_messages_internal.h', |
| 'common/sqlite_compiled_statement.cc', |
| 'common/sqlite_compiled_statement.h', |
| 'common/sqlite_utils.cc', |
| 'common/sqlite_utils.h', |
| 'common/task_queue.cc', |
| 'common/task_queue.h', |
| 'common/temp_scaffolding_stubs.cc', |
| 'common/temp_scaffolding_stubs.h', |
| 'common/thumbnail_score.cc', |
| 'common/thumbnail_score.h', |
| 'common/time_format.cc', |
| 'common/time_format.h', |
| 'common/transport_dib.h', |
| 'common/transport_dib_linux.cc', |
| 'common/transport_dib_mac.cc', |
| 'common/transport_dib_win.cc', |
| 'common/url_constants.cc', |
| 'common/url_constants.h', |
| 'common/view_types.cc', |
| 'common/view_types.h', |
| 'common/visitedlink_common.cc', |
| 'common/visitedlink_common.h', |
| 'common/webkit_param_traits.h', |
| 'common/webmessageportchannel_impl.cc', |
| 'common/webmessageportchannel_impl.h', |
| 'common/win_safe_util.cc', |
| 'common/win_safe_util.h', |
| 'common/worker_messages.h', |
| 'common/worker_messages_internal.h', |
| 'common/worker_thread_ticker.cc', |
| 'common/worker_thread_ticker.h', |
| 'common/x11_util.cc', |
| 'common/x11_util.h', |
| 'common/x11_util_internal.h', |
| 'common/zip.cc', # Requires zlib directly. |
| 'common/zip.h', |
| 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
| ], |
| 'direct_dependent_settings': { |
| 'include_dirs': [ |
| '..', |
| ], |
| }, |
| 'export_dependent_settings': [ |
| '../app/app.gyp:app_base', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| ], |
| 'export_dependent_settings': [ |
| '../third_party/sqlite/sqlite.gyp:sqlite', |
| ], |
| 'link_settings': { |
| 'libraries': [ |
| '-lX11', |
| '-lXrender', |
| '-lXext', |
| ], |
| }, |
| }, { # else: 'OS!="linux"' |
| 'sources!': [ |
| 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
| ], |
| }], |
| ['OS=="linux" and selinux==1', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:selinux', |
| ], |
| }], |
| ['OS=="win"', { |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| }, { # else: OS != "win" |
| 'sources!': [ |
| 'common/classfactory.cc', |
| 'common/temp_scaffolding_stubs.h', |
| ], |
| }], |
| ['OS=="win" or OS=="linux"', { |
| 'sources!': [ |
| 'common/temp_scaffolding_stubs.cc', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'browser', |
| 'type': '<(library)', |
| 'msvs_guid': '5BF908A7-68FB-4A4B-99E3-8C749F1FE4EA', |
| 'dependencies': [ |
| 'common', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'theme_resources', |
| '../app/app.gyp:app_resources', |
| '../app/app.gyp:app_strings', |
| '../media/media.gyp:media', |
| '../printing/printing.gyp:printing', |
| '../skia/skia.gyp:skia', |
| '../third_party/bzip2/bzip2.gyp:bzip2', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| '../third_party/libxml/libxml.gyp:libxml', |
| '../third_party/npapi/npapi.gyp:npapi', |
| '../third_party/hunspell/hunspell.gyp:hunspell', |
| '../webkit/webkit.gyp:database', |
| '../webkit/webkit.gyp:glue', |
| ], |
| 'include_dirs': [ |
| '..', |
| '<(INTERMEDIATE_DIR)', |
| ], |
| 'defines': [ |
| '<@(nacl_defines)', |
| ], |
| 'sources': [ |
| # All .cc, .h, .m, and .mm files under browser except for tests and |
| # mocks. |
| 'browser/alternate_nav_url_fetcher.cc', |
| 'browser/alternate_nav_url_fetcher.h', |
| 'browser/app_controller_cppsafe_mac.h', |
| 'browser/app_controller_mac.h', |
| 'browser/app_controller_mac.mm', |
| 'browser/app_modal_dialog.cc', |
| 'browser/app_modal_dialog.h', |
| 'browser/app_modal_dialog_gtk.cc', |
| 'browser/app_modal_dialog_mac.mm', |
| 'browser/app_modal_dialog_win.cc', |
| 'browser/app_modal_dialog_queue.cc', |
| 'browser/app_modal_dialog_queue.h', |
| 'browser/autocomplete/autocomplete.cc', |
| 'browser/autocomplete/autocomplete.h', |
| 'browser/autocomplete/autocomplete_accessibility.cc', |
| 'browser/autocomplete/autocomplete_accessibility.h', |
| 'browser/autocomplete/autocomplete_edit.cc', |
| 'browser/autocomplete/autocomplete_edit.h', |
| 'browser/autocomplete/autocomplete_edit_view.h', |
| 'browser/autocomplete/autocomplete_edit_view_gtk.cc', |
| 'browser/autocomplete/autocomplete_edit_view_gtk.h', |
| 'browser/autocomplete/autocomplete_edit_view_mac.h', |
| 'browser/autocomplete/autocomplete_edit_view_mac.mm', |
| 'browser/autocomplete/autocomplete_edit_view_win.cc', |
| 'browser/autocomplete/autocomplete_edit_view_win.h', |
| 'browser/autocomplete/autocomplete_popup_model.cc', |
| 'browser/autocomplete/autocomplete_popup_model.h', |
| 'browser/autocomplete/autocomplete_popup_view.h', |
| 'browser/autocomplete/autocomplete_popup_view_gtk.cc', |
| 'browser/autocomplete/autocomplete_popup_view_gtk.h', |
| 'browser/autocomplete/autocomplete_popup_view_mac.h', |
| 'browser/autocomplete/autocomplete_popup_view_mac.mm', |
| 'browser/autocomplete/history_contents_provider.cc', |
| 'browser/autocomplete/history_contents_provider.h', |
| 'browser/autocomplete/history_url_provider.cc', |
| 'browser/autocomplete/history_url_provider.h', |
| 'browser/autocomplete/keyword_provider.cc', |
| 'browser/autocomplete/keyword_provider.h', |
| 'browser/autocomplete/search_provider.cc', |
| 'browser/autocomplete/search_provider.h', |
| 'browser/autofill/autofill_infobar_delegate.cc', |
| 'browser/autofill/autofill_infobar_delegate.h', |
| 'browser/autofill/autofill_manager.cc', |
| 'browser/autofill/autofill_manager.h', |
| 'browser/automation/automation_autocomplete_edit_tracker.h', |
| 'browser/automation/automation_browser_tracker.h', |
| 'browser/automation/extension_automation_constants.h', |
| 'browser/automation/extension_automation_constants.cc', |
| 'browser/automation/automation_extension_function.h', |
| 'browser/automation/automation_extension_function.cc', |
| 'browser/automation/automation_profile_impl.cc', |
| 'browser/automation/automation_profile_impl.h', |
| 'browser/automation/automation_provider_gtk.cc', |
| 'browser/automation/automation_provider_mac.mm', |
| 'browser/automation/automation_provider_views.cc', |
| 'browser/automation/automation_provider_win.cc', |
| 'browser/automation/automation_provider.cc', |
| 'browser/automation/automation_provider.h', |
| 'browser/automation/automation_provider_list.cc', |
| 'browser/automation/automation_provider_list_generic.cc', |
| 'browser/automation/automation_provider_list_mac.mm', |
| 'browser/automation/automation_provider_list.h', |
| 'browser/automation/automation_provider_observers.cc', |
| 'browser/automation/automation_provider_observers.h', |
| 'browser/automation/automation_resource_message_filter.cc', |
| 'browser/automation/automation_resource_message_filter.h', |
| 'browser/automation/automation_resource_tracker.cc', |
| 'browser/automation/automation_resource_tracker.h', |
| 'browser/automation/automation_tab_tracker.h', |
| 'browser/automation/url_request_automation_job.cc', |
| 'browser/automation/url_request_automation_job.h', |
| 'browser/automation/automation_window_tracker.h', |
| 'browser/automation/extension_port_container.cc', |
| 'browser/automation/extension_port_container.h', |
| 'browser/automation/ui_controls_linux.cc', |
| 'browser/automation/ui_controls_win.cc', |
| 'browser/automation/ui_controls.h', |
| 'browser/back_forward_menu_model.cc', |
| 'browser/back_forward_menu_model.h', |
| 'browser/back_forward_menu_model_views.cc', |
| 'browser/back_forward_menu_model_views.h', |
| 'browser/blocked_popup_container.cc', |
| 'browser/blocked_popup_container.h', |
| 'browser/bookmarks/bookmark_codec.cc', |
| 'browser/bookmarks/bookmark_codec.h', |
| 'browser/bookmarks/bookmark_context_menu_controller.cc', |
| 'browser/bookmarks/bookmark_context_menu_controller.h', |
| 'browser/bookmarks/bookmark_drag_data.cc', |
| 'browser/bookmarks/bookmark_drag_data.h', |
| 'browser/bookmarks/bookmark_drop_info.cc', |
| 'browser/bookmarks/bookmark_drop_info.h', |
| 'browser/bookmarks/bookmark_editor.h', |
| 'browser/bookmarks/bookmark_folder_tree_model.cc', |
| 'browser/bookmarks/bookmark_folder_tree_model.h', |
| 'browser/bookmarks/bookmark_index.cc', |
| 'browser/bookmarks/bookmark_index.h', |
| 'browser/bookmarks/bookmark_html_writer.cc', |
| 'browser/bookmarks/bookmark_html_writer.h', |
| 'browser/bookmarks/bookmark_manager.h', |
| 'browser/bookmarks/bookmark_model.cc', |
| 'browser/bookmarks/bookmark_model.h', |
| 'browser/bookmarks/bookmark_model_observer.h', |
| 'browser/bookmarks/bookmark_service.h', |
| 'browser/bookmarks/bookmark_storage.cc', |
| 'browser/bookmarks/bookmark_storage.h', |
| 'browser/bookmarks/bookmark_table_model.cc', |
| 'browser/bookmarks/bookmark_table_model.h', |
| 'browser/bookmarks/bookmark_utils.cc', |
| 'browser/bookmarks/bookmark_utils.h', |
| 'browser/browser.cc', |
| 'browser/browser.h', |
| 'browser/browser_about_handler.cc', |
| 'browser/browser_about_handler.h', |
| 'browser/browser_accessibility.cc', |
| 'browser/browser_accessibility.h', |
| 'browser/browser_accessibility_manager.cc', |
| 'browser/browser_accessibility_manager.h', |
| 'browser/browser_init.cc', |
| 'browser/browser_init.h', |
| 'browser/browser_list_gtk.cc', |
| 'browser/browser_list.cc', |
| 'browser/browser_list.h', |
| 'browser/browser_main.cc', |
| 'browser/browser_main_gtk.cc', |
| 'browser/browser_main_mac.mm', |
| 'browser/browser_main_win.cc', |
| 'browser/browser_main_win.h', |
| 'browser/browser_prefs.cc', |
| 'browser/browser_prefs.h', |
| 'browser/browser_process.cc', |
| 'browser/browser_process.h', |
| 'browser/browser_process_impl.cc', |
| 'browser/browser_process_impl.h', |
| 'browser/browser_shutdown.cc', |
| 'browser/browser_shutdown.h', |
| 'browser/browser_theme_provider_gtk.cc', |
| 'browser/browser_theme_provider_mac.mm', |
| 'browser/browser_theme_provider.cc', |
| 'browser/browser_theme_provider.h', |
| 'browser/browser_trial.cc', |
| 'browser/browser_trial.h', |
| 'browser/browser_url_handler.cc', |
| 'browser/browser_url_handler.h', |
| 'browser/browser_window.h', |
| 'browser/browsing_data_remover.cc', |
| 'browser/browsing_data_remover.h', |
| 'browser/browsing_instance.cc', |
| 'browser/browsing_instance.h', |
| 'browser/bubble_positioner.h', |
| 'browser/bug_report_util.cc', |
| 'browser/bug_report_util.h', |
| 'browser/cancelable_request.cc', |
| 'browser/cancelable_request.h', |
| 'browser/cert_store.cc', |
| 'browser/cert_store.h', |
| 'browser/character_encoding.cc', |
| 'browser/character_encoding.h', |
| 'browser/child_process_security_policy.cc', |
| 'browser/child_process_security_policy.h', |
| 'browser/chrome_application_mac.h', |
| 'browser/chrome_application_mac.mm', |
| 'browser/chrome_plugin_browsing_context.cc', |
| 'browser/chrome_plugin_browsing_context.h', |
| 'browser/chrome_plugin_host.cc', |
| 'browser/chrome_plugin_host.h', |
| 'browser/chrome_thread.cc', |
| 'browser/chrome_thread.h', |
| 'browser/chromeos/browser_extenders.cc', |
| 'browser/chromeos/clock_menu_button.cc', |
| 'browser/chromeos/clock_menu_button.h', |
| 'browser/chromeos/compact_location_bar.cc', |
| 'browser/chromeos/compact_location_bar.h', |
| 'browser/chromeos/compact_navigation_bar.cc', |
| 'browser/chromeos/compact_navigation_bar.h', |
| 'browser/chromeos/cros_library.cc', |
| 'browser/chromeos/cros_library.h', |
| 'browser/chromeos/external_cookie_handler.cc', |
| 'browser/chromeos/external_cookie_handler.h', |
| 'browser/chromeos/external_protocol_dialog.cc', |
| 'browser/chromeos/external_protocol_dialog.h', |
| 'browser/chromeos/gview_request_interceptor.cc', |
| 'browser/chromeos/gview_request_interceptor.h', |
| 'browser/chromeos/main_menu.cc', |
| 'browser/chromeos/main_menu.h', |
| 'browser/chromeos/network_library.cc', |
| 'browser/chromeos/network_library.h', |
| 'browser/chromeos/network_menu_button.cc', |
| 'browser/chromeos/network_menu_button.h', |
| 'browser/chromeos/panel_controller.cc', |
| 'browser/chromeos/panel_controller.h', |
| 'browser/chromeos/panels/panel_scroller.cc', |
| 'browser/chromeos/panels/panel_scroller.h', |
| 'browser/chromeos/panels/panel_scroller_container.cc', |
| 'browser/chromeos/panels/panel_scroller_container.h', |
| 'browser/chromeos/panels/panel_scroller_header.cc', |
| 'browser/chromeos/panels/panel_scroller_header.h', |
| 'browser/chromeos/password_dialog_view.cc', |
| 'browser/chromeos/password_dialog_view.h', |
| 'browser/chromeos/pipe_reader.cc', |
| 'browser/chromeos/pipe_reader.h', |
| 'browser/chromeos/power_library.cc', |
| 'browser/chromeos/power_library.h', |
| 'browser/chromeos/power_menu_button.cc', |
| 'browser/chromeos/power_menu_button.h', |
| 'browser/chromeos/preferences.cc', |
| 'browser/chromeos/preferences.h', |
| 'browser/chromeos/settings_contents_view.cc', |
| 'browser/chromeos/settings_contents_view.h', |
| 'browser/chromeos/settings_page_view.cc', |
| 'browser/chromeos/settings_page_view.h', |
| 'browser/chromeos/status_area_button.cc', |
| 'browser/chromeos/status_area_button.h', |
| 'browser/chromeos/status_area_view.cc', |
| 'browser/chromeos/status_area_view.h', |
| 'browser/chromeos/synaptics_library.cc', |
| 'browser/chromeos/synaptics_library.h', |
| 'browser/chromeos/version_loader.cc', |
| 'browser/chromeos/version_loader.h', |
| 'browser/cocoa/about_ipc_bridge.h', |
| 'browser/cocoa/about_ipc_bridge.mm', |
| 'browser/cocoa/about_ipc_controller.h', |
| 'browser/cocoa/about_ipc_controller.mm', |
| 'browser/cocoa/about_ipc_dialog.h', |
| 'browser/cocoa/about_ipc_dialog.mm', |
| 'browser/cocoa/about_window_controller.h', |
| 'browser/cocoa/about_window_controller.mm', |
| 'browser/cocoa/animatable_view.h', |
| 'browser/cocoa/animatable_view.mm', |
| 'browser/cocoa/autocomplete_text_field.h', |
| 'browser/cocoa/autocomplete_text_field.mm', |
| 'browser/cocoa/autocomplete_text_field_cell.h', |
| 'browser/cocoa/autocomplete_text_field_cell.mm', |
| 'browser/cocoa/autocomplete_text_field_editor.h', |
| 'browser/cocoa/autocomplete_text_field_editor.mm', |
| 'browser/cocoa/back_forward_menu_controller.h', |
| 'browser/cocoa/back_forward_menu_controller.mm', |
| 'browser/cocoa/background_gradient_view.h', |
| 'browser/cocoa/background_gradient_view.mm', |
| 'browser/cocoa/background_tile_view.h', |
| 'browser/cocoa/background_tile_view.mm', |
| 'browser/cocoa/base_view.h', |
| 'browser/cocoa/base_view.mm', |
| 'browser/cocoa/browser_window_factory.mm', |
| 'browser/cocoa/blocked_popup_container_controller.h', |
| 'browser/cocoa/blocked_popup_container_controller.mm', |
| 'browser/cocoa/bookmark_bar_bridge.h', |
| 'browser/cocoa/bookmark_bar_bridge.mm', |
| 'browser/cocoa/bookmark_bar_constants.h', |
| 'browser/cocoa/bookmark_bar_controller.h', |
| 'browser/cocoa/bookmark_bar_controller.mm', |
| 'browser/cocoa/bookmark_bar_view.h', |
| 'browser/cocoa/bookmark_bar_view.mm', |
| 'browser/cocoa/bookmark_bar_toolbar_view.h', |
| 'browser/cocoa/bookmark_bar_toolbar_view.mm', |
| 'browser/cocoa/bookmark_bubble_controller.h', |
| 'browser/cocoa/bookmark_bubble_controller.mm', |
| 'browser/cocoa/bookmark_bubble_view.h', |
| 'browser/cocoa/bookmark_bubble_view.mm', |
| 'browser/cocoa/bookmark_bubble_window.h', |
| 'browser/cocoa/bookmark_bubble_window.mm', |
| 'browser/cocoa/bookmark_button_cell.h', |
| 'browser/cocoa/bookmark_button_cell.mm', |
| 'browser/cocoa/bookmark_editor_controller.h', |
| 'browser/cocoa/bookmark_editor_controller.mm', |
| 'browser/cocoa/bookmark_menu_bridge.h', |
| 'browser/cocoa/bookmark_menu_bridge.mm', |
| 'browser/cocoa/bookmark_menu_cocoa_controller.h', |
| 'browser/cocoa/bookmark_menu_cocoa_controller.mm', |
| 'browser/cocoa/bookmark_name_folder_controller.h', |
| 'browser/cocoa/bookmark_name_folder_controller.mm', |
| 'browser/cocoa/bookmark_tree_browser_cell.h', |
| 'browser/cocoa/bookmark_tree_browser_cell.mm', |
| 'browser/cocoa/browser_command_executor.h', |
| 'browser/cocoa/browser_frame_view.h', |
| 'browser/cocoa/browser_frame_view.mm', |
| 'browser/cocoa/browser_test_helper.h', |
| 'browser/cocoa/browser_window_cocoa.h', |
| 'browser/cocoa/browser_window_cocoa.mm', |
| 'browser/cocoa/browser_window_controller.h', |
| 'browser/cocoa/browser_window_controller.mm', |
| 'browser/cocoa/bubble_view.h', |
| 'browser/cocoa/bubble_view.mm', |
| 'browser/cocoa/bug_report_window_controller.h', |
| 'browser/cocoa/bug_report_window_controller.mm', |
| 'browser/cocoa/chrome_browser_window.h', |
| 'browser/cocoa/chrome_browser_window.mm', |
| 'browser/cocoa/chrome_event_processing_window.h', |
| 'browser/cocoa/chrome_event_processing_window.mm', |
| 'browser/cocoa/clear_browsing_data_controller.h', |
| 'browser/cocoa/clear_browsing_data_controller.mm', |
| 'browser/cocoa/clickhold_button_cell.h', |
| 'browser/cocoa/clickhold_button_cell.mm', |
| 'browser/cocoa/command_observer_bridge.h', |
| 'browser/cocoa/command_observer_bridge.mm', |
| 'browser/cocoa/constrained_window_mac.h', |
| 'browser/cocoa/constrained_window_mac.mm', |
| 'browser/cocoa/custom_home_pages_model.h', |
| 'browser/cocoa/custom_home_pages_model.mm', |
| 'browser/cocoa/delayedmenu_button.h', |
| 'browser/cocoa/delayedmenu_button.mm', |
| 'browser/cocoa/download_item_cell.h', |
| 'browser/cocoa/download_item_cell.mm', |
| 'browser/cocoa/download_item_controller.h', |
| 'browser/cocoa/download_item_controller.mm', |
| 'browser/cocoa/download_item_mac.h', |
| 'browser/cocoa/download_item_mac.mm', |
| 'browser/cocoa/download_shelf_controller.h', |
| 'browser/cocoa/download_shelf_controller.mm', |
| 'browser/cocoa/download_shelf_mac.h', |
| 'browser/cocoa/download_shelf_mac.mm', |
| 'browser/cocoa/download_shelf_view.h', |
| 'browser/cocoa/download_shelf_view.mm', |
| 'browser/cocoa/download_started_animation_mac.mm', |
| 'browser/cocoa/download_util_mac.h', |
| 'browser/cocoa/download_util_mac.mm', |
| 'browser/cocoa/edit_search_engine_cocoa_controller.h', |
| 'browser/cocoa/edit_search_engine_cocoa_controller.mm', |
| 'browser/cocoa/encoding_menu_controller_delegate_mac.h', |
| 'browser/cocoa/encoding_menu_controller_delegate_mac.mm', |
| 'browser/cocoa/event_utils.h', |
| 'browser/cocoa/event_utils.mm', |
| 'browser/cocoa/extension_install_prompt.mm', |
| 'browser/cocoa/extension_shelf_controller.h', |
| 'browser/cocoa/extension_shelf_controller.mm', |
| 'browser/cocoa/extension_view_mac.h', |
| 'browser/cocoa/extension_view_mac.mm', |
| 'browser/cocoa/external_protocol_dialog.h', |
| 'browser/cocoa/external_protocol_dialog.mm', |
| 'browser/cocoa/file_metadata.h', |
| 'browser/cocoa/file_metadata.mm', |
| 'browser/cocoa/find_bar_bridge.h', |
| 'browser/cocoa/find_bar_bridge.mm', |
| 'browser/cocoa/find_bar_cocoa_controller.h', |
| 'browser/cocoa/find_bar_cocoa_controller.mm', |
| 'browser/cocoa/find_bar_view.h', |
| 'browser/cocoa/find_bar_view.mm', |
| 'browser/cocoa/find_pasteboard.h', |
| 'browser/cocoa/find_pasteboard.mm', |
| 'browser/cocoa/first_run_dialog.h', |
| 'browser/cocoa/first_run_dialog.mm', |
| 'browser/cocoa/focus_tracker.h', |
| 'browser/cocoa/focus_tracker.mm', |
| 'browser/cocoa/fullscreen_window.h', |
| 'browser/cocoa/fullscreen_window.mm', |
| 'browser/cocoa/gradient_button_cell.h', |
| 'browser/cocoa/gradient_button_cell.mm', |
| 'browser/cocoa/history_menu_bridge.h', |
| 'browser/cocoa/history_menu_bridge.mm', |
| 'browser/cocoa/history_menu_cocoa_controller.h', |
| 'browser/cocoa/history_menu_cocoa_controller.mm', |
| 'browser/cocoa/html_dialog_window_controller.h', |
| 'browser/cocoa/html_dialog_window_controller.mm', |
| 'browser/cocoa/hyperlink_button_cell.h', |
| 'browser/cocoa/hyperlink_button_cell.mm', |
| 'browser/cocoa/hung_renderer_controller.h', |
| 'browser/cocoa/hung_renderer_controller.mm', |
| 'browser/cocoa/import_progress_dialog.h', |
| 'browser/cocoa/import_progress_dialog.mm', |
| 'browser/cocoa/importer_lock_dialog.h', |
| 'browser/cocoa/importer_lock_dialog.mm', |
| 'browser/cocoa/infobar.h', |
| 'browser/cocoa/infobar_container_controller.h', |
| 'browser/cocoa/infobar_container_controller.mm', |
| 'browser/cocoa/infobar_controller.h', |
| 'browser/cocoa/infobar_controller.mm', |
| 'browser/cocoa/infobar_gradient_view.h', |
| 'browser/cocoa/infobar_gradient_view.mm', |
| 'browser/cocoa/infobar_test_helper.h', |
| 'browser/cocoa/infobar_text_field.h', |
| 'browser/cocoa/infobar_text_field.mm', |
| 'browser/cocoa/keyword_editor_cocoa_controller.h', |
| 'browser/cocoa/keyword_editor_cocoa_controller.mm', |
| 'browser/cocoa/location_bar_view_mac.h', |
| 'browser/cocoa/location_bar_view_mac.mm', |
| 'browser/cocoa/menu_button.h', |
| 'browser/cocoa/menu_button.mm', |
| 'browser/cocoa/multi_key_equivalent_button.h', |
| 'browser/cocoa/multi_key_equivalent_button.mm', |
| 'browser/cocoa/nsmenuitem_additions.h', |
| 'browser/cocoa/nsmenuitem_additions.mm', |
| 'browser/cocoa/nswindow_local_state.h', |
| 'browser/cocoa/nswindow_local_state.mm', |
| 'browser/cocoa/objc_method_swizzle.h', |
| 'browser/cocoa/objc_method_swizzle.mm', |
| 'browser/cocoa/page_info_window_controller.h', |
| 'browser/cocoa/page_info_window_controller.mm', |
| 'browser/cocoa/page_info_window_mac.h', |
| 'browser/cocoa/page_info_window_mac.mm', |
| 'browser/cocoa/preferences_window_controller.h', |
| 'browser/cocoa/preferences_window_controller.mm', |
| 'browser/cocoa/rwhvm_editcommand_helper.h', |
| 'browser/cocoa/rwhvm_editcommand_helper.mm', |
| 'browser/cocoa/repost_form_warning_mac.h', |
| 'browser/cocoa/repost_form_warning_mac.mm', |
| 'browser/cocoa/restart_browser.h', |
| 'browser/cocoa/restart_browser.mm', |
| 'browser/cocoa/sad_tab_view.h', |
| 'browser/cocoa/sad_tab_view.mm', |
| 'browser/cocoa/search_engine_list_model.h', |
| 'browser/cocoa/search_engine_list_model.mm', |
| 'browser/cocoa/shell_dialogs_mac.mm', |
| 'browser/cocoa/status_bubble_mac.h', |
| 'browser/cocoa/status_bubble_mac.mm', |
| 'browser/cocoa/tab_contents_controller.h', |
| 'browser/cocoa/tab_contents_controller.mm', |
| 'browser/cocoa/tab_controller.h', |
| 'browser/cocoa/tab_controller.mm', |
| 'browser/cocoa/tab_strip_controller.h', |
| 'browser/cocoa/tab_strip_controller.mm', |
| 'browser/cocoa/tab_strip_model_observer_bridge.h', |
| 'browser/cocoa/tab_strip_model_observer_bridge.mm', |
| 'browser/cocoa/tab_strip_view.h', |
| 'browser/cocoa/tab_strip_view.mm', |
| 'browser/cocoa/tab_view.h', |
| 'browser/cocoa/tab_view.mm', |
| 'browser/cocoa/tab_window_controller.h', |
| 'browser/cocoa/tab_window_controller.mm', |
| 'browser/cocoa/task_manager_mac.h', |
| 'browser/cocoa/task_manager_mac.mm', |
| 'browser/cocoa/theme_install_bubble_view.h', |
| 'browser/cocoa/theme_install_bubble_view.mm', |
| 'browser/cocoa/throbber_view.h', |
| 'browser/cocoa/throbber_view.mm', |
| 'browser/cocoa/toolbar_button_cell.h', |
| 'browser/cocoa/toolbar_button_cell.mm', |
| 'browser/cocoa/toolbar_compressable.h', |
| 'browser/cocoa/toolbar_controller.h', |
| 'browser/cocoa/toolbar_controller.mm', |
| 'browser/cocoa/toolbar_view.h', |
| 'browser/cocoa/toolbar_view.mm', |
| 'browser/cocoa/ui_localizer.h', |
| 'browser/cocoa/ui_localizer.mm', |
| 'browser/cocoa/view_resizer.h', |
| 'browser/cocoa/web_drag_source.h', |
| 'browser/cocoa/web_drag_source.mm', |
| 'browser/cocoa/web_drop_target.h', |
| 'browser/cocoa/web_drop_target.mm', |
| 'browser/command_updater.cc', |
| 'browser/command_updater.h', |
| 'browser/cookies_table_model.cc', |
| 'browser/cookies_table_model.h', |
| 'browser/cross_site_request_manager.cc', |
| 'browser/cross_site_request_manager.h', |
| 'browser/defaults.cc', |
| 'browser/defaults.h', |
| 'browser/diagnostics/diagnostics_main.cc', |
| 'browser/diagnostics/diagnostics_main.h', |
| 'browser/diagnostics/sqlite_diagnostics.cc', |
| 'browser/diagnostics/sqlite_diagnostics.h', |
| 'browser/dock_info_gtk.cc', |
| 'browser/dock_info_win.cc', |
| 'browser/dock_info.cc', |
| 'browser/dock_info.h', |
| 'browser/dom_operation_notification_details.h', |
| 'browser/dom_ui/chrome_url_data_manager.cc', |
| 'browser/dom_ui/chrome_url_data_manager.h', |
| 'browser/dom_ui/devtools_ui.cc', |
| 'browser/dom_ui/devtools_ui.h', |
| 'browser/dom_ui/dom_ui.cc', |
| 'browser/dom_ui/dom_ui.h', |
| 'browser/dom_ui/dom_ui_factory.cc', |
| 'browser/dom_ui/dom_ui_factory.h', |
| 'browser/dom_ui/dom_ui_favicon_source.cc', |
| 'browser/dom_ui/dom_ui_favicon_source.h', |
| 'browser/dom_ui/dom_ui_theme_source.cc', |
| 'browser/dom_ui/dom_ui_theme_source.h', |
| 'browser/dom_ui/dom_ui_thumbnail_source.cc', |
| 'browser/dom_ui/dom_ui_thumbnail_source.h', |
| 'browser/dom_ui/downloads_dom_handler.cc', |
| 'browser/dom_ui/downloads_dom_handler.h', |
| 'browser/dom_ui/downloads_ui.cc', |
| 'browser/dom_ui/downloads_ui.h', |
| 'browser/dom_ui/fileicon_source.cc', |
| 'browser/dom_ui/fileicon_source.h', |
| 'browser/dom_ui/filebrowse_ui.cc', |
| 'browser/dom_ui/filebrowse_ui.h', |
| 'browser/dom_ui/history_ui.cc', |
| 'browser/dom_ui/history_ui.h', |
| 'browser/dom_ui/html_dialog_ui.cc', |
| 'browser/dom_ui/html_dialog_ui.h', |
| 'browser/dom_ui/most_visited_handler.cc', |
| 'browser/dom_ui/most_visited_handler.h', |
| 'browser/dom_ui/new_tab_page_sync_handler.cc', |
| 'browser/dom_ui/new_tab_page_sync_handler.h', |
| 'browser/dom_ui/new_tab_ui.cc', |
| 'browser/dom_ui/new_tab_ui.h', |
| 'browser/dom_ui/print_ui.cc', |
| 'browser/dom_ui/print_ui.h', |
| 'browser/dom_ui/shown_sections_handler.cc', |
| 'browser/dom_ui/shown_sections_handler.h', |
| 'browser/dom_ui/tips_handler.cc', |
| 'browser/dom_ui/tips_handler.h', |
| 'browser/download/download_exe.cc', |
| 'browser/download/download_file.cc', |
| 'browser/download/download_file.h', |
| 'browser/download/download_item_model.cc', |
| 'browser/download/download_item_model.h', |
| 'browser/download/download_manager.cc', |
| 'browser/download/download_manager.h', |
| 'browser/download/download_request_infobar_delegate.h', |
| 'browser/download/download_request_infobar_delegate.cc', |
| 'browser/download/download_request_manager.cc', |
| 'browser/download/download_request_manager.h', |
| 'browser/download/download_shelf.cc', |
| 'browser/download/download_shelf.h', |
| 'browser/download/download_started_animation.h', |
| 'browser/download/download_util.cc', |
| 'browser/download/download_util.h', |
| 'browser/download/save_file.cc', |
| 'browser/download/save_file.h', |
| 'browser/download/save_file_manager.cc', |
| 'browser/download/save_file_manager.h', |
| 'browser/download/save_item.cc', |
| 'browser/download/save_item.h', |
| 'browser/download/save_package.cc', |
| 'browser/download/save_package.h', |
| 'browser/download/save_types.h', |
| 'browser/encoding_menu_controller.cc', |
| 'browser/encoding_menu_controller.h', |
| 'browser/extensions/convert_user_script.cc', |
| 'browser/extensions/convert_user_script.h', |
| 'browser/extensions/crashed_extension_infobar.cc', |
| 'browser/extensions/crashed_extension_infobar.h', |
| 'browser/extensions/crx_installer.cc', |
| 'browser/extensions/crx_installer.h', |
| 'browser/extensions/extension_bookmarks_module.cc', |
| 'browser/extensions/extension_bookmarks_module.h', |
| 'browser/extensions/extension_bookmarks_module_constants.cc', |
| 'browser/extensions/extension_bookmarks_module_constants.h', |
| 'browser/extensions/extension_browser_actions_api.cc', |
| 'browser/extensions/extension_browser_actions_api.h', |
| 'browser/extensions/extension_creator.cc', |
| 'browser/extensions/extension_creator.h', |
| 'browser/extensions/extension_disabled_infobar_delegate.cc', |
| 'browser/extensions/extension_disabled_infobar_delegate.h', |
| 'browser/extensions/extension_devtools_bridge.cc', |
| 'browser/extensions/extension_devtools_bridge.h', |
| 'browser/extensions/extension_devtools_events.cc', |
| 'browser/extensions/extension_devtools_events.h', |
| 'browser/extensions/extension_devtools_manager.cc', |
| 'browser/extensions/extension_devtools_manager.h', |
| 'browser/extensions/extension_dom_ui.cc', |
| 'browser/extensions/extension_dom_ui.h', |
| 'browser/extensions/extension_event_names.cc', |
| 'browser/extensions/extension_event_names.h', |
| 'browser/extensions/execute_code_in_tab_function.cc', |
| 'browser/extensions/execute_code_in_tab_function.h', |
| 'browser/extensions/extension_browser_event_router.cc', |
| 'browser/extensions/extension_browser_event_router.h', |
| 'browser/extensions/extension_file_util.cc', |
| 'browser/extensions/extension_file_util.h', |
| 'browser/extensions/extension_function.cc', |
| 'browser/extensions/extension_function.h', |
| 'browser/extensions/extension_function_dispatcher.cc', |
| 'browser/extensions/extension_function_dispatcher.h', |
| 'browser/extensions/extension_history_api.cc', |
| 'browser/extensions/extension_history_api.h', |
| 'browser/extensions/extension_history_api_constants.cc', |
| 'browser/extensions/extension_history_api_constants.h', |
| 'browser/extensions/extension_host.cc', |
| 'browser/extensions/extension_host.h', |
| 'browser/extensions/extension_i18n_api.cc', |
| 'browser/extensions/extension_i18n_api.h', |
| 'browser/extensions/extension_install_ui.cc', |
| 'browser/extensions/extension_install_ui.h', |
| 'browser/extensions/extension_message_service.cc', |
| 'browser/extensions/extension_message_service.h', |
| 'browser/extensions/extension_page_actions_module.cc', |
| 'browser/extensions/extension_page_actions_module.h', |
| 'browser/extensions/extension_page_actions_module_constants.cc', |
| 'browser/extensions/extension_page_actions_module_constants.h', |
| 'browser/extensions/extension_popup_api.cc', |
| 'browser/extensions/extension_popup_api.h', |
| 'browser/extensions/extension_prefs.cc', |
| 'browser/extensions/extension_prefs.h', |
| 'browser/extensions/extension_process_manager.cc', |
| 'browser/extensions/extension_process_manager.h', |
| 'browser/extensions/extension_protocols.cc', |
| 'browser/extensions/extension_protocols.h', |
| 'browser/extensions/extension_shelf_model.cc', |
| 'browser/extensions/extension_shelf_model.h', |
| 'browser/extensions/extension_tabs_module.cc', |
| 'browser/extensions/extension_tabs_module.h', |
| 'browser/extensions/extension_tabs_module_constants.cc', |
| 'browser/extensions/extension_tabs_module_constants.h', |
| 'browser/extensions/extension_test_api.cc', |
| 'browser/extensions/extension_test_api.h', |
| 'browser/extensions/extension_toolstrip_api.cc', |
| 'browser/extensions/extension_toolstrip_api.h', |
| 'browser/extensions/extension_updater.cc', |
| 'browser/extensions/extension_updater.h', |
| 'browser/extensions/extensions_service.cc', |
| 'browser/extensions/extensions_service.h', |
| 'browser/extensions/extensions_ui.cc', |
| 'browser/extensions/extensions_ui.h', |
| 'browser/extensions/external_extension_provider.h', |
| 'browser/extensions/external_registry_extension_provider_win.cc', |
| 'browser/extensions/external_registry_extension_provider_win.h', |
| 'browser/extensions/external_pref_extension_provider.cc', |
| 'browser/extensions/external_pref_extension_provider.h', |
| 'browser/extensions/file_reader.cc', |
| 'browser/extensions/file_reader.h', |
| 'browser/extensions/gtk_theme_installed_infobar_delegate.cc', |
| 'browser/extensions/gtk_theme_installed_infobar_delegate.h', |
| 'browser/extensions/image_loading_tracker.cc', |
| 'browser/extensions/image_loading_tracker.h', |
| 'browser/extensions/pack_extension_job.cc', |
| 'browser/extensions/pack_extension_job.h', |
| 'browser/extensions/sandboxed_extension_unpacker.cc', |
| 'browser/extensions/sandboxed_extension_unpacker.h', |
| 'browser/extensions/theme_installed_infobar_delegate.cc', |
| 'browser/extensions/theme_installed_infobar_delegate.h', |
| 'browser/extensions/user_script_listener.cc', |
| 'browser/extensions/user_script_listener.h', |
| 'browser/extensions/user_script_master.cc', |
| 'browser/extensions/user_script_master.h', |
| 'browser/external_protocol_handler.cc', |
| 'browser/external_protocol_handler.h', |
| 'browser/external_tab_container.cc', |
| 'browser/external_tab_container.h', |
| 'browser/global_keyboard_shortcuts_mac.h', |
| 'browser/global_keyboard_shortcuts_mac.mm', |
| 'browser/fav_icon_helper.cc', |
| 'browser/fav_icon_helper.h', |
| 'browser/favicon_service.cc', |
| 'browser/favicon_service.h', |
| 'browser/find_bar.h', |
| 'browser/find_bar_controller.cc', |
| 'browser/find_bar_controller.h', |
| 'browser/find_notification_details.h', |
| 'browser/first_run.cc', |
| 'browser/first_run.h', |
| 'browser/first_run_mac.mm', |
| 'browser/first_run_win.cc', |
| 'browser/first_run_gtk.cc', |
| 'browser/fonts_languages_window.h', |
| 'browser/form_field_history_manager.cc', |
| 'browser/form_field_history_manager.h', |
| 'browser/gears_integration.cc', |
| 'browser/gears_integration.h', |
| 'browser/google_update.cc', |
| 'browser/google_update.h', |
| 'browser/google_update_settings_posix.cc', |
| 'browser/google_update_settings_mac.mm', |
| 'browser/google_url_tracker.cc', |
| 'browser/google_url_tracker.h', |
| 'browser/google_util.cc', |
| 'browser/google_util.h', |
| 'browser/gtk/about_chrome_dialog.cc', |
| 'browser/gtk/about_chrome_dialog.h', |
| 'browser/gtk/back_forward_button_gtk.cc', |
| 'browser/gtk/back_forward_button_gtk.h', |
| 'browser/gtk/back_forward_menu_model_gtk.cc', |
| 'browser/gtk/back_forward_menu_model_gtk.h', |
| 'browser/gtk/blocked_popup_container_view_gtk.cc', |
| 'browser/gtk/blocked_popup_container_view_gtk.h', |
| 'browser/gtk/bookmark_bar_gtk.cc', |
| 'browser/gtk/bookmark_bar_gtk.h', |
| 'browser/gtk/bookmark_bubble_gtk.cc', |
| 'browser/gtk/bookmark_bubble_gtk.h', |
| 'browser/gtk/bookmark_context_menu_gtk.cc', |
| 'browser/gtk/bookmark_context_menu_gtk.h', |
| 'browser/gtk/bookmark_editor_gtk.cc', |
| 'browser/gtk/bookmark_editor_gtk.h', |
| 'browser/gtk/bookmark_manager_gtk.cc', |
| 'browser/gtk/bookmark_manager_gtk.h', |
| 'browser/gtk/bookmark_menu_controller_gtk.cc', |
| 'browser/gtk/bookmark_menu_controller_gtk.h', |
| 'browser/gtk/bookmark_tree_model.cc', |
| 'browser/gtk/bookmark_tree_model.h', |
| 'browser/gtk/bookmark_utils_gtk.cc', |
| 'browser/gtk/bookmark_utils_gtk.h', |
| 'browser/gtk/browser_actions_toolbar_gtk.cc', |
| 'browser/gtk/browser_actions_toolbar_gtk.h', |
| 'browser/gtk/browser_titlebar.cc', |
| 'browser/gtk/browser_titlebar.h', |
| 'browser/gtk/browser_toolbar_gtk.cc', |
| 'browser/gtk/browser_toolbar_gtk.h', |
| 'browser/gtk/browser_window_factory_gtk.cc', |
| 'browser/gtk/browser_window_gtk.cc', |
| 'browser/gtk/browser_window_gtk.h', |
| 'browser/gtk/cairo_cached_surface.cc', |
| 'browser/gtk/cairo_cached_surface.h', |
| 'browser/gtk/clear_browsing_data_dialog_gtk.cc', |
| 'browser/gtk/clear_browsing_data_dialog_gtk.h', |
| 'browser/gtk/constrained_window_gtk.cc', |
| 'browser/gtk/constrained_window_gtk.h', |
| 'browser/gtk/create_application_shortcuts_dialog_gtk.cc', |
| 'browser/gtk/create_application_shortcuts_dialog_gtk.h', |
| 'browser/gtk/custom_button.cc', |
| 'browser/gtk/custom_button.h', |
| 'browser/gtk/dialogs_gtk.cc', |
| 'browser/gtk/download_in_progress_dialog_gtk.cc', |
| 'browser/gtk/download_in_progress_dialog_gtk.h', |
| 'browser/gtk/download_item_gtk.cc', |
| 'browser/gtk/download_item_gtk.h', |
| 'browser/gtk/download_shelf_gtk.cc', |
| 'browser/gtk/download_shelf_gtk.h', |
| 'browser/gtk/download_started_animation_gtk.cc', |
| 'browser/gtk/edit_search_engine_dialog.cc', |
| 'browser/gtk/edit_search_engine_dialog.h', |
| 'browser/gtk/extension_install_prompt_gtk.cc', |
| 'browser/gtk/extension_view_gtk.cc', |
| 'browser/gtk/extension_view_gtk.h', |
| 'browser/gtk/extension_popup_gtk.cc', |
| 'browser/gtk/extension_popup_gtk.h', |
| 'browser/gtk/external_protocol_dialog_gtk.cc', |
| 'browser/gtk/external_protocol_dialog_gtk.h', |
| 'browser/gtk/find_bar_gtk.cc', |
| 'browser/gtk/find_bar_gtk.h', |
| 'browser/gtk/first_run_bubble.cc', |
| 'browser/gtk/first_run_bubble.h', |
| 'browser/gtk/first_run_dialog.cc', |
| 'browser/gtk/first_run_dialog.h', |
| 'browser/gtk/focus_store_gtk.cc', |
| 'browser/gtk/focus_store_gtk.h', |
| 'browser/gtk/go_button_gtk.cc', |
| 'browser/gtk/go_button_gtk.h', |
| 'browser/gtk/gtk_chrome_button.cc', |
| 'browser/gtk/gtk_chrome_button.h', |
| 'browser/gtk/gtk_chrome_link_button.cc', |
| 'browser/gtk/gtk_chrome_link_button.h', |
| 'browser/gtk/gtk_floating_container.cc', |
| 'browser/gtk/gtk_floating_container.h', |
| 'browser/gtk/gtk_theme_provider.cc', |
| 'browser/gtk/gtk_theme_provider.h', |
| 'browser/gtk/hung_renderer_dialog_gtk.cc', |
| 'browser/gtk/import_dialog_gtk.cc', |
| 'browser/gtk/import_dialog_gtk.h', |
| 'browser/gtk/import_lock_dialog_gtk.cc', |
| 'browser/gtk/import_lock_dialog_gtk.h', |
| 'browser/gtk/import_progress_dialog_gtk.cc', |
| 'browser/gtk/import_progress_dialog_gtk.h', |
| 'browser/gtk/info_bubble_gtk.cc', |
| 'browser/gtk/info_bubble_gtk.h', |
| 'browser/gtk/infobar_container_gtk.cc', |
| 'browser/gtk/infobar_container_gtk.h', |
| 'browser/gtk/infobar_gtk.cc', |
| 'browser/gtk/infobar_gtk.h', |
| 'browser/gtk/keyword_editor_view.cc', |
| 'browser/gtk/keyword_editor_view.h', |
| 'browser/gtk/list_store_favicon_loader.cc', |
| 'browser/gtk/list_store_favicon_loader.h', |
| 'browser/gtk/location_bar_view_gtk.cc', |
| 'browser/gtk/location_bar_view_gtk.h', |
| 'browser/gtk/menu_bar_helper.cc', |
| 'browser/gtk/menu_bar_helper.h', |
| 'browser/gtk/menu_gtk.cc', |
| 'browser/gtk/menu_gtk.h', |
| 'browser/gtk/nine_box.cc', |
| 'browser/gtk/nine_box.h', |
| 'browser/gtk/options/advanced_contents_gtk.cc', |
| 'browser/gtk/options/advanced_contents_gtk.h', |
| 'browser/gtk/options/advanced_page_gtk.cc', |
| 'browser/gtk/options/advanced_page_gtk.h', |
| 'browser/gtk/options/content_page_gtk.cc', |
| 'browser/gtk/options/content_page_gtk.h', |
| 'browser/gtk/options/cookies_view.cc', |
| 'browser/gtk/options/cookies_view.h', |
| 'browser/gtk/options/exceptions_page_gtk.cc', |
| 'browser/gtk/options/exceptions_page_gtk.h', |
| 'browser/gtk/options/fonts_languages_window_gtk.cc', |
| 'browser/gtk/options/fonts_page_gtk.cc', |
| 'browser/gtk/options/fonts_page_gtk.h', |
| 'browser/gtk/options/general_page_gtk.cc', |
| 'browser/gtk/options/general_page_gtk.h', |
| 'browser/gtk/options/languages_page_gtk.cc', |
| 'browser/gtk/options/languages_page_gtk.h', |
| 'browser/gtk/options/options_layout_gtk.cc', |
| 'browser/gtk/options/options_layout_gtk.h', |
| 'browser/gtk/options/options_window_gtk.cc', |
| 'browser/gtk/options/passwords_exceptions_window_gtk.cc', |
| 'browser/gtk/options/passwords_exceptions_window_gtk.h', |
| 'browser/gtk/options/passwords_page_gtk.cc', |
| 'browser/gtk/options/passwords_page_gtk.h', |
| 'browser/gtk/options/url_picker_dialog_gtk.cc', |
| 'browser/gtk/options/url_picker_dialog_gtk.h', |
| 'browser/gtk/page_info_window_gtk.cc', |
| 'browser/gtk/process_singleton_dialog.cc', |
| 'browser/gtk/process_singleton_dialog.h', |
| 'browser/gtk/repost_form_warning_gtk.cc', |
| 'browser/gtk/repost_form_warning_gtk.h', |
| 'browser/gtk/rounded_window.cc', |
| 'browser/gtk/rounded_window.h', |
| 'browser/gtk/sad_tab_gtk.cc', |
| 'browser/gtk/sad_tab_gtk.h', |
| 'browser/gtk/slide_animator_gtk.cc', |
| 'browser/gtk/slide_animator_gtk.h', |
| 'browser/gtk/standard_menus.cc', |
| 'browser/gtk/standard_menus.h', |
| 'browser/gtk/status_bubble_gtk.cc', |
| 'browser/gtk/status_bubble_gtk.h', |
| 'browser/gtk/tab_contents_container_gtk.cc', |
| 'browser/gtk/tab_contents_container_gtk.h', |
| 'browser/gtk/tab_contents_drag_source.cc', |
| 'browser/gtk/tab_contents_drag_source.h', |
| 'browser/gtk/tabs/dragged_tab_controller_gtk.cc', |
| 'browser/gtk/tabs/dragged_tab_controller_gtk.h', |
| 'browser/gtk/tabs/dragged_tab_gtk.cc', |
| 'browser/gtk/tabs/dragged_tab_gtk.h', |
| 'browser/gtk/tabs/tab_gtk.cc', |
| 'browser/gtk/tabs/tab_gtk.h', |
| 'browser/gtk/tabs/tab_renderer_gtk.cc', |
| 'browser/gtk/tabs/tab_renderer_gtk.h', |
| 'browser/gtk/tabs/tab_strip_gtk.cc', |
| 'browser/gtk/tabs/tab_strip_gtk.h', |
| 'browser/gtk/task_manager_gtk.cc', |
| 'browser/gtk/task_manager_gtk.h', |
| 'browser/gtk/theme_install_bubble_view_gtk.cc', |
| 'browser/gtk/theme_install_bubble_view_gtk.h', |
| 'browser/gtk/toolbar_star_toggle_gtk.cc', |
| 'browser/gtk/toolbar_star_toggle_gtk.h', |
| 'browser/gtk/view_id_util.cc', |
| 'browser/gtk/view_id_util.h', |
| 'browser/hang_monitor/hung_plugin_action.cc', |
| 'browser/hang_monitor/hung_plugin_action.h', |
| 'browser/hang_monitor/hung_window_detector.cc', |
| 'browser/hang_monitor/hung_window_detector.h', |
| 'browser/history/archived_database.cc', |
| 'browser/history/archived_database.h', |
| 'browser/history/download_database.cc', |
| 'browser/history/download_database.h', |
| 'browser/history/download_types.h', |
| 'browser/history/expire_history_backend.cc', |
| 'browser/history/expire_history_backend.h', |
| 'browser/history/history.cc', |
| 'browser/history/history.h', |
| 'browser/history/history_backend.cc', |
| 'browser/history/history_backend.h', |
| 'browser/history/history_database.cc', |
| 'browser/history/history_database.h', |
| 'browser/history/history_marshaling.h', |
| 'browser/history/history_notifications.h', |
| 'browser/history/history_publisher.cc', |
| 'browser/history/history_publisher.h', |
| 'browser/history/history_publisher_none.cc', |
| 'browser/history/history_publisher_win.cc', |
| 'browser/history/history_types.cc', |
| 'browser/history/history_types.h', |
| 'browser/history/in_memory_database.cc', |
| 'browser/history/in_memory_database.h', |
| 'browser/history/in_memory_history_backend.cc', |
| 'browser/history/in_memory_history_backend.h', |
| 'browser/history/page_usage_data.cc', |
| 'browser/history/page_usage_data.h', |
| 'browser/history/query_parser.cc', |
| 'browser/history/query_parser.h', |
| 'browser/history/snippet.cc', |
| 'browser/history/snippet.h', |
| 'browser/history/starred_url_database.cc', |
| 'browser/history/starred_url_database.h', |
| 'browser/history/text_database.cc', |
| 'browser/history/text_database.h', |
| 'browser/history/text_database_manager.cc', |
| 'browser/history/text_database_manager.h', |
| 'browser/history/thumbnail_database.cc', |
| 'browser/history/thumbnail_database.h', |
| 'browser/history/top_sites.cc', |
| 'browser/history/url_database.cc', |
| 'browser/history/url_database.h', |
| 'browser/history/visit_database.cc', |
| 'browser/history/visit_database.h', |
| 'browser/history/visit_log.cc', |
| 'browser/history/visit_log.h', |
| 'browser/history/visit_tracker.cc', |
| 'browser/history/visit_tracker.h', |
| 'browser/history/visitsegment_database.cc', |
| 'browser/history/visitsegment_database.h', |
| 'browser/hung_renderer_dialog.h', |
| 'browser/icon_loader.h', |
| 'browser/icon_loader.cc', |
| 'browser/icon_loader_linux.cc', |
| 'browser/icon_loader_mac.mm', |
| 'browser/icon_loader_win.cc', |
| 'browser/icon_manager.cc', |
| 'browser/icon_manager.h', |
| 'browser/icon_manager_linux.cc', |
| 'browser/icon_manager_mac.mm', |
| 'browser/icon_manager_win.cc', |
| 'browser/ime_input.cc', |
| 'browser/ime_input.h', |
| 'browser/importer/firefox2_importer.cc', |
| 'browser/importer/firefox2_importer.h', |
| 'browser/importer/firefox3_importer.cc', |
| 'browser/importer/firefox3_importer.h', |
| 'browser/importer/firefox_importer_utils.cc', |
| 'browser/importer/firefox_importer_utils_linux.cc', |
| 'browser/importer/firefox_importer_utils_mac.mm', |
| 'browser/importer/firefox_importer_utils_win.cc', |
| 'browser/importer/firefox_importer_utils.h', |
| 'browser/importer/firefox_profile_lock.cc', |
| 'browser/importer/firefox_profile_lock.h', |
| 'browser/importer/firefox_profile_lock_posix.cc', |
| 'browser/importer/firefox_profile_lock_win.cc', |
| 'browser/importer/ie_importer.cc', |
| 'browser/importer/ie_importer.h', |
| 'browser/importer/importer.cc', |
| 'browser/importer/importer.h', |
| 'browser/importer/importer_bridge.cc', |
| 'browser/importer/importer_bridge.h', |
| 'browser/importer/importer_list.cc', |
| 'browser/importer/importer_list.h', |
| 'browser/importer/mork_reader.cc', |
| 'browser/importer/mork_reader.h', |
| 'browser/importer/nss_decryptor.cc', |
| 'browser/importer/nss_decryptor.h', |
| 'browser/importer/nss_decryptor_linux.cc', |
| 'browser/importer/nss_decryptor_linux.h', |
| 'browser/importer/nss_decryptor_mac.h', |
| 'browser/importer/nss_decryptor_mac.mm', |
| 'browser/importer/nss_decryptor_win.cc', |
| 'browser/importer/nss_decryptor_win.h', |
| 'browser/importer/safari_importer.h', |
| 'browser/importer/safari_importer.mm', |
| 'browser/importer/toolbar_importer.cc', |
| 'browser/importer/toolbar_importer.h', |
| 'browser/in_process_webkit/browser_webkitclient_impl.cc', |
| 'browser/in_process_webkit/browser_webkitclient_impl.h', |
| 'browser/in_process_webkit/dom_storage_context.cc', |
| 'browser/in_process_webkit/dom_storage_context.h', |
| 'browser/in_process_webkit/dom_storage_dispatcher_host.cc', |
| 'browser/in_process_webkit/dom_storage_dispatcher_host.h', |
| 'browser/in_process_webkit/storage_area.cc', |
| 'browser/in_process_webkit/storage_area.h', |
| 'browser/in_process_webkit/storage_namespace.cc', |
| 'browser/in_process_webkit/storage_namespace.h', |
| 'browser/in_process_webkit/webkit_context.cc', |
| 'browser/in_process_webkit/webkit_context.h', |
| 'browser/in_process_webkit/webkit_thread.cc', |
| 'browser/in_process_webkit/webkit_thread.h', |
| 'browser/input_window_dialog.h', |
| 'browser/input_window_dialog_gtk.cc', |
| 'browser/input_window_dialog_win.cc', |
| 'browser/jankometer.cc', |
| 'browser/jankometer.h', |
| 'browser/jumplist.cc', |
| 'browser/jumplist.h', |
| 'browser/jsmessage_box_handler.cc', |
| 'browser/jsmessage_box_handler.h', |
| 'browser/keychain_mac.cc', |
| 'browser/keychain_mac.h', |
| 'browser/language_combobox_model.cc', |
| 'browser/language_combobox_model.h', |
| 'browser/language_order_table_model.cc', |
| 'browser/language_order_table_model.h', |
| 'browser/load_from_memory_cache_details.h', |
| 'browser/load_notification_details.h', |
| 'browser/location_bar.h', |
| 'browser/login_model.h', |
| 'browser/login_prompt.cc', |
| 'browser/login_prompt.h', |
| 'browser/login_prompt_gtk.cc', |
| 'browser/login_prompt_mac.h', |
| 'browser/login_prompt_mac.mm', |
| 'browser/login_prompt_win.cc', |
| 'browser/memory_details.cc', |
| 'browser/memory_details_linux.cc', |
| 'browser/memory_details_win.cc', |
| 'browser/memory_details.h', |
| 'browser/memory_purger.cc', |
| 'browser/memory_purger.h', |
| 'browser/meta_table_helper.cc', |
| 'browser/meta_table_helper.h', |
| 'browser/metrics/metric_event_duration_details.h', |
| 'browser/metrics/metrics_log.cc', |
| 'browser/metrics/metrics_log.h', |
| 'browser/metrics/metrics_response.cc', |
| 'browser/metrics/metrics_response.h', |
| 'browser/metrics/metrics_service.cc', |
| 'browser/metrics/metrics_service.h', |
| 'browser/metrics/user_metrics.cc', |
| 'browser/metrics/user_metrics.h', |
| 'browser/modal_html_dialog_delegate.cc', |
| 'browser/modal_html_dialog_delegate.h', |
| 'browser/net/browser_url_util.cc', |
| 'browser/net/browser_url_util.h', |
| 'browser/net/chrome_url_request_context.cc', |
| 'browser/net/chrome_url_request_context.h', |
| 'browser/net/url_request_context_getter.cc', |
| 'browser/net/url_request_context_getter.h', |
| 'browser/net/dns_global.cc', |
| 'browser/net/dns_global.h', |
| 'browser/net/dns_host_info.cc', |
| 'browser/net/dns_host_info.h', |
| 'browser/net/dns_master.cc', |
| 'browser/net/dns_master.h', |
| 'browser/net/metadata_url_request.cc', |
| 'browser/net/metadata_url_request.h', |
| 'browser/net/referrer.cc', |
| 'browser/net/referrer.h', |
| 'browser/net/resolve_proxy_msg_helper.cc', |
| 'browser/net/resolve_proxy_msg_helper.h', |
| 'browser/net/sdch_dictionary_fetcher.cc', |
| 'browser/net/sdch_dictionary_fetcher.h', |
| 'browser/net/sqlite_persistent_cookie_store.cc', |
| 'browser/net/sqlite_persistent_cookie_store.h', |
| 'browser/net/ssl_config_service_manager.h', |
| 'browser/net/url_fetcher.cc', |
| 'browser/net/url_fetcher.h', |
| 'browser/net/url_fetcher_protect.cc', |
| 'browser/net/url_fetcher_protect.h', |
| 'browser/net/url_fixer_upper.cc', |
| 'browser/net/url_fixer_upper.h', |
| 'browser/net/url_request_failed_dns_job.cc', |
| 'browser/net/url_request_failed_dns_job.h', |
| # TODO: These should be moved to test_support (see below), but |
| # are currently used by production code in automation_provider.cc. |
| 'browser/net/url_request_mock_http_job.cc', |
| 'browser/net/url_request_mock_http_job.h', |
| 'browser/net/url_request_mock_link_doctor_job.cc', |
| 'browser/net/url_request_mock_link_doctor_job.h', |
| 'browser/net/url_request_mock_util.cc', |
| 'browser/net/url_request_mock_util.h', |
| 'browser/net/url_request_slow_download_job.cc', |
| 'browser/net/url_request_slow_download_job.h', |
| 'browser/net/url_request_slow_http_job.cc', |
| 'browser/net/url_request_slow_http_job.h', |
| 'browser/net/url_request_tracking.cc', |
| 'browser/net/url_request_tracking.h', |
| 'browser/net/websocket_experiment/websocket_experiment_task.cc', |
| 'browser/net/websocket_experiment/websocket_experiment_task.h', |
| 'browser/notifications/balloon.cc', |
| 'browser/notifications/balloon.h', |
| 'browser/notifications/balloon_collection.cc', |
| 'browser/notifications/balloon_collection.h', |
| 'browser/notifications/balloon_collection_win.cc', |
| 'browser/notifications/balloon_collection_mac.mm', |
| 'browser/notifications/balloon_collection_linux.cc', |
| 'browser/notifications/desktop_notification_service.cc', |
| 'browser/notifications/desktop_notification_service.h', |
| 'browser/notifications/notification.h', |
| 'browser/notifications/notification_object_proxy.cc', |
| 'browser/notifications/notification_object_proxy.h', |
| 'browser/notifications/notification_ui_manager.cc', |
| 'browser/notifications/notification_ui_manager.h', |
| 'browser/notifications/notifications_prefs_cache.cc', |
| 'browser/notifications/notifications_prefs_cache.h', |
| 'browser/ntp_background_util.cc', |
| 'browser/ntp_background_util.h', |
| 'browser/omnibox_search_hint.cc', |
| 'browser/omnibox_search_hint.h', |
| 'browser/options_page_base.cc', |
| 'browser/options_page_base.h', |
| 'browser/options_util.cc', |
| 'browser/options_util.h', |
| 'browser/options_window.h', |
| 'browser/page_info_model.cc', |
| 'browser/page_info_model.h', |
| 'browser/page_state.cc', |
| 'browser/page_state.h', |
| 'browser/parsers/metadata_parser.h', |
| 'browser/parsers/metadata_parser_factory.h', |
| 'browser/parsers/metadata_parser_filebase.cc', |
| 'browser/parsers/metadata_parser_filebase.h', |
| 'browser/parsers/metadata_parser_jpeg.cc', |
| 'browser/parsers/metadata_parser_jpeg.h', |
| 'browser/parsers/metadata_parser_jpeg_factory.cc', |
| 'browser/parsers/metadata_parser_jpeg_factory.h', |
| 'browser/parsers/metadata_parser_manager.cc', |
| 'browser/parsers/metadata_parser_manager.h', |
| 'browser/parsers/metadata_parser.cc', |
| 'browser/password_manager/encryptor_linux.cc', |
| 'browser/password_manager/encryptor_mac.mm', |
| 'browser/password_manager/encryptor_win.cc', |
| 'browser/password_manager/encryptor.h', |
| 'browser/password_manager/ie7_password.cc', |
| 'browser/password_manager/ie7_password.h', |
| 'browser/password_manager/login_database_mac.cc', |
| 'browser/password_manager/login_database_mac.h', |
| 'browser/password_manager/login_database.cc', |
| 'browser/password_manager/login_database.h', |
| 'browser/password_manager/password_form_manager.cc', |
| 'browser/password_manager/password_form_manager.h', |
| 'browser/password_manager/password_manager.cc', |
| 'browser/password_manager/password_manager.h', |
| 'browser/password_manager/password_store.cc', |
| 'browser/password_manager/password_store.h', |
| 'browser/password_manager/password_store_default.cc', |
| 'browser/password_manager/password_store_default.h', |
| # Temporarily disabled while we figure some stuff out. |
| # http://code.google.com/p/chromium/issues/detail?id=12351 |
| # 'browser/password_manager/password_store_gnome.h', |
| # 'browser/password_manager/password_store_gnome.cc', |
| # 'browser/password_manager/password_store_kwallet.h', |
| # 'browser/password_manager/password_store_kwallet.cc', |
| 'browser/password_manager/password_store_mac_internal.h', |
| 'browser/password_manager/password_store_mac.h', |
| 'browser/password_manager/password_store_mac.cc', |
| 'browser/password_manager/password_store_win.h', |
| 'browser/password_manager/password_store_win.cc', |
| 'browser/plugin_installer.cc', |
| 'browser/plugin_installer.h', |
| 'browser/plugin_process_host.cc', |
| 'browser/plugin_process_host.h', |
| 'browser/plugin_process_host_mac.cc', |
| 'browser/plugin_service.cc', |
| 'browser/plugin_service.h', |
| 'browser/possible_url_model.cc', |
| 'browser/possible_url_model.h', |
| 'browser/power_save_blocker.h', |
| 'browser/power_save_blocker_common.cc', |
| 'browser/power_save_blocker_stub.cc', |
| 'browser/power_save_blocker_win.cc', |
| 'browser/printing/print_dialog_gtk.cc', |
| 'browser/printing/print_dialog_gtk.h', |
| 'browser/printing/print_job.cc', |
| 'browser/printing/print_job.h', |
| 'browser/printing/print_job_manager.cc', |
| 'browser/printing/print_job_manager.h', |
| 'browser/printing/print_job_worker.cc', |
| 'browser/printing/print_job_worker.h', |
| 'browser/printing/print_job_worker_owner.h', |
| 'browser/printing/print_view_manager.cc', |
| 'browser/printing/print_view_manager.h', |
| 'browser/printing/printer_query.cc', |
| 'browser/printing/printer_query.h', |
| 'browser/privacy_blacklist/blacklist.h', |
| 'browser/privacy_blacklist/blacklist.cc', |
| 'browser/privacy_blacklist/blacklist_io.h', |
| 'browser/privacy_blacklist/blacklist_io.cc', |
| 'browser/privacy_blacklist/blacklist_observer.h', |
| 'browser/privacy_blacklist/blacklist_observer.cc', |
| 'browser/privacy_blacklist/blacklist_manager.h', |
| 'browser/privacy_blacklist/blacklist_manager.cc', |
| 'browser/privacy_blacklist/blacklist_store.h', |
| 'browser/privacy_blacklist/blacklist_store.cc', |
| 'browser/privacy_blacklist/blocked_response.h', |
| 'browser/privacy_blacklist/blocked_response.cc', |
| 'browser/process_singleton.h', |
| 'browser/process_singleton_linux.cc', |
| 'browser/process_singleton_mac.cc', |
| 'browser/process_singleton_win.cc', |
| 'browser/profile.cc', |
| 'browser/profile.h', |
| 'browser/profile_manager.cc', |
| 'browser/profile_manager.h', |
| 'browser/renderer_host/async_resource_handler.cc', |
| 'browser/renderer_host/async_resource_handler.h', |
| 'browser/renderer_host/audio_renderer_host.cc', |
| 'browser/renderer_host/audio_renderer_host.h', |
| 'browser/renderer_host/backing_store.h', |
| 'browser/renderer_host/backing_store_manager.cc', |
| 'browser/renderer_host/backing_store_manager.h', |
| 'browser/renderer_host/backing_store_mac.mm', |
| 'browser/renderer_host/backing_store_win.cc', |
| 'browser/renderer_host/backing_store_x.cc', |
| 'browser/renderer_host/browser_render_process_host.cc', |
| 'browser/renderer_host/browser_render_process_host.h', |
| 'browser/renderer_host/buffered_resource_handler.cc', |
| 'browser/renderer_host/buffered_resource_handler.h', |
| 'browser/renderer_host/cross_site_resource_handler.cc', |
| 'browser/renderer_host/cross_site_resource_handler.h', |
| 'browser/renderer_host/database_dispatcher_host.cc', |
| 'browser/renderer_host/database_dispatcher_host.h', |
| 'browser/renderer_host/download_resource_handler.cc', |
| 'browser/renderer_host/download_resource_handler.h', |
| 'browser/renderer_host/download_throttling_resource_handler.cc', |
| 'browser/renderer_host/download_throttling_resource_handler.h', |
| 'browser/renderer_host/gtk_im_context_wrapper.cc', |
| 'browser/renderer_host/gtk_im_context_wrapper.h', |
| 'browser/renderer_host/gtk_key_bindings_handler.cc', |
| 'browser/renderer_host/gtk_key_bindings_handler.h', |
| 'browser/renderer_host/render_process_host.cc', |
| 'browser/renderer_host/render_process_host.h', |
| 'browser/renderer_host/render_sandbox_host_linux.h', |
| 'browser/renderer_host/render_sandbox_host_linux.cc', |
| 'browser/renderer_host/render_view_host.cc', |
| 'browser/renderer_host/render_view_host.h', |
| 'browser/renderer_host/render_view_host_delegate.cc', |
| 'browser/renderer_host/render_view_host_delegate.h', |
| 'browser/renderer_host/render_view_host_factory.cc', |
| 'browser/renderer_host/render_view_host_factory.h', |
| 'browser/renderer_host/render_widget_helper.cc', |
| 'browser/renderer_host/render_widget_helper.h', |
| 'browser/renderer_host/render_widget_host.cc', |
| 'browser/renderer_host/render_widget_host.h', |
| 'browser/renderer_host/render_widget_host_view.h', |
| 'browser/renderer_host/render_widget_host_view_gtk.cc', |
| 'browser/renderer_host/render_widget_host_view_gtk.h', |
| 'browser/renderer_host/render_widget_host_view_mac.h', |
| 'browser/renderer_host/render_widget_host_view_mac.mm', |
| 'browser/renderer_host/render_widget_host_view_win.cc', |
| 'browser/renderer_host/render_widget_host_view_win.h', |
| 'browser/renderer_host/resource_dispatcher_host.cc', |
| 'browser/renderer_host/resource_dispatcher_host.h', |
| 'browser/renderer_host/resource_dispatcher_host_request_info.cc', |
| 'browser/renderer_host/resource_dispatcher_host_request_info.h', |
| 'browser/renderer_host/resource_handler.h', |
| 'browser/renderer_host/resource_message_filter.cc', |
| 'browser/renderer_host/resource_message_filter.h', |
| 'browser/renderer_host/resource_message_filter_gtk.cc', |
| 'browser/renderer_host/resource_message_filter_mac.mm', |
| 'browser/renderer_host/resource_message_filter_win.cc', |
| 'browser/renderer_host/resource_request_details.h', |
| 'browser/renderer_host/safe_browsing_resource_handler.cc', |
| 'browser/renderer_host/safe_browsing_resource_handler.h', |
| 'browser/renderer_host/save_file_resource_handler.cc', |
| 'browser/renderer_host/save_file_resource_handler.h', |
| 'browser/renderer_host/site_instance.cc', |
| 'browser/renderer_host/site_instance.h', |
| 'browser/renderer_host/socket_stream_dispatcher_host.cc', |
| 'browser/renderer_host/socket_stream_dispatcher_host.h', |
| 'browser/renderer_host/socket_stream_host.cc', |
| 'browser/renderer_host/socket_stream_host.h', |
| 'browser/renderer_host/sync_resource_handler.cc', |
| 'browser/renderer_host/sync_resource_handler.h', |
| 'browser/renderer_host/web_cache_manager.cc', |
| 'browser/renderer_host/web_cache_manager.h', |
| 'browser/renderer_host/x509_user_cert_resource_handler.cc', |
| 'browser/renderer_host/x509_user_cert_resource_handler.h', |
| 'browser/rlz/rlz.cc', |
| 'browser/rlz/rlz.h', |
| 'browser/safe_browsing/bloom_filter.cc', |
| 'browser/safe_browsing/bloom_filter.h', |
| 'browser/safe_browsing/chunk_range.cc', |
| 'browser/safe_browsing/chunk_range.h', |
| 'browser/safe_browsing/protocol_manager.cc', |
| 'browser/safe_browsing/protocol_manager.h', |
| 'browser/safe_browsing/protocol_parser.cc', |
| 'browser/safe_browsing/protocol_parser.h', |
| 'browser/safe_browsing/safe_browsing_blocking_page.cc', |
| 'browser/safe_browsing/safe_browsing_blocking_page.h', |
| 'browser/safe_browsing/safe_browsing_database.cc', |
| 'browser/safe_browsing/safe_browsing_database.h', |
| 'browser/safe_browsing/safe_browsing_database_bloom.cc', |
| 'browser/safe_browsing/safe_browsing_database_bloom.h', |
| 'browser/safe_browsing/safe_browsing_service.cc', |
| 'browser/safe_browsing/safe_browsing_service.h', |
| 'browser/safe_browsing/safe_browsing_util.cc', |
| 'browser/safe_browsing/safe_browsing_util.h', |
| 'browser/sandbox_policy.cc', |
| 'browser/sandbox_policy.h', |
| 'browser/search_versus_navigate_classifier.cc', |
| 'browser/search_versus_navigate_classifier.h', |
| 'browser/search_engines/edit_search_engine_controller.cc', |
| 'browser/search_engines/edit_search_engine_controller.h', |
| 'browser/search_engines/keyword_editor_controller.cc', |
| 'browser/search_engines/keyword_editor_controller.h', |
| 'browser/search_engines/template_url.cc', |
| 'browser/search_engines/template_url.h', |
| 'browser/search_engines/template_url_fetcher.cc', |
| 'browser/search_engines/template_url_fetcher.h', |
| 'browser/search_engines/template_url_model.cc', |
| 'browser/search_engines/template_url_model.h', |
| 'browser/search_engines/template_url_parser.cc', |
| 'browser/search_engines/template_url_parser.h', |
| 'browser/search_engines/template_url_prepopulate_data.cc', |
| 'browser/search_engines/template_url_prepopulate_data.h', |
| 'browser/search_engines/template_url_table_model.cc', |
| 'browser/search_engines/template_url_table_model.h', |
| 'browser/nacl_process_host.cc', |
| 'browser/nacl_process_host.h', |
| 'browser/session_startup_pref.cc', |
| 'browser/session_startup_pref.h', |
| 'browser/sessions/base_session_service.cc', |
| 'browser/sessions/base_session_service.h', |
| 'browser/sessions/session_backend.cc', |
| 'browser/sessions/session_backend.h', |
| 'browser/sessions/session_command.cc', |
| 'browser/sessions/session_command.h', |
| 'browser/sessions/session_id.cc', |
| 'browser/sessions/session_id.h', |
| 'browser/sessions/session_restore.cc', |
| 'browser/sessions/session_restore.h', |
| 'browser/sessions/session_service.cc', |
| 'browser/sessions/session_service.h', |
| 'browser/sessions/session_types.cc', |
| 'browser/sessions/session_types.h', |
| 'browser/sessions/tab_restore_service.cc', |
| 'browser/sessions/tab_restore_service.h', |
| 'browser/shell_dialogs.h', |
| 'browser/shell_integration.cc', |
| 'browser/shell_integration.h', |
| 'browser/shell_integration_mac.mm', |
| 'browser/shell_integration_linux.cc', |
| 'browser/shell_integration_win.cc', |
| 'browser/spellcheck_worditerator.cc', |
| 'browser/spellcheck_worditerator.h', |
| 'browser/spellchecker.cc', |
| 'browser/spellchecker.h', |
| 'browser/spellchecker_common.h', |
| 'browser/spellchecker_linux.cc', |
| 'browser/spellchecker_mac.mm', |
| 'browser/spellchecker_platform_engine.h', |
| 'browser/spellchecker_win.cc', |
| 'browser/ssl/ssl_blocking_page.cc', |
| 'browser/ssl/ssl_blocking_page.h', |
| 'browser/ssl/ssl_cert_error_handler.cc', |
| 'browser/ssl/ssl_cert_error_handler.h', |
| 'browser/ssl/ssl_client_auth_handler.cc', |
| 'browser/ssl/ssl_client_auth_handler.h', |
| 'browser/ssl/ssl_error_handler.cc', |
| 'browser/ssl/ssl_error_handler.h', |
| 'browser/ssl/ssl_error_info.cc', |
| 'browser/ssl/ssl_error_info.h', |
| 'browser/ssl/ssl_host_state.cc', |
| 'browser/ssl/ssl_host_state.h', |
| 'browser/ssl/ssl_manager.cc', |
| 'browser/ssl/ssl_manager.h', |
| 'browser/ssl/ssl_policy.cc', |
| 'browser/ssl/ssl_policy.h', |
| 'browser/ssl/ssl_policy_backend.cc', |
| 'browser/ssl/ssl_policy_backend.h', |
| 'browser/ssl/ssl_request_info.h', |
| 'browser/status_bubble.h', |
| 'browser/strict_transport_security_persister.cc', |
| 'browser/strict_transport_security_persister.h', |
| 'browser/sync/engine/syncapi.h', |
| 'browser/sync/glue/bookmark_model_worker.cc', |
| 'browser/sync/glue/bookmark_model_worker.h', |
| 'browser/sync/glue/change_processor.cc', |
| 'browser/sync/glue/change_processor.h', |
| 'browser/sync/glue/http_bridge.cc', |
| 'browser/sync/glue/http_bridge.h', |
| 'browser/sync/glue/model_associator.cc', |
| 'browser/sync/glue/model_associator.h', |
| 'browser/sync/glue/sync_backend_host.cc', |
| 'browser/sync/glue/sync_backend_host.h', |
| 'browser/sync/profile_sync_service.cc', |
| 'browser/sync/profile_sync_service.h', |
| 'browser/sync/sync_setup_flow.cc', |
| 'browser/sync/sync_setup_flow.h', |
| 'browser/sync/sync_setup_wizard.cc', |
| 'browser/sync/sync_setup_wizard.h', |
| 'browser/sync/sync_status_ui_helper.cc', |
| 'browser/sync/sync_status_ui_helper.h', |
| 'browser/tab_contents/constrained_window.h', |
| 'browser/tab_contents/infobar_delegate.cc', |
| 'browser/tab_contents/infobar_delegate.h', |
| 'browser/tab_contents/interstitial_page.cc', |
| 'browser/tab_contents/interstitial_page.h', |
| 'browser/tab_contents/navigation_controller.cc', |
| 'browser/tab_contents/navigation_controller.h', |
| 'browser/tab_contents/navigation_entry.cc', |
| 'browser/tab_contents/navigation_entry.h', |
| 'browser/tab_contents/page_navigator.h', |
| 'browser/tab_contents/provisional_load_details.cc', |
| 'browser/tab_contents/provisional_load_details.h', |
| 'browser/tab_contents/render_view_context_menu.cc', |
| 'browser/tab_contents/render_view_context_menu.h', |
| 'browser/tab_contents/render_view_context_menu_gtk.cc', |
| 'browser/tab_contents/render_view_context_menu_gtk.h', |
| 'browser/tab_contents/render_view_context_menu_mac.mm', |
| 'browser/tab_contents/render_view_context_menu_mac.h', |
| 'browser/tab_contents/render_view_host_delegate_helper.cc', |
| 'browser/tab_contents/render_view_host_delegate_helper.h', |
| 'browser/tab_contents/render_view_host_manager.cc', |
| 'browser/tab_contents/render_view_host_manager.h', |
| 'browser/tab_contents/security_style.h', |
| 'browser/tab_contents/tab_contents.cc', |
| 'browser/tab_contents/tab_contents.h', |
| 'browser/tab_contents/tab_contents_delegate.h', |
| 'browser/tab_contents/tab_contents_view.cc', |
| 'browser/tab_contents/tab_contents_view.h', |
| 'browser/tab_contents/tab_contents_view_gtk.cc', |
| 'browser/tab_contents/tab_contents_view_gtk.h', |
| 'browser/tab_contents/tab_contents_view_mac.h', |
| 'browser/tab_contents/tab_contents_view_mac.mm', |
| 'browser/tab_contents/tab_util.cc', |
| 'browser/tab_contents/tab_util.h', |
| 'browser/tab_contents/thumbnail_generator.cc', |
| 'browser/tab_contents/thumbnail_generator.h', |
| 'browser/tab_contents/web_drag_source.cc', |
| 'browser/tab_contents/web_drag_source.h', |
| 'browser/tab_contents/web_drag_dest_gtk.cc', |
| 'browser/tab_contents/web_drag_dest_gtk.h', |
| 'browser/tab_contents/web_drop_target.cc', |
| 'browser/tab_contents/web_drop_target.h', |
| 'browser/tabs/tab_strip_model.cc', |
| 'browser/tabs/tab_strip_model.h', |
| 'browser/tabs/tab_strip_model_order_controller.cc', |
| 'browser/tabs/tab_strip_model_order_controller.h', |
| 'browser/task_manager.cc', |
| 'browser/task_manager.h', |
| 'browser/task_manager_resource_providers.cc', |
| 'browser/task_manager_resource_providers.h', |
| 'browser/theme_resources_util.cc', |
| 'browser/theme_resources_util.h', |
| 'browser/thumbnail_store.cc', |
| 'browser/thumbnail_store.h', |
| 'browser/toolbar_model.cc', |
| 'browser/toolbar_model.h', |
| 'browser/user_data_manager.cc', |
| 'browser/user_data_manager.h', |
| 'browser/utility_process_host.cc', |
| 'browser/utility_process_host.h', |
| 'browser/view_ids.h', |
| 'browser/views/about_chrome_view.cc', |
| 'browser/views/about_chrome_view.h', |
| 'browser/views/about_ipc_dialog.cc', |
| 'browser/views/about_ipc_dialog.h', |
| 'browser/views/about_network_dialog.cc', |
| 'browser/views/about_network_dialog.h', |
| 'browser/views/accelerator_table_gtk.cc', |
| 'browser/views/accelerator_table_gtk.h', |
| 'browser/views/autocomplete/autocomplete_popup_contents_view.cc', |
| 'browser/views/autocomplete/autocomplete_popup_contents_view.h', |
| 'browser/views/autocomplete/autocomplete_popup_win.cc', |
| 'browser/views/autocomplete/autocomplete_popup_win.h', |
| 'browser/views/autocomplete/autocomplete_popup_gtk.cc', |
| 'browser/views/autocomplete/autocomplete_popup_gtk.h', |
| 'browser/views/blocked_popup_container_view_views.cc', |
| 'browser/views/blocked_popup_container_view_views.h', |
| 'browser/views/bookmark_bar_view.cc', |
| 'browser/views/bookmark_bar_view.h', |
| 'browser/views/bookmark_bubble_view.cc', |
| 'browser/views/bookmark_bubble_view.h', |
| 'browser/views/bookmark_context_menu.cc', |
| 'browser/views/bookmark_context_menu.h', |
| 'browser/views/bookmark_editor_view.cc', |
| 'browser/views/bookmark_editor_view.h', |
| 'browser/views/bookmark_folder_tree_view.cc', |
| 'browser/views/bookmark_folder_tree_view.h', |
| 'browser/views/bookmark_manager_view.cc', |
| 'browser/views/bookmark_manager_view.h', |
| 'browser/views/bookmark_menu_button.cc', |
| 'browser/views/bookmark_menu_button.h', |
| 'browser/views/bookmark_menu_controller_views.cc', |
| 'browser/views/bookmark_menu_controller_views.h', |
| 'browser/views/bookmark_table_view.cc', |
| 'browser/views/bookmark_table_view.h', |
| 'browser/views/browser_actions_container.cc', |
| 'browser/views/browser_actions_container.h', |
| 'browser/views/browser_bubble.cc', |
| 'browser/views/browser_bubble.h', |
| 'browser/views/browser_bubble_gtk.cc', |
| 'browser/views/browser_bubble_win.cc', |
| 'browser/views/browser_dialogs.h', |
| 'browser/views/bubble_border.cc', |
| 'browser/views/bubble_border.h', |
| 'browser/views/bug_report_view.cc', |
| 'browser/views/bug_report_view.h', |
| 'browser/views/chrome_views_delegate.cc', |
| 'browser/views/chrome_views_delegate.h', |
| 'browser/views/clear_browsing_data.cc', |
| 'browser/views/clear_browsing_data.h', |
| 'browser/views/constrained_window_win.cc', |
| 'browser/views/constrained_window_win.h', |
| 'browser/views/confirm_message_box_dialog.cc', |
| 'browser/views/confirm_message_box_dialog.h', |
| 'browser/views/detachable_toolbar_view.cc', |
| 'browser/views/detachable_toolbar_view.h', |
| 'browser/views/dialog_stubs_gtk.cc', |
| 'browser/views/dom_view.cc', |
| 'browser/views/dom_view.h', |
| 'browser/views/download_item_view.cc', |
| 'browser/views/download_item_view.h', |
| 'browser/views/download_shelf_view.cc', |
| 'browser/views/download_shelf_view.h', |
| 'browser/views/download_started_animation_win.cc', |
| 'browser/views/edit_search_engine_dialog.cc', |
| 'browser/views/edit_search_engine_dialog.h', |
| 'browser/views/event_utils.cc', |
| 'browser/views/event_utils.h', |
| 'browser/views/extensions/extension_install_prompt.cc', |
| 'browser/views/extensions/extension_popup.cc', |
| 'browser/views/extensions/extension_popup.h', |
| 'browser/views/extensions/extension_shelf.cc', |
| 'browser/views/extensions/extension_shelf.h', |
| 'browser/views/extensions/extension_view.cc', |
| 'browser/views/extensions/extension_view.h', |
| 'browser/views/external_protocol_dialog.cc', |
| 'browser/views/external_protocol_dialog.h', |
| 'browser/views/find_bar_host.cc', |
| 'browser/views/find_bar_host.h', |
| 'browser/views/find_bar_host_gtk.cc', |
| 'browser/views/find_bar_host_win.cc', |
| 'browser/views/find_bar_view.cc', |
| 'browser/views/find_bar_view.h', |
| 'browser/views/first_run_bubble.cc', |
| 'browser/views/first_run_bubble.h', |
| 'browser/views/first_run_customize_view.cc', |
| 'browser/views/first_run_customize_view.h', |
| 'browser/views/first_run_view.cc', |
| 'browser/views/first_run_view.h', |
| 'browser/views/first_run_view_base.cc', |
| 'browser/views/first_run_view_base.h', |
| 'browser/views/frame/browser_extender.cc', |
| 'browser/views/frame/browser_extender.h', |
| 'browser/views/frame/browser_frame.h', |
| 'browser/views/frame/browser_frame_gtk.cc', |
| 'browser/views/frame/browser_frame_gtk.h', |
| 'browser/views/frame/browser_frame_win.cc', |
| 'browser/views/frame/browser_frame_win.h', |
| 'browser/views/frame/browser_non_client_frame_view.h', |
| 'browser/views/frame/browser_root_view.cc', |
| 'browser/views/frame/browser_root_view.h', |
| 'browser/views/frame/browser_view.cc', |
| 'browser/views/frame/browser_view.h', |
| 'browser/views/frame/glass_browser_frame_view.cc', |
| 'browser/views/frame/glass_browser_frame_view.h', |
| 'browser/views/frame/opaque_browser_frame_view.cc', |
| 'browser/views/frame/opaque_browser_frame_view.h', |
| 'browser/views/frame/standard_extender.cc', |
| 'browser/views/fullscreen_exit_bubble.cc', |
| 'browser/views/fullscreen_exit_bubble.h', |
| 'browser/views/go_button.cc', |
| 'browser/views/go_button.h', |
| 'browser/views/html_dialog_view.cc', |
| 'browser/views/html_dialog_view.h', |
| 'browser/views/hung_renderer_view.cc', |
| 'browser/views/importer_lock_view.cc', |
| 'browser/views/importer_lock_view.h', |
| 'browser/views/importer_view.cc', |
| 'browser/views/importer_view.h', |
| 'browser/views/importing_progress_view.cc', |
| 'browser/views/importing_progress_view.h', |
| 'browser/views/info_bubble.cc', |
| 'browser/views/info_bubble.h', |
| 'browser/views/infobars/infobar_container.cc', |
| 'browser/views/infobars/infobar_container.h', |
| 'browser/views/infobars/infobars.cc', |
| 'browser/views/infobars/infobars.h', |
| 'browser/views/jsmessage_box_dialog.cc', |
| 'browser/views/jsmessage_box_dialog.h', |
| 'browser/views/keyword_editor_view.cc', |
| 'browser/views/keyword_editor_view.h', |
| 'browser/views/location_bar_view.cc', |
| 'browser/views/location_bar_view.h', |
| 'browser/views/login_view.cc', |
| 'browser/views/login_view.h', |
| 'browser/views/new_profile_dialog.cc', |
| 'browser/views/new_profile_dialog.h', |
| 'browser/views/new_browser_window_widget.cc', |
| 'browser/views/new_browser_window_widget.h', |
| 'browser/views/notifications/balloon_view_host.cc', |
| 'browser/views/notifications/balloon_view_host.h', |
| 'browser/views/notifications/balloon_view.cc', |
| 'browser/views/notifications/balloon_view.h', |
| 'browser/views/options/advanced_contents_view.cc', |
| 'browser/views/options/advanced_contents_view.h', |
| 'browser/views/options/advanced_page_view.cc', |
| 'browser/views/options/advanced_page_view.h', |
| 'browser/views/options/content_page_view.cc', |
| 'browser/views/options/content_page_view.h', |
| 'browser/views/options/cookies_view.cc', |
| 'browser/views/options/cookies_view.h', |
| 'browser/views/options/exceptions_page_view.cc', |
| 'browser/views/options/exceptions_page_view.h', |
| 'browser/views/options/fonts_languages_window_view.cc', |
| 'browser/views/options/fonts_languages_window_view.h', |
| 'browser/views/options/fonts_page_view.cc', |
| 'browser/views/options/fonts_page_view.h', |
| 'browser/views/options/general_page_view.cc', |
| 'browser/views/options/general_page_view.h', |
| 'browser/views/options/languages_page_view.cc', |
| 'browser/views/options/languages_page_view.h', |
| 'browser/views/options/options_group_view.cc', |
| 'browser/views/options/options_group_view.h', |
| 'browser/views/options/options_page_view.cc', |
| 'browser/views/options/options_page_view.h', |
| 'browser/views/options/options_window_view.cc', |
| 'browser/views/options/passwords_exceptions_window_view.cc', |
| 'browser/views/options/passwords_exceptions_window_view.h', |
| 'browser/views/options/passwords_page_view.cc', |
| 'browser/views/options/passwords_page_view.h', |
| 'browser/views/page_info_window_view.cc', |
| 'browser/views/repost_form_warning_view.cc', |
| 'browser/views/repost_form_warning_view.h', |
| 'browser/views/restart_message_box.cc', |
| 'browser/views/restart_message_box.h', |
| 'browser/views/sad_tab_view.cc', |
| 'browser/views/sad_tab_view.h', |
| 'browser/views/select_profile_dialog.cc', |
| 'browser/views/select_profile_dialog.h', |
| 'browser/views/shell_dialogs_win.cc', |
| 'browser/views/star_toggle.cc', |
| 'browser/views/star_toggle.h', |
| 'browser/views/status_bubble_views.cc', |
| 'browser/views/status_bubble_views.h', |
| 'browser/views/tab_icon_view.cc', |
| 'browser/views/tab_icon_view.h', |
| 'browser/views/tab_contents/tab_contents_container.cc', |
| 'browser/views/tab_contents/tab_contents_container.h', |
| 'browser/views/tab_contents/native_tab_contents_container.h', |
| 'browser/views/tab_contents/native_tab_contents_container_gtk.cc', |
| 'browser/views/tab_contents/native_tab_contents_container_gtk.h', |
| 'browser/views/tab_contents/native_tab_contents_container_win.cc', |
| 'browser/views/tab_contents/native_tab_contents_container_win.h', |
| 'browser/views/tab_contents/render_view_context_menu_win.cc', |
| 'browser/views/tab_contents/render_view_context_menu_win.h', |
| 'browser/views/tab_contents/render_view_context_menu_external_win.cc', |
| 'browser/views/tab_contents/render_view_context_menu_external_win.h', |
| 'browser/views/tab_contents/tab_contents_view_gtk.cc', |
| 'browser/views/tab_contents/tab_contents_view_gtk.h', |
| 'browser/views/tab_contents/tab_contents_view_win.cc', |
| 'browser/views/tab_contents/tab_contents_view_win.h', |
| 'browser/views/tabs/dragged_tab_controller.cc', |
| 'browser/views/tabs/dragged_tab_controller.h', |
| 'browser/views/tabs/dragged_tab_view.cc', |
| 'browser/views/tabs/dragged_tab_view.h', |
| 'browser/views/tabs/grid.cc', |
| 'browser/views/tabs/grid.h', |
| 'browser/views/tabs/native_view_photobooth.h', |
| 'browser/views/tabs/native_view_photobooth_gtk.cc', |
| 'browser/views/tabs/native_view_photobooth_gtk.h', |
| 'browser/views/tabs/native_view_photobooth_win.cc', |
| 'browser/views/tabs/native_view_photobooth_win.h', |
| 'browser/views/tabs/browser_tab_strip.cc', |
| 'browser/views/tabs/browser_tab_strip.h', |
| 'browser/views/tabs/tab.cc', |
| 'browser/views/tabs/tab.h', |
| 'browser/views/tabs/tab_2.cc', |
| 'browser/views/tabs/tab_2.h', |
| 'browser/views/tabs/tab_overview_cell.cc', |
| 'browser/views/tabs/tab_overview_cell.h', |
| 'browser/views/tabs/tab_overview_container.cc', |
| 'browser/views/tabs/tab_overview_container.h', |
| 'browser/views/tabs/tab_overview_controller.cc', |
| 'browser/views/tabs/tab_overview_controller.h', |
| 'browser/views/tabs/tab_overview_drag_controller.cc', |
| 'browser/views/tabs/tab_overview_drag_controller.h', |
| 'browser/views/tabs/tab_overview_grid.cc', |
| 'browser/views/tabs/tab_overview_grid.h', |
| 'browser/views/tabs/tab_overview_message_listener.cc', |
| 'browser/views/tabs/tab_overview_message_listener.h', |
| 'browser/views/tabs/tab_overview_types.cc', |
| 'browser/views/tabs/tab_overview_types.h', |
| 'browser/views/tabs/tab_renderer.cc', |
| 'browser/views/tabs/tab_renderer.h', |
| 'browser/views/tabs/tab_strip.cc', |
| 'browser/views/tabs/tab_strip.h', |
| 'browser/views/tabs/tab_strip_2.cc', |
| 'browser/views/tabs/tab_strip_2.h', |
| 'browser/views/task_manager_view.cc', |
| 'browser/views/theme_helpers.cc', |
| 'browser/views/theme_helpers.h', |
| 'browser/views/theme_install_bubble_view.cc', |
| 'browser/views/theme_install_bubble_view.h', |
| 'browser/views/toolbar_star_toggle.cc', |
| 'browser/views/toolbar_star_toggle.h', |
| 'browser/views/toolbar_view.cc', |
| 'browser/views/toolbar_view.h', |
| 'browser/views/uninstall_view.cc', |
| 'browser/views/uninstall_view.h', |
| 'browser/views/url_picker.cc', |
| 'browser/views/url_picker.h', |
| 'browser/views/user_data_dir_dialog.cc', |
| 'browser/views/user_data_dir_dialog.h', |
| 'browser/visitedlink_master.cc', |
| 'browser/visitedlink_master.h', |
| 'browser/visitedlink_event_listener.cc', |
| 'browser/visitedlink_event_listener.h', |
| 'browser/webdata/web_data_service.cc', |
| 'browser/webdata/web_data_service.h', |
| 'browser/webdata/web_data_service_win.cc', |
| 'browser/webdata/web_database.cc', |
| 'browser/webdata/web_database.h', |
| 'browser/webdata/web_database_win.cc', |
| 'browser/web_resource/web_resource_service.h', |
| 'browser/web_resource/web_resource_service.cc', |
| 'browser/window_sizer.cc', |
| 'browser/window_sizer.h', |
| 'browser/window_sizer_mac.mm', |
| 'browser/window_sizer_linux.cc', |
| 'browser/window_sizer_win.cc', |
| 'browser/worker_host/message_port_dispatcher.cc', |
| 'browser/worker_host/message_port_dispatcher.h', |
| 'browser/worker_host/worker_process_host.cc', |
| 'browser/worker_host/worker_process_host.h', |
| 'browser/worker_host/worker_service.cc', |
| 'browser/worker_host/worker_service.h', |
| 'browser/zygote_host_linux.cc', |
| 'browser/zygote_main_linux.cc', |
| |
| # This file is generated by GRIT. |
| '<(grit_out_dir)/grit/theme_resources_map.cc', |
| ], |
| 'conditions': [ |
| ['javascript_engine=="v8"', { |
| 'defines': [ |
| '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'], |
| ], |
| }], |
| ['OS=="linux"', { |
| 'dependencies': [ |
| # Temporarily disabled while we figure some stuff out. |
| # http://code.google.com/p/chromium/issues/detail?id=12351 |
| # '../build/linux/system.gyp:dbus-glib', |
| # '../build/linux/system.gyp:gnome-keyring', |
| '../build/linux/system.gyp:gtk', |
| '../build/linux/system.gyp:gtkprint', |
| '../build/linux/system.gyp:nss', |
| '../base/base.gyp:linux_versioninfo', |
| ], |
| 'sources!': [ |
| '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. |
| 'browser/password_manager/password_store_win.cc', |
| 'browser/password_manager/password_store_win.h', |
| ], |
| 'sources': [ |
| 'browser/net/ssl_config_service_manager_pref.cc', |
| ], |
| 'sources/': [ |
| # Exclude most of printing. |
| ['exclude', '^browser/printing/'], |
| ['include', '^browser/printing/page_(number|range|setup)\\.cc$'], |
| ], |
| 'conditions': [ |
| ['linux_breakpad==1', { |
| 'sources': [ |
| 'browser/renderer_host/render_crash_handler_host_linux.cc', |
| 'app/breakpad_linux.cc', |
| 'app/breakpad_linux.h', |
| ], |
| 'dependencies': [ |
| '../breakpad/breakpad.gyp:breakpad_client', |
| ], |
| 'include_dirs': [ |
| # breakpad_linux.cc wants file_version_info_linux.h |
| '<(SHARED_INTERMEDIATE_DIR)', |
| ], |
| }, { # linux_breakpad==0 |
| 'sources': [ |
| 'browser/renderer_host/render_crash_handler_host_linux_stub.cc', |
| ], |
| }], |
| ['linux_sandbox_path != ""', { |
| 'defines': [ |
| 'LINUX_SANDBOX_PATH="<(linux_sandbox_path)"', |
| ], |
| }], |
| ], |
| }], |
| ['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', |
| '../build/linux/system.gyp:nss', |
| ], |
| }], |
| ['OS=="mac"', { |
| 'sources!': [ |
| 'browser/automation/automation_provider_list_generic.cc', |
| 'browser/bookmarks/bookmark_context_menu.cc', |
| 'browser/bookmarks/bookmark_drop_info.cc', |
| 'browser/dock_info.cc', |
| 'browser/jankometer.cc', |
| 'browser/password_manager/password_store_gnome.h', |
| 'browser/password_manager/password_store_gnome.cc', |
| 'browser/password_manager/password_store_kwallet.h', |
| 'browser/password_manager/password_store_kwallet.cc', |
| 'browser/password_manager/password_store_win.cc', |
| 'browser/password_manager/password_store_win.h', |
| 'browser/views/extensions/extension_shelf.cc', |
| 'browser/views/extensions/extension_shelf.h', |
| 'browser/views/extensions/extension_view.cc', |
| 'browser/views/extensions/extension_view.h', |
| ], |
| 'sources': [ |
| 'browser/net/ssl_config_service_manager_system.cc', |
| # Build the necessary GTM sources |
| '../third_party/GTM/AppKit/GTMFadeTruncatingTextFieldCell.h', |
| '../third_party/GTM/AppKit/GTMFadeTruncatingTextFieldCell.m', |
| '../third_party/GTM/AppKit/GTMIBArray.h', |
| '../third_party/GTM/AppKit/GTMIBArray.m', |
| '../third_party/GTM/AppKit/GTMNSBezierPath+RoundRect.m', |
| '../third_party/GTM/AppKit/GTMNSColor+Luminance.m', |
| '../third_party/GTM/AppKit/GTMTheme.m', |
| '../third_party/GTM/AppKit/GTMUILocalizer.h', |
| '../third_party/GTM/AppKit/GTMUILocalizer.m', |
| '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h', |
| '../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.m', |
| '../third_party/GTM/AppKit/GTMWindowSheetController.m', |
| '../third_party/GTM/Foundation/GTMNSNumber+64Bit.h', |
| '../third_party/GTM/Foundation/GTMNSNumber+64Bit.m', |
| # Build necessary Mozilla sources |
| '../third_party/mozilla/include/NSPasteboard+Utils.h', |
| '../third_party/mozilla/include/NSPasteboard+Utils.mm', |
| '../third_party/mozilla/include/NSScreen+Utils.h', |
| '../third_party/mozilla/include/NSScreen+Utils.m', |
| '../third_party/mozilla/include/NSString+Utils.h', |
| '../third_party/mozilla/include/NSString+Utils.m', |
| '../third_party/mozilla/include/NSURL+Utils.h', |
| '../third_party/mozilla/include/NSURL+Utils.m', |
| '../third_party/mozilla/include/NSWorkspace+Utils.h', |
| '../third_party/mozilla/include/NSWorkspace+Utils.m', |
| ], |
| 'include_dirs': [ |
| '../third_party/GTM', |
| '../third_party/GTM/AppKit', |
| '../third_party/GTM/Foundation', |
| ], |
| 'link_settings': { |
| 'libraries': [ |
| '$(SDKROOT)/System/Library/Frameworks/SecurityInterface.framework', |
| '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| ], |
| }, |
| 'actions': [ |
| { |
| # This action is used to extract the localization data from xib |
| # files and generate table for the ui localizer from it. |
| 'variables': { |
| 'xib_localizer_tool_path': |
| 'tools/build/mac/generate_localizer', |
| 'xib_files_to_scan': [ |
| # The xibs that need localization |
| 'app/nibs/About.xib', |
| 'app/nibs/BookmarkBar.xib', |
| 'app/nibs/BookmarkBubble.xib', |
| 'app/nibs/BookmarkEditor.xib', |
| 'app/nibs/BookmarkNameFolder.xib', |
| 'app/nibs/ClearBrowsingData.xib', |
| 'app/nibs/DownloadItem.xib', |
| 'app/nibs/EditSearchEngine.xib', |
| 'app/nibs/FirstRunDialog.xib', |
| 'app/nibs/HttpAuthLoginSheet.xib', |
| 'app/nibs/HungRendererDialog.xib', |
| 'app/nibs/ImportProgressDialog.xib', |
| 'app/nibs/KeywordEditor.xib', |
| 'app/nibs/MainMenu.xib', |
| 'app/nibs/PageInfo.xib', |
| 'app/nibs/Preferences.xib', |
| 'app/nibs/ReportBug.xib', |
| 'app/nibs/SaveAccessoryView.xib', |
| 'app/nibs/TabView.xib', |
| 'app/nibs/TaskManager.xib', |
| 'app/nibs/Toolbar.xib', |
| ], |
| }, |
| 'action_name': 'Process xibs for localization', |
| 'inputs': [ |
| '<(xib_localizer_tool_path)', |
| '<@(xib_files_to_scan)', |
| ], |
| 'outputs': [ |
| '<(INTERMEDIATE_DIR)/ui_localizer_table.h', |
| ], |
| 'action': ['<(xib_localizer_tool_path)', |
| '<@(_outputs)', |
| '<@(xib_files_to_scan)'], |
| }, |
| ], |
| }], |
| ['OS=="win"', { |
| 'defines': [ |
| '__STD_C', |
| '_CRT_SECURE_NO_DEPRECATE', |
| '_SCL_SECURE_NO_DEPRECATE', |
| ], |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| 'dependencies': [ |
| '../gears/gears.gyp:gears', |
| '../google_update/google_update.gyp:google_update', |
| '../third_party/cld/cld.gyp:cld', |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| '../views/views.gyp:views', |
| 'installer/installer.gyp:installer_util', |
| ], |
| 'export_dependent_settings': [ |
| '../views/views.gyp:views', |
| ], |
| 'sources': [ |
| 'browser/net/ssl_config_service_manager_system.cc', |
| # Using built-in rule in vstudio for midl. |
| 'browser/history/history_indexer.idl', |
| ], |
| 'sources!': [ |
| 'browser/history/history_publisher_none.cc', |
| 'browser/password_manager/password_store_gnome.h', |
| 'browser/password_manager/password_store_gnome.cc', |
| 'browser/password_manager/password_store_kwallet.h', |
| 'browser/password_manager/password_store_kwallet.cc', |
| 'browser/power_save_blocker_stub.cc', |
| 'browser/views/new_browser_window_widget.cc', |
| 'browser/views/new_browser_window_widget.h', |
| 'browser/views/panel_controller.cc', |
| 'browser/views/panel_controller.h', |
| 'browser/views/panels/panel_scroller.cc', |
| 'browser/views/panels/panel_scroller.h', |
| 'browser/views/panels/panel_scroller_container.cc', |
| 'browser/views/panels/panel_scroller_container.h', |
| 'browser/views/panels/panel_scroller_header.cc', |
| 'browser/views/panels/panel_scroller_header.h', |
| 'browser/views/tabs/grid.cc', |
| 'browser/views/tabs/grid.h', |
| 'browser/views/tabs/tab_overview_cell.cc', |
| 'browser/views/tabs/tab_overview_cell.h', |
| 'browser/views/tabs/tab_overview_container.cc', |
| 'browser/views/tabs/tab_overview_container.h', |
| 'browser/views/tabs/tab_overview_controller.cc', |
| 'browser/views/tabs/tab_overview_controller.h', |
| 'browser/views/tabs/tab_overview_drag_controller.cc', |
| 'browser/views/tabs/tab_overview_drag_controller.h', |
| 'browser/views/tabs/tab_overview_grid.cc', |
| 'browser/views/tabs/tab_overview_grid.h', |
| 'browser/views/tabs/tab_overview_message_listener.cc', |
| 'browser/views/tabs/tab_overview_message_listener.h', |
| 'browser/views/tabs/tab_overview_types.cc', |
| 'browser/views/tabs/tab_overview_types.h', |
| ], |
| }, { # 'OS!="win" |
| 'sources/': [ |
| # Exclude all of hang_monitor. |
| ['exclude', '^browser/hang_monitor/'], |
| |
| # Exclude parts of password_manager. |
| ['exclude', '^browser/password_manager/ie7_password\\.cc$'], |
| |
| # Exclude all of rlz. |
| ['exclude', '^browser/rlz/'], |
| |
| # Exclude all of views. |
| ['exclude', '^browser/views/'], |
| ], |
| 'conditions': [ |
| ['toolkit_views==1',{ |
| 'sources/': [ |
| ['include', '^browser/dock_info_gtk.cc'], |
| ['include', '^browser/dock_info.cc'], |
| ['include', '^browser/dock_info.h'], |
| ['include', '^browser/extensions/'], |
| ['include', '^browser/views/accelerator_table_gtk.cc'], |
| ['include', '^browser/views/accelerator_table_gtk.h'], |
| ['include', '^browser/views/autocomplete/autocomplete_popup_contents_view.cc'], |
| ['include', '^browser/views/autocomplete/autocomplete_popup_contents_view.h'], |
| ['include', '^browser/views/autocomplete/autocomplete_popup_gtk.cc'], |
| ['include', '^browser/views/autocomplete/autocomplete_popup_gtk.h'], |
| ['include', '^browser/views/blocked_popup_container_view_views.cc'], |
| ['include', '^browser/views/blocked_popup_container_view_views.h'], |
| ['include', '^browser/views/bookmark_bar_view.cc'], |
| ['include', '^browser/views/bookmark_bar_view.h'], |
| ['include', '^browser/views/bookmark_bubble_view.cc'], |
| ['include', '^browser/views/bookmark_bubble_view.h'], |
| ['include', '^browser/views/bookmark_context_menu.cc'], |
| ['include', '^browser/views/bookmark_context_menu.h'], |
| ['include', '^browser/views/bookmark_menu_button.cc'], |
| ['include', '^browser/views/bookmark_menu_button.h'], |
| ['include', '^browser/views/bookmark_menu_controller_views.cc'], |
| ['include', '^browser/views/browser_actions_container.cc'], |
| ['include', '^browser/views/browser_actions_container.h'], |
| ['include', '^browser/views/browser_bubble_gtk.cc'], |
| ['include', '^browser/views/browser_bubble.cc'], |
| ['include', '^browser/views/browser_bubble.h'], |
| ['include', '^browser/views/bubble_border.cc'], |
| ['include', '^browser/views/bubble_border.h'], |
| ['include', '^browser/views/chrome_views_delegate.cc'], |
| ['include', '^browser/views/clear_browsing_data.cc'], |
| ['include', '^browser/views/clear_browsing_data.h'], |
| ['include', '^browser/views/detachable_toolbar_view.h'], |
| ['include', '^browser/views/detachable_toolbar_view.cc'], |
| ['include', '^browser/views/dialog_stubs_gtk.cc'], |
| ['include', '^browser/views/download_item_view.cc'], |
| ['include', '^browser/views/download_item_view.h'], |
| ['include', '^browser/views/download_shelf_view.cc'], |
| ['include', '^browser/views/download_shelf_view.h'], |
| ['include', '^browser/views/dragged_tab_controller.cc'], |
| ['include', '^browser/views/dragged_tab_controller.h'], |
| ['include', '^browser/views/event_utils.cc'], |
| ['include', '^browser/views/event_utils.h'], |
| ['include', '^browser/views/extensions/extension_install_prompt.cc'], |
| ['include', '^browser/views/extensions/extension_popup.cc'], |
| ['include', '^browser/views/extensions/extension_popup.h'], |
| ['include', '^browser/views/extensions/extension_shelf.cc'], |
| ['include', '^browser/views/extensions/extension_shelf.h'], |
| ['include', '^browser/views/extensions/extension_view.cc'], |
| ['include', '^browser/views/extensions/extension_view.h'], |
| ['include', '^browser/views/extension_view.cc'], |
| ['include', '^browser/views/extension_view.h'], |
| ['include', '^browser/views/find_bar_view.cc'], |
| ['include', '^browser/views/find_bar_view.h'], |
| ['include', '^browser/views/find_bar_host_gtk.cc'], |
| ['include', '^browser/views/find_bar_host.cc'], |
| ['include', '^browser/views/find_bar_host.h'], |
| ['include', '^browser/views/fullscreen_exit_bubble.cc'], |
| ['include', '^browser/views/fullscreen_exit_bubble.h'], |
| ['include', '^browser/views/go_button.cc'], |
| ['include', '^browser/views/go_button.h'], |
| ['include', '^browser/views/toolbar_star_toggle.h'], |
| ['include', '^browser/views/toolbar_star_toggle.cc'], |
| ['include', '^browser/views/frame/browser_extender.cc'], |
| ['include', '^browser/views/frame/browser_extender.h'], |
| ['include', '^browser/views/frame/browser_view.cc'], |
| ['include', '^browser/views/frame/browser_view.h'], |
| ['include', '^browser/views/frame/browser_frame_gtk.cc'], |
| ['include', '^browser/views/frame/browser_frame_gtk.h'], |
| ['include', '^browser/views/frame/browser_root_view.cc'], |
| ['include', '^browser/views/frame/browser_root_view.h'], |
| ['include', '^browser/views/frame/opaque_browser_frame_view.cc'], |
| ['include', '^browser/views/frame/opaque_browser_frame_view.h'], |
| ['include', '^browser/views/infobars/*'], |
| ['include', '^browser/views/info_bubble.cc'], |
| ['include', '^browser/views/info_bubble.h'], |
| ['include', '^browser/views/location_bar_view.cc'], |
| ['include', '^browser/views/location_bar_view.h'], |
| ['include', '^browser/views/page_info_window_view.cc'], |
| # Not necessary unless you're trying to build ChromeOS+views. |
| #['include', '^browser/views/panels/panel_scroller.cc'], |
| #['include', '^browser/views/panels/panel_scroller.h'], |
| #['include', '^browser/views/panels/panel_scroller_container.cc'], |
| #['include', '^browser/views/panels/panel_scroller_container.h'], |
| #['include', '^browser/views/panels/panel_scroller_header.cc'], |
| #['include', '^browser/views/panels/panel_scroller_header.h'], |
| ['include', '^browser/views/sad_tab_view.cc'], |
| ['include', '^browser/views/sad_tab_view.h'], |
| ['include', '^browser/views/status_bubble_views.cc'], |
| ['include', '^browser/views/status_bubble_views.h'], |
| ['include', '^browser/views/tab_contents/native_tab_contents_container_gtk.cc'], |
| ['include', '^browser/views/tab_contents/native_tab_contents_container_gtk.h'], |
| ['include', '^browser/views/tab_contents/render_view_context_menu_win.cc'], |
| ['include', '^browser/views/tab_contents/render_view_context_menu_win.h'], |
| ['include', '^browser/views/tab_contents/tab_contents_container.cc'], |
| ['include', '^browser/views/tab_contents/tab_contents_container.h'], |
| ['include', '^browser/views/tab_contents/tab_contents_view_gtk.cc'], |
| ['include', '^browser/views/tab_contents/tab_contents_view_gtk.h'], |
| ['include', '^browser/views/tab_icon_view.cc'], |
| ['include', '^browser/views/tab_icon_view.h'], |
| ['include', '^browser/views/tabs/browser_tab_strip.cc'], |
| ['include', '^browser/views/tabs/browser_tab_strip.h'], |
| ['include', '^browser/views/tabs/dragged_tab_controller.cc'], |
| ['include', '^browser/views/tabs/dragged_tab_controller.h'], |
| ['include', '^browser/views/tabs/dragged_tab_view.cc'], |
| ['include', '^browser/views/tabs/dragged_tab_view.h'], |
| ['include', '^browser/views/tabs/native_view_photobooth.h'], |
| ['include', '^browser/views/tabs/native_view_photobooth_gtk.cc'], |
| ['include', '^browser/views/tabs/native_view_photobooth_gtk.h'], |
| ['include', '^browser/views/tabs/tab.cc'], |
| ['include', '^browser/views/tabs/tab.h'], |
| ['include', '^browser/views/tabs/tab_2.cc'], |
| ['include', '^browser/views/tabs/tab_2.h'], |
| ['include', '^browser/views/tabs/tab_renderer.cc'], |
| ['include', '^browser/views/tabs/tab_renderer.h'], |
| ['include', '^browser/views/tabs/tab_strip.cc'], |
| ['include', '^browser/views/tabs/tab_strip.h'], |
| ['include', '^browser/views/tabs/tab_strip_2.cc'], |
| ['include', '^browser/views/tabs/tab_strip_2.h'], |
| ['include', '^browser/views/toolbar_view.cc'], |
| ['include', '^browser/views/toolbar_view.h'], |
| ['include', '^browser/window_sizer.cc'], |
| ['include', '^browser/window_sizer.h'], |
| |
| # Exclude all of browser/gtk, then include the things we want. |
| ['exclude', '^browser/gtk'], |
| ['include', '^browser/gtk/about_chrome_dialog.cc'], |
| ['include', '^browser/gtk/about_chrome_dialog.h'], |
| ['include', '^browser/gtk/autocomplete_edit_gtk.cc'], |
| ['include', '^browser/gtk/autocomplete_edit_gtk.h'], |
| ['include', '^browser/gtk/bookmark_context_menu_gtk.cc'], |
| ['include', '^browser/gtk/bookmark_context_menu_gtk.h'], |
| ['include', '^browser/gtk/bookmark_editor_gtk.cc'], |
| ['include', '^browser/gtk/bookmark_editor_gtk.h'], |
| ['include', '^browser/gtk/bookmark_manager_gtk.cc'], |
| ['include', '^browser/gtk/bookmark_manager_gtk.h'], |
| ['include', '^browser/gtk/bookmark_tree_model.cc'], |
| ['include', '^browser/gtk/bookmark_tree_model.h'], |
| ['include', '^browser/gtk/bookmark_utils_gtk.cc'], |
| ['include', '^browser/gtk/bookmark_utils_gtk.h'], |
| ['include', '^browser/gtk/cairo_cached_surface.cc'], |
| ['include', '^browser/gtk/cairo_cached_surface.h'], |
| ['include', '^browser/gtk/clear_browsing_data_dialog_gtk.cc'], |
| ['include', '^browser/gtk/clear_browsing_data_dialog_gtk.h'], |
| ['include', '^browser/gtk/constrained_window_gtk.cc'], |
| ['include', '^browser/gtk/constrained_window_gtk.h'], |
| ['include', '^browser/gtk/dialogs_gtk.cc'], |
| ['include', '^browser/gtk/dialogs_gtk.h'], |
| ['include', '^browser/gtk/download_started_animation_gtk.cc'], |
| ['include', '^browser/gtk/download_started_animation_gtk.h'], |
| ['include', '^browser/gtk/edit_search_engine_dialog.cc'], |
| ['include', '^browser/gtk/edit_search_engine_dialog.h'], |
| ['include', '^browser/gtk/first_run_dialog.cc'], |
| ['include', '^browser/gtk/first_run_dialog.h'], |
| ['include', '^browser/gtk/focus_store_gtk.cc'], |
| ['include', '^browser/gtk/focus_store_gtk.h'], |
| ['include', '^browser/gtk/gtk_chrome_button.cc'], |
| ['include', '^browser/gtk/gtk_chrome_button.h'], |
| ['include', '^browser/gtk/gtk_chrome_link_button.cc'], |
| ['include', '^browser/gtk/gtk_chrome_link_button.h'], |
| ['include', '^browser/gtk/gtk_theme_provider.cc'], |
| ['include', '^browser/gtk/gtk_theme_provider.h'], |
| ['include', '^browser/gtk/hung_renderer_dialog_gtk.cc'], |
| ['include', '^browser/gtk/hung_renderer_dialog_gtk.h'], |
| ['include', '^browser/gtk/import_dialog_gtk.cc'], |
| ['include', '^browser/gtk/import_dialog_gtk.h'], |
| ['include', '^browser/gtk/import_progress_dialog_gtk.cc'], |
| ['include', '^browser/gtk/import_progress_dialog_gtk.h'], |
| ['include', '^browser/gtk/import_lock_dialog_gtk.cc'], |
| ['include', '^browser/gtk/import_lock_dialog_gtk.h'], |
| ['include', '^browser/gtk/keyword_editor_view.cc'], |
| ['include', '^browser/gtk/keyword_editor_view.h'], |
| ['include', '^browser/gtk/list_store_favicon_loader.cc'], |
| ['include', '^browser/gtk/list_store_favicon_loader.h'], |
| ['include', '^browser/gtk/menu_gtk.cc'], |
| ['include', '^browser/gtk/menu_gtk.h'], |
| ['include', '^browser/gtk/nine_box.cc'], |
| ['include', '^browser/gtk/nine_box.h'], |
| ['include', '^browser/gtk/options/'], |
| ['include', '^browser/gtk/repost_form_warning_gtk.cc'], |
| ['include', '^browser/gtk/repost_form_warning_gtk.h'], |
| ['include', '^browser/gtk/tab_contents_drag_source.cc'], |
| ['include', '^browser/gtk/tab_contents_drag_source.h'], |
| ['include', '^browser/gtk/task_manager_gtk.cc'], |
| ['include', '^browser/gtk/task_manager_gtk.h'], |
| ['include', '^browser/gtk/view_id_util.cc'], |
| ['include', '^browser/gtk/view_id_util.h'], |
| |
| # Other excluded stuff. |
| ['exclude', '^browser/autocomplete/autocomplete_popup_view_gtk.cc'], |
| ['exclude', '^browser/autocomplete/autocomplete_popup_view_gtk.h'], |
| ['exclude', '^browser/extensions/external_registry_extension_provider_win.cc'], |
| ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'], |
| ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'], |
| ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.cc'], |
| ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.h'], |
| # Overlaps with browser/views/frame/browser_view.cc |
| ['exclude', '^browser/browser_list_gtk.cc'], |
| ], |
| }], |
| ['OS=="linux" and toolkit_views==0', { |
| 'sources/': [ |
| ['include', '^browser/printing/print_dialog_gtk.cc'], |
| ['include', '^browser/printing/print_dialog_gtk.h'], |
| ['exclude', '^browser/sync/sync_setup_flow.cc'], |
| ['exclude', '^browser/sync/sync_setup_wizard.cc'], |
| ], |
| }], |
| ['chromeos==1 or toolkit_views==1',{ |
| 'dependencies': [ |
| '../third_party/protobuf2/protobuf.gyp:protobuf_lite', |
| '../third_party/protobuf2/protobuf.gyp:protoc#host', |
| '../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', |
| ], |
| }, |
| ], |
| 'sources': [ |
| '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.pb.h', |
| '<(INTERMEDIATE_DIR)/chrome/browser/metrics/system_metrics.pb.cc', |
| 'browser/metrics/system_metrics_logger.h', |
| 'browser/metrics/system_metrics_logger_impl.cc', |
| 'browser/metrics/system_metrics_logger_impl.h', |
| ], |
| 'include_dirs': [ |
| '<(INTERMEDIATE_DIR)', |
| '<(INTERMEDIATE_DIR)/chrome', |
| ], |
| 'sources/': [ |
| ['include', 'browser/views/about_chrome_view.cc'], |
| ['include', 'browser/views/about_chrome_view.h'], |
| ['exclude', 'browser/gtk/about_chrome_dialog.cc'], |
| ['exclude', 'browser/gtk/about_chrome_dialog.h'], |
| ['include', 'browser/views/new_browser_window_widget.cc'], |
| ['include', 'browser/views/new_browser_window_widget.h'], |
| ['include', 'browser/views/options/options_page_view.cc'], |
| ['include', 'browser/views/options/options_page_view.h'], |
| ['include', 'browser/views/panel_controller.cc'], |
| ['include', 'browser/views/panel_controller.h'], |
| ['include', 'browser/views/panels/panel_container.cc'], |
| ['include', 'browser/views/panels/panel_container.h'], |
| ['include', 'browser/views/panels/panel_scroller.cc'], |
| ['include', 'browser/views/panels/panel_scroller.h'], |
| ['include', 'browser/views/panels/panel_scroller_header.cc'], |
| ['include', 'browser/views/panels/panel_scroller_header.h'], |
| ['include', 'browser/views/tabs/grid.cc'], |
| ['include', 'browser/views/tabs/grid.h'], |
| ['include', 'browser/views/tabs/tab_overview_cell.cc'], |
| ['include', 'browser/views/tabs/tab_overview_cell.h'], |
| ['include', 'browser/views/tabs/tab_overview_container.cc'], |
| ['include', 'browser/views/tabs/tab_overview_container.h'], |
| ['include', 'browser/views/tabs/tab_overview_controller.cc'], |
| ['include', 'browser/views/tabs/tab_overview_controller.h'], |
| ['include', 'browser/views/tabs/tab_overview_drag_controller.cc'], |
| ['include', 'browser/views/tabs/tab_overview_drag_controller.h'], |
| ['include', 'browser/views/tabs/tab_overview_grid.cc'], |
| ['include', 'browser/views/tabs/tab_overview_grid.h'], |
| ['include', 'browser/views/tabs/tab_overview_message_listener.cc'], |
| ['include', 'browser/views/tabs/tab_overview_message_listener.h'], |
| ['include', 'browser/views/tabs/tab_overview_types.cc'], |
| ['include', 'browser/views/tabs/tab_overview_types.h'], |
| ], |
| }], |
| ], |
| # Exclude files that should be excluded for all non-Windows platforms. |
| 'sources!': [ |
| 'browser/autocomplete/autocomplete_accessibility.cc', |
| 'browser/bookmarks/bookmark_menu_controller.cc', |
| 'browser/bookmarks/bookmark_menu_controller.h', |
| 'browser/browser_accessibility.cc', |
| 'browser/browser_accessibility_manager.cc', |
| 'browser/external_tab_container.cc', |
| 'browser/google_update.cc', |
| 'browser/history/history_indexer.idl', |
| 'browser/history_tab_ui.cc', |
| 'browser/history_view.cc', |
| 'browser/ime_input.cc', |
| 'browser/importer/ie_importer.cc', |
| 'browser/jumplist.cc', |
| 'browser/sandbox_policy.cc', |
| 'browser/tab_contents/web_drag_source.cc', |
| 'browser/tab_contents/web_drop_target.cc', |
| ], |
| }], |
| # views depends on webkit headers. |
| ['OS=="win" or toolkit_views==1',{ |
| 'dependencies': [ |
| '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', |
| ], |
| }], |
| ['OS=="linux"', { |
| 'sources': [ |
| 'browser/gtk/sync_setup_wizard_gtk.cc', |
| 'browser/gtk/sync_setup_wizard_gtk.h', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'debugger', |
| 'type': '<(library)', |
| 'msvs_guid': '57823D8C-A317-4713-9125-2C91FDFD12D6', |
| 'dependencies': [ |
| 'chrome_resources', |
| 'chrome_strings', |
| 'theme_resources', |
| '../skia/skia.gyp:skia', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'browser/debugger/debugger_remote_service.cc', |
| 'browser/debugger/debugger_remote_service.h', |
| 'browser/debugger/debugger_wrapper.cc', |
| 'browser/debugger/debugger_wrapper.h', |
| 'browser/debugger/devtools_client_host.h', |
| 'browser/debugger/devtools_manager.cc', |
| 'browser/debugger/devtools_manager.h', |
| 'browser/debugger/devtools_protocol_handler.cc', |
| 'browser/debugger/devtools_protocol_handler.h', |
| 'browser/debugger/devtools_remote.h', |
| 'browser/debugger/devtools_remote_listen_socket.cc', |
| 'browser/debugger/devtools_remote_listen_socket.h', |
| 'browser/debugger/devtools_remote_message.cc', |
| 'browser/debugger/devtools_remote_message.h', |
| 'browser/debugger/devtools_remote_service.cc', |
| 'browser/debugger/devtools_remote_service.h', |
| 'browser/debugger/devtools_window.cc', |
| 'browser/debugger/devtools_window.h', |
| 'browser/debugger/extension_ports_remote_service.cc', |
| 'browser/debugger/extension_ports_remote_service.h', |
| 'browser/debugger/inspectable_tab_proxy.cc', |
| 'browser/debugger/inspectable_tab_proxy.h', |
| ], |
| 'conditions': [ |
| ['OS=="linux" or OS=="freebsd"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'plugin', |
| 'type': '<(library)', |
| 'msvs_guid': '20A560A0-2CD0-4D9E-A58B-1F24B99C087A', |
| 'dependencies': [ |
| 'common', |
| 'chrome_resources', |
| 'chrome_strings', |
| '../media/media.gyp:media', |
| '../skia/skia.gyp:skia', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| '../third_party/libxml/libxml.gyp:libxml', |
| '../third_party/npapi/npapi.gyp:npapi', |
| '../third_party/hunspell/hunspell.gyp:hunspell', |
| '../webkit/webkit.gyp:glue', |
| ], |
| 'include_dirs': [ |
| '<(INTERMEDIATE_DIR)', |
| ], |
| 'sources': [ |
| # All .cc, .h, .m, and .mm files under plugins except for tests and |
| # mocks. |
| 'plugin/chrome_plugin_host.cc', |
| 'plugin/chrome_plugin_host.h', |
| 'plugin/npobject_proxy.cc', |
| 'plugin/npobject_proxy.h', |
| 'plugin/npobject_stub.cc', |
| 'plugin/npobject_stub.h', |
| 'plugin/npobject_util.cc', |
| 'plugin/npobject_util.h', |
| 'plugin/plugin_channel.cc', |
| 'plugin/plugin_channel.h', |
| 'plugin/plugin_channel_base.cc', |
| 'plugin/plugin_channel_base.h', |
| 'plugin/plugin_main.cc', |
| 'plugin/plugin_thread.cc', |
| 'plugin/plugin_thread.h', |
| 'plugin/webplugin_delegate_stub.cc', |
| 'plugin/webplugin_delegate_stub.h', |
| 'plugin/webplugin_proxy.cc', |
| 'plugin/webplugin_proxy.h', |
| ], |
| # These are layered in conditionals in the event other platforms |
| # end up using this module as well. |
| 'conditions': [ |
| ['OS=="win"', { |
| 'defines': [ |
| '__STD_C', |
| '_CRT_SECURE_NO_DEPRECATE', |
| '_SCL_SECURE_NO_DEPRECATE', |
| ], |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| },], |
| ], |
| }, |
| { |
| 'target_name': 'nacl', |
| 'type': '<(library)', |
| 'msvs_guid': '83E86DAF-5763-4711-AD34-5FDAE395560C', |
| 'dependencies': [ |
| 'common', |
| 'chrome_resources', |
| 'chrome_strings', |
| '../third_party/npapi/npapi.gyp:npapi', |
| '../webkit/webkit.gyp:glue', |
| '../native_client/src/trusted/plugin/plugin.gyp:npGoogleNaClPluginChrome', |
| '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel', |
| '../native_client/src/trusted/validator_x86/validator_x86.gyp:ncvalidate', |
| '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:platform_qual_lib', |
| ], |
| 'include_dirs': [ |
| '<(INTERMEDIATE_DIR)', |
| ], |
| 'defines': [ |
| 'NACL_BLOCK_SHIFT=5', |
| 'NACL_BLOCK_SIZE=32', |
| '<@(nacl_defines)', |
| ], |
| 'sources': [ |
| # All .cc, .h, .m, and .mm files under nacl except for tests and |
| # mocks. |
| 'nacl/sel_main.cc', |
| 'nacl/nacl_main.cc', |
| 'nacl/nacl_thread.cc', |
| 'nacl/nacl_thread.h', |
| ], |
| # TODO(gregoryd): consider switching NaCl to use Chrome OS defines |
| 'conditions': [ |
| ['OS=="win"', { |
| 'defines': [ |
| '__STD_C', |
| '_CRT_SECURE_NO_DEPRECATE', |
| '_SCL_SECURE_NO_DEPRECATE', |
| ], |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| },], |
| ], |
| }, |
| { |
| 'target_name': 'renderer', |
| 'type': '<(library)', |
| 'msvs_guid': '9301A569-5D2B-4D11-9332-B1E30AEACB8D', |
| 'dependencies': [ |
| 'common', |
| 'plugin', |
| 'chrome_resources', |
| 'chrome_strings', |
| '../printing/printing.gyp:printing', |
| '../skia/skia.gyp:skia', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| '../third_party/npapi/npapi.gyp:npapi', |
| '../third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp:webcore', |
| '../webkit/webkit.gyp:glue', |
| '../webkit/api/WebKit.gyp:webkit', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'defines': [ |
| '<@(nacl_defines)', |
| ], |
| 'sources': [ |
| # TODO(jrg): to link ipc_tests, these files need to be in renderer.a. |
| # But app/ is the wrong directory for them. |
| # Better is to remove the dep of *_tests on renderer, but in the |
| # short term I'd like the build to work. |
| 'renderer/automation/dom_automation_controller.cc', |
| 'renderer/automation/dom_automation_controller.h', |
| 'renderer/extensions/bindings_utils.cc', |
| 'renderer/extensions/bindings_utils.h', |
| 'renderer/extensions/event_bindings.cc', |
| 'renderer/extensions/event_bindings.h', |
| 'renderer/extensions/extension_process_bindings.cc', |
| 'renderer/extensions/extension_process_bindings.h', |
| 'renderer/extensions/js_only_v8_extensions.cc', |
| 'renderer/extensions/js_only_v8_extensions.h', |
| 'renderer/extensions/renderer_extension_bindings.cc', |
| 'renderer/extensions/renderer_extension_bindings.h', |
| 'renderer/loadtimes_extension_bindings.h', |
| 'renderer/loadtimes_extension_bindings.cc', |
| 'renderer/media/audio_renderer_impl.cc', |
| 'renderer/media/audio_renderer_impl.h', |
| 'renderer/net/render_dns_master.cc', |
| 'renderer/net/render_dns_master.h', |
| 'renderer/net/render_dns_queue.cc', |
| 'renderer/net/render_dns_queue.h', |
| 'renderer/resources/event_bindings.js', |
| 'renderer/resources/extension_apitest.js', |
| 'renderer/resources/extension_process_bindings.js', |
| 'renderer/resources/greasemonkey_api.js', |
| 'renderer/resources/json_schema.js', |
| 'renderer/resources/renderer_extension_bindings.js', |
| 'renderer/about_handler.cc', |
| 'renderer/about_handler.h', |
| 'renderer/audio_message_filter.cc', |
| 'renderer/audio_message_filter.h', |
| 'renderer/devtools_agent.cc', |
| 'renderer/devtools_agent.h', |
| 'renderer/devtools_agent_filter.cc', |
| 'renderer/devtools_agent_filter.h', |
| 'renderer/devtools_client.cc', |
| 'renderer/devtools_client.h', |
| 'renderer/dom_ui_bindings.cc', |
| 'renderer/dom_ui_bindings.h', |
| 'renderer/extension_groups.h', |
| 'renderer/external_host_bindings.cc', |
| 'renderer/external_host_bindings.h', |
| 'renderer/external_extension.cc', |
| 'renderer/external_extension.h', |
| 'renderer/localized_error.cc', |
| 'renderer/localized_error.h', |
| 'renderer/navigation_state.h', |
| 'renderer/notification_provider.cc', |
| 'renderer/notification_provider.h', |
| 'renderer/plugin_channel_host.cc', |
| 'renderer/plugin_channel_host.h', |
| 'renderer/print_web_view_helper.cc', |
| 'renderer/print_web_view_helper.h', |
| 'renderer/print_web_view_helper_linux.cc', |
| 'renderer/print_web_view_helper_mac.mm', |
| 'renderer/print_web_view_helper_win.cc', |
| 'renderer/render_process.cc', |
| 'renderer/render_process.h', |
| 'renderer/render_thread.cc', |
| 'renderer/render_thread.h', |
| 'renderer/render_view.cc', |
| 'renderer/render_view_linux.cc', |
| 'renderer/render_view.h', |
| 'renderer/render_widget.cc', |
| 'renderer/render_widget.h', |
| 'renderer/renderer_glue.cc', |
| 'renderer/renderer_histogram_snapshots.cc', |
| 'renderer/renderer_histogram_snapshots.h', |
| 'renderer/renderer_main.cc', |
| 'renderer/renderer_main_platform_delegate.h', |
| 'renderer/renderer_main_platform_delegate_linux.cc', |
| 'renderer/renderer_main_platform_delegate_mac.mm', |
| 'renderer/renderer_main_platform_delegate_win.cc', |
| 'renderer/renderer_sandbox_support_linux.cc', |
| 'renderer/renderer_sandbox_support_linux.h', |
| 'renderer/renderer_webkitclient_impl.cc', |
| 'renderer/renderer_webkitclient_impl.h', |
| 'renderer/renderer_webstoragearea_impl.cc', |
| 'renderer/renderer_webstoragearea_impl.h', |
| 'renderer/renderer_webstoragenamespace_impl.cc', |
| 'renderer/renderer_webstoragenamespace_impl.h', |
| 'renderer/renderer_web_database_observer.cc', |
| 'renderer/renderer_web_database_observer.h', |
| 'renderer/socket_stream_dispatcher.cc', |
| 'renderer/socket_stream_dispatcher.h', |
| 'renderer/user_script_idle_scheduler.cc', |
| 'renderer/user_script_idle_scheduler.h', |
| 'renderer/user_script_slave.cc', |
| 'renderer/user_script_slave.h', |
| 'renderer/visitedlink_slave.cc', |
| 'renderer/visitedlink_slave.h', |
| 'renderer/webplugin_delegate_proxy.cc', |
| 'renderer/webplugin_delegate_proxy.h', |
| 'renderer/webplugin_delegate_pepper.cc', |
| 'renderer/webplugin_delegate_pepper.h', |
| 'renderer/websharedworker_impl.cc', |
| 'renderer/websharedworker_impl.h', |
| 'renderer/websharedworkerrepository_impl.cc', |
| 'renderer/websharedworkerrepository_impl.h', |
| 'renderer/webworker_base.cc', |
| 'renderer/webworker_base.h', |
| 'renderer/webworker_proxy.cc', |
| 'renderer/webworker_proxy.h', |
| ], |
| 'link_settings': { |
| 'mac_bundle_resources': [ |
| 'renderer/renderer.sb', |
| ], |
| }, |
| 'conditions': [ |
| ['disable_nacl!=1', { |
| 'dependencies': [ |
| 'nacl', |
| ], |
| }], |
| # Linux-specific rules. |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| '../sandbox/sandbox.gyp:sandbox', |
| ], |
| }], |
| # Windows-specific rules. |
| ['OS=="win"', { |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| 'export_dependent_settings': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| },], |
| ], |
| }, |
| { |
| 'target_name': 'utility', |
| 'type': '<(library)', |
| 'msvs_guid': '4D2B38E6-65FF-4F97-B88A-E441DF54EBF7', |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| '../skia/skia.gyp:skia', |
| ], |
| 'sources': [ |
| 'utility/utility_main.cc', |
| 'utility/utility_thread.cc', |
| 'utility/utility_thread.h', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'profile_import', |
| 'type': '<(library)', |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| ], |
| 'sources': [ |
| 'profile_import/profile_import_main.cc', |
| 'profile_import/profile_import_thread.cc', |
| 'profile_import/profile_import_thread.h', |
| ], |
| }, |
| { |
| 'target_name': 'worker', |
| 'type': '<(library)', |
| 'msvs_guid': 'C78D02D0-A366-4EC6-A248-AA8E64C4BA18', |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| '../webkit/api/WebKit.gyp:webkit', |
| ], |
| 'sources': [ |
| 'worker/nativewebworker_impl.cc', |
| 'worker/nativewebworker_impl.h', |
| 'worker/nativewebworker_stub.cc', |
| 'worker/nativewebworker_stub.h', |
| 'worker/webworkerclient_proxy.cc', |
| 'worker/webworkerclient_proxy.h', |
| 'worker/worker_main.cc', |
| 'worker/worker_thread.cc', |
| 'worker/worker_thread.h', |
| 'worker/worker_webkitclient_impl.cc', |
| 'worker/worker_webkitclient_impl.h', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| }, |
| { |
| 'target_name': 'chrome', |
| 'type': 'executable', |
| 'mac_bundle': 1, |
| 'msvs_guid': '7B219FAA-E360-43C8-B341-804A94EEFFAC', |
| 'sources': [ |
| # All .cc, .h, .m, and .mm files under app except for tests. |
| 'app/breakpad_win.cc', |
| 'app/breakpad_win.h', |
| 'app/chrome_exe_main.cc', |
| 'app/chrome_exe_main.mm', |
| 'app/chrome_exe_main_gtk.cc', |
| 'app/chrome_exe_resource.h', |
| 'app/client_util.cc', |
| 'app/client_util.h', |
| 'app/hard_error_handler_win.cc', |
| 'app/hard_error_handler_win.h', |
| 'app/scoped_ole_initializer.h', |
| ], |
| 'mac_bundle_resources': [ |
| 'app/app-Info.plist', |
| ], |
| # TODO(mark): Come up with a fancier way to do this. It should only |
| # be necessary to list app-Info.plist once, not the three times it is |
| # listed here. |
| 'mac_bundle_resources!': [ |
| 'app/app-Info.plist', |
| ], |
| 'xcode_settings': { |
| 'INFOPLIST_FILE': 'app/app-Info.plist', |
| }, |
| 'conditions': [ |
| ['chrome_frame_define==1 and OS=="win"', { |
| 'dependencies': [ |
| '../chrome_frame/chrome_frame.gyp:npchrome_tab', |
| ], |
| }], |
| ['OS=="linux" or OS=="freebsd"', { |
| 'actions': [ |
| { |
| 'action_name': 'manpage', |
| 'conditions': [ |
| [ 'branding == "Chrome"', { |
| 'variables': { |
| 'name': 'Google Chrome', |
| 'filename': 'google-chrome', |
| 'confdir': 'google-chrome', |
| }, |
| }, { # else branding!="Chrome" |
| 'variables': { |
| 'name': 'Chromium', |
| 'filename': 'chromium-browser', |
| 'confdir': 'chromium', |
| }, |
| }], |
| ], |
| 'inputs': [ |
| 'tools/build/linux/sed.sh', |
| 'app/resources/manpage.1.in', |
| ], |
| 'outputs': [ |
| '<(PRODUCT_DIR)/<(filename).1', |
| ], |
| 'action': [ |
| 'tools/build/linux/sed.sh', |
| 'app/resources/manpage.1.in', |
| '<@(_outputs)', |
| '-e', 's/@@NAME@@/<(name)/', |
| '-e', 's/@@FILENAME@@/<(filename)/', |
| '-e', 's/@@CONFDIR@@/<(confdir)/', |
| ], |
| 'message': 'Generating manpage' |
| }, |
| ], |
| 'dependencies': [ |
| # On Linux, link the dependencies (libraries) that make up actual |
| # Chromium functionality directly into the executable. |
| '<@(chromium_dependencies)', |
| # Needed for chrome_dll_main.cc #include of gtk/gtk.h |
| '../build/linux/system.gyp:gtk', |
| ], |
| 'sources': [ |
| 'app/chrome_dll_main.cc', |
| 'app/chrome_dll_resource.h', |
| ], |
| 'copies': [ |
| { |
| 'destination': '<(PRODUCT_DIR)', |
| 'files': ['<(INTERMEDIATE_DIR)/repack/chrome.pak', |
| 'tools/build/linux/chrome-wrapper', |
| '../third_party/xdg-utils/scripts/xdg-settings', |
| ], |
| # The wrapper script above may need to generate a .desktop file, |
| # which requires an icon. So, copy one next to the script. |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| 'files': ['app/theme/google_chrome/product_logo_48.png'] |
| }, { # else: 'branding!="Chrome" |
| 'files': ['app/theme/chromium/product_logo_48.png'] |
| }], |
| ], |
| }, |
| { |
| 'destination': '<(PRODUCT_DIR)/locales', |
| 'files': [ |
| '>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))', |
| ], |
| }, |
| ], |
| }], |
| ['OS=="linux" and (toolkit_views==1 or chromeos==1)', { |
| 'dependencies': [ |
| '../views/views.gyp:views', |
| ], |
| }], |
| ['OS=="mac"', { |
| 'variables': { |
| 'mac_packaging_dir': |
| '<(PRODUCT_DIR)/<(mac_product_name) Packaging', |
| # <(PRODUCT_DIR) expands to $(BUILT_PRODUCTS_DIR), which doesn't |
| # work properly in a shell script, where ${BUILT_PRODUCTS_DIR} is |
| # needed. |
| 'mac_packaging_sh_dir': |
| '${BUILT_PRODUCTS_DIR}/<(mac_product_name) Packaging', |
| }, |
| # 'branding' is a variable defined in common.gypi |
| # (e.g. "Chromium", "Chrome") |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| 'mac_bundle_resources': [ |
| 'app/theme/google_chrome/app.icns', |
| 'app/theme/google_chrome/document.icns', |
| ], |
| }, { # else: 'branding!="Chrome" |
| 'mac_bundle_resources': [ |
| 'app/theme/chromium/app.icns', |
| 'app/theme/chromium/document.icns', |
| ], |
| }], |
| ['mac_breakpad==1', { |
| 'variables': { |
| # A real .dSYM is needed for dump_syms to operate on. |
| 'mac_real_dsym': 1, |
| }, |
| 'dependencies': [ |
| '../breakpad/breakpad.gyp:dump_syms', |
| '../breakpad/breakpad.gyp:symupload', |
| ], |
| # The "Dump Symbols" post-build step is in a target_conditions |
| # block so that it will follow the "Strip If Needed" step if that |
| # is also being used. There is no standard configuration where |
| # both of these steps occur together, but Mark likes to use this |
| # configuraiton sometimes when testing Breakpad-enabled builds |
| # without the time overhead of creating real .dSYM files. When |
| # both "Dump Symbols" and "Strip If Needed" are present, "Dump |
| # Symbols" must come second because "Strip If Needed" creates |
| # a fake .dSYM that dump_syms needs to fake dump. Since |
| # "Strip If Needed" is added in a target_conditions block in |
| # common.gypi, "Dump Symbols" needs to be in an (always true) |
| # target_conditions block. |
| 'target_conditions': [ |
| ['1 == 1', { |
| 'postbuilds': [ |
| { |
| 'postbuild_name': 'Dump Symbols', |
| 'variables': { |
| 'dump_product_syms_path': |
| 'tools/build/mac/dump_product_syms', |
| }, |
| 'action': ['<(dump_product_syms_path)', |
| '<(branding)'], |
| }, |
| ], |
| }], |
| ], |
| }], # mac_breakpad |
| ['mac_keystone==1', { |
| 'copies': [ |
| { |
| # Put keystone_install.sh where the packaging system will |
| # find it. The packager will copy this script to the |
| # correct location on the disk image. |
| 'destination': '<(mac_packaging_dir)', |
| 'files': [ |
| 'tools/build/mac/keystone_install.sh', |
| ], |
| }, |
| ], |
| }], # mac_keystone |
| ['buildtype=="Official"', { |
| 'actions': [ |
| { |
| # Create sign.sh, the script that the packaging system will |
| # use to sign the .app bundle. |
| 'action_name': 'Make sign.sh', |
| 'variables': { |
| 'make_sign_sh_path': 'tools/build/mac/make_sign_sh', |
| 'sign_sh_in_path': 'tools/build/mac/sign.sh.in', |
| 'app_resource_rules_in_path': |
| 'tools/build/mac/app_resource_rules.plist.in', |
| }, |
| 'inputs': [ |
| '<(make_sign_sh_path)', |
| '<(sign_sh_in_path)', |
| '<(app_resource_rules_in_path)', |
| '<(version_path)', |
| ], |
| 'outputs': [ |
| '<(mac_packaging_dir)/sign.sh', |
| '<(mac_packaging_dir)/app_resource_rules.plist', |
| ], |
| 'action': [ |
| '<(make_sign_sh_path)', |
| '<(mac_packaging_sh_dir)', |
| '<(mac_product_name)', |
| '<(version_full)', |
| ], |
| }, |
| ], |
| }], # buildtype=="Official" |
| ], |
| 'product_name': '<(mac_product_name)', |
| 'xcode_settings': { |
| # chrome/app/app-Info.plist has: |
| # CFBundleIdentifier of CHROMIUM_BUNDLE_ID |
| # CFBundleName of CHROMIUM_SHORT_NAME |
| # CFBundleSignature of CHROMIUM_CREATOR |
| # Xcode then replaces these values with the branded values we set |
| # as settings on the target. |
| 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| 'CHROMIUM_CREATOR': '<(mac_creator)', |
| 'CHROMIUM_SHORT_NAME': '<(branding)', |
| }, |
| 'dependencies': [ |
| 'helper_app', |
| 'infoplist_strings_tool', |
| # This library provides the real implementation for NaClSyscallSeg |
| '../native_client/src/trusted/service_runtime/arch/x86_32/service_runtime_x86_32.gyp:service_runtime_x86_32_chrome' |
| ], |
| 'actions': [ |
| { |
| # Generate the InfoPlist.strings file |
| 'action_name': 'Generating InfoPlist.strings files', |
| 'variables': { |
| 'tool_path': '<(PRODUCT_DIR)/infoplist_strings_tool', |
| # Unique dir to write to so the [lang].lproj/InfoPlist.strings |
| # for the main app and the helper app don't name collide. |
| 'output_path': '<(INTERMEDIATE_DIR)/app_infoplist_strings', |
| }, |
| 'conditions': [ |
| [ 'branding == "Chrome"', { |
| 'variables': { |
| 'branding_name': 'google_chrome_strings', |
| }, |
| }, { # else branding!="Chrome" |
| 'variables': { |
| 'branding_name': 'chromium_strings', |
| }, |
| }], |
| ], |
| 'inputs': [ |
| '<(tool_path)', |
| '<(version_path)', |
| # TODO: remove this helper when we have loops in GYP |
| '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/<(branding_name)_ZZLOCALE.pak\' <(locales))', |
| ], |
| 'outputs': [ |
| # TODO: remove this helper when we have loops in GYP |
| '>!@(<(apply_locales_cmd) -d \'<(output_path)/ZZLOCALE.lproj/InfoPlist.strings\' <(locales))', |
| ], |
| 'action': [ |
| '<(tool_path)', |
| '-b', '<(branding_name)', |
| '-v', '<(version_path)', |
| '-g', '<(grit_out_dir)', |
| '-o', '<(output_path)', |
| '-t', 'main', |
| '<@(locales)', |
| ], |
| 'message': 'Generating the language InfoPlist.strings files', |
| 'process_outputs_as_mac_bundle_resources': 1, |
| }, |
| ], |
| 'copies': [ |
| { |
| 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Contents/Versions/<(version_full)', |
| 'files': [ |
| '<(PRODUCT_DIR)/<(mac_product_name) Helper.app', |
| ], |
| }, |
| ], |
| 'postbuilds': [ |
| { |
| 'postbuild_name': 'Copy <(mac_product_name) Framework.framework', |
| 'action': [ |
| 'tools/build/mac/copy_framework_unversioned', |
| '${BUILT_PRODUCTS_DIR}/<(mac_product_name) Framework.framework', |
| '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Versions/<(version_full)', |
| ], |
| }, |
| { |
| # Modify the Info.plist as needed. The script explains why this |
| # is needed. This is also done in the helper_app and chrome_dll |
| # targets. Use -b0 and -k0 to not include any Breakpad or |
| # Keystone information; that all goes into the framework's |
| # Info.plist. Use -s1 to include Subversion information. |
| 'postbuild_name': 'Tweak Info.plist', |
| 'action': ['<(tweak_info_plist_path)', |
| '-b0', |
| '-k0', |
| '-s1', |
| '<(branding)', |
| '<(mac_bundle_id)'], |
| }, |
| { |
| 'postbuild_name': 'Make .lproj links', |
| 'action': ['<(symlink_lprojs_path)'], |
| }, |
| { |
| 'postbuild_name': 'Clean up old versions', |
| 'action': [ |
| 'tools/build/mac/clean_up_old_versions', |
| '<(version_full)' |
| ], |
| }, |
| { |
| # TODO(tony): Remove this after Nov 13, 2009. |
| 'postbuild_name': 'cleanup_theme_pak', |
| 'action': [ |
| 'rm', '-f', |
| '${BUILT_PRODUCTS_DIR}/<(mac_product_name).app/Contents/' |
| 'Versions/<(version_full)/' |
| '<(mac_product_name) Framework.framework/Resources/theme.pak' |
| ], |
| }, |
| ], # postbuilds |
| }, { # else: OS != "mac" |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| 'product_name': 'chrome' |
| }, { # else: Branding!="Chrome" |
| # TODO: change to: |
| # 'product_name': 'chromium' |
| # whenever we convert the rest of the infrastructure |
| # (buildbots etc.) to use "gyp -Dbranding=Chrome". |
| # NOTE: chrome/app/theme/chromium/BRANDING and |
| # chrome/app/theme/google_chrome/BRANDING have the short names, |
| # etc.; should we try to extract from there instead? |
| 'product_name': 'chrome' |
| }], |
| ], |
| }], |
| ['OS=="linux"', { |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| 'dependencies': [ |
| 'installer/installer.gyp:installer_util', |
| ], |
| }], |
| ['selinux==0', { |
| 'dependencies': [ |
| '../sandbox/sandbox.gyp:sandbox', |
| ], |
| }], |
| ], |
| }], |
| ['OS=="mac" or OS=="win"', { |
| 'dependencies': [ |
| # On Windows and Mac, make sure we've built chrome_dll, which |
| # contains all of the library code with Chromium functionality. |
| 'chrome_dll', |
| ], |
| }], |
| ['OS=="win"', { |
| 'dependencies': [ |
| 'installer/installer.gyp:installer_util', |
| 'installer/installer.gyp:installer_util_strings', |
| '../breakpad/breakpad.gyp:breakpad_handler', |
| '../breakpad/breakpad.gyp:breakpad_sender', |
| '../sandbox/sandbox.gyp:sandbox', |
| 'app/locales/locales.gyp:*', |
| ], |
| 'sources': [ |
| 'app/chrome_exe.rc', |
| 'app/chrome_exe_version.rc.version', |
| ], |
| 'include_dirs': [ |
| '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| ], |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'DelayLoadDLLs': [ |
| 'dbghelp.dll', |
| 'dwmapi.dll', |
| 'uxtheme.dll', |
| 'ole32.dll', |
| 'oleaut32.dll', |
| ], |
| 'ImportLibrary': '$(OutDir)\\lib\\chrome_exe.lib', |
| 'ProgramDatabaseFile': '$(OutDir)\\chrome_exe.pdb', |
| # Set /SUBSYSTEM:WINDOWS for chrome.exe itself. |
| 'SubSystem': '2', |
| }, |
| 'VCManifestTool': { |
| 'AdditionalManifestFiles': '$(ProjectDir)\\app\\chrome.exe.manifest', |
| }, |
| }, |
| 'actions': [ |
| { |
| 'action_name': 'version', |
| 'variables': { |
| 'template_input_path': 'app/chrome_exe_version.rc.version', |
| }, |
| 'conditions': [ |
| [ 'branding == "Chrome"', { |
| 'variables': { |
| 'branding_path': 'app/theme/google_chrome/BRANDING', |
| }, |
| }, { # else branding!="Chrome" |
| 'variables': { |
| 'branding_path': 'app/theme/chromium/BRANDING', |
| }, |
| }], |
| ], |
| 'inputs': [ |
| '<(template_input_path)', |
| '<(version_path)', |
| '<(branding_path)', |
| ], |
| 'outputs': [ |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/chrome_exe_version.rc', |
| ], |
| 'action': [ |
| 'python', |
| '<(version_py_path)', |
| '-f', '<(version_path)', |
| '-f', '<(branding_path)', |
| '<(template_input_path)', |
| '<@(_outputs)', |
| ], |
| 'process_outputs_as_sources': 1, |
| 'message': 'Generating version information in <(_outputs)' |
| }, |
| { |
| 'action_name': 'first_run', |
| 'inputs': [ |
| 'app/FirstRun', |
| ], |
| 'outputs': [ |
| '<(PRODUCT_DIR)/First Run', |
| ], |
| 'action': ['cp', '-f', '<@(_inputs)', '<@(_outputs)'], |
| 'message': 'Copy first run complete sentinel file', |
| }, |
| ], |
| }, { # 'OS!="win" |
| 'sources!': [ |
| 'app/chrome_exe_main.cc', |
| 'app/client_util.cc', |
| ] |
| }], |
| ['OS=="linux" or OS=="freebsd"', { |
| 'variables': { |
| 'repack_path': '../tools/data_pack/repack.py', |
| }, |
| 'actions': [ |
| # TODO(mark): These actions are duplicated for the Mac in the |
| # chrome_dll target. Can they be unified? |
| { |
| 'action_name': 'repack_chrome', |
| 'variables': { |
| 'pak_inputs': [ |
| '<(grit_out_dir)/browser_resources.pak', |
| '<(grit_out_dir)/common_resources.pak', |
| '<(grit_out_dir)/renderer_resources.pak', |
| '<(grit_out_dir)/theme_resources.pak', |
| '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.pak', |
| '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
| '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak', |
| ], |
| }, |
| 'inputs': [ |
| '<(repack_path)', |
| '<@(pak_inputs)', |
| ], |
| 'outputs': [ |
| '<(INTERMEDIATE_DIR)/repack/chrome.pak', |
| ], |
| 'action': ['python', '<(repack_path)', '<@(_outputs)', |
| '<@(pak_inputs)'], |
| }, |
| { |
| 'action_name': 'repack_locales', |
| 'variables': { |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| 'branding_flag': ['-b', 'google_chrome',], |
| }, { # else: branding!="Chrome" |
| 'branding_flag': ['-b', 'chromium',], |
| }], |
| ], |
| }, |
| 'inputs': [ |
| 'tools/build/repack_locales.py', |
| # NOTE: Ideally the common command args would be shared amongst |
| # inputs/outputs/action, but the args include shell variables |
| # which need to be passed intact, and command expansion wants |
| # to expand the shell variables. Adding the explicit quoting |
| # here was the only way it seemed to work. |
| '>!@(<(repack_locales_cmd) -i <(branding_flag) -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))', |
| ], |
| 'outputs': [ |
| '>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))', |
| ], |
| 'action': [ |
| '<@(repack_locales_cmd)', |
| '<@(branding_flag)', |
| '-g', '<(grit_out_dir)', |
| '-s', '<(SHARED_INTERMEDIATE_DIR)', |
| '-x', '<(INTERMEDIATE_DIR)', |
| '<@(locales)', |
| ], |
| }, |
| ], |
| }], |
| ], |
| }, |
| { |
| # This target contains mocks and test utilities that don't belong in |
| # production libraries but are used by more than one test executable. |
| 'target_name': 'test_support_common', |
| 'type': '<(library)', |
| 'dependencies': [ |
| 'browser', |
| 'common', |
| 'renderer', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'theme_resources', |
| '../base/base.gyp:test_support_base', |
| '../skia/skia.gyp:skia', |
| '../testing/gmock.gyp:gmock', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'export_dependent_settings': [ |
| 'renderer', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| # The only thing used from browser is Browser::Type. |
| 'browser/browser.h', |
| # TODO: these should live here but are currently used by |
| # production code code in libbrowser (above). |
| #'browser/net/url_request_mock_http_job.cc', |
| #'browser/net/url_request_mock_http_job.h', |
| 'browser/net/url_request_mock_net_error_job.cc', |
| 'browser/net/url_request_mock_net_error_job.h', |
| 'browser/renderer_host/mock_render_process_host.cc', |
| 'browser/renderer_host/mock_render_process_host.h', |
| 'browser/renderer_host/test/test_render_view_host.cc', |
| 'browser/renderer_host/test/test_render_view_host.h', |
| 'browser/tab_contents/test_tab_contents.cc', |
| 'browser/tab_contents/test_tab_contents.h', |
| 'common/ipc_test_sink.cc', |
| 'common/ipc_test_sink.h', |
| 'renderer/mock_keyboard.cc', |
| 'renderer/mock_keyboard.h', |
| 'renderer/mock_keyboard_driver_win.cc', |
| 'renderer/mock_keyboard_driver_win.h', |
| 'renderer/mock_printer.cc', |
| 'renderer/mock_printer.h', |
| 'renderer/mock_render_process.h', |
| 'renderer/mock_render_thread.cc', |
| 'renderer/mock_render_thread.h', |
| 'test/automation/autocomplete_edit_proxy.cc', |
| 'test/automation/autocomplete_edit_proxy.h', |
| 'test/automation/automation_constants.h', |
| 'test/automation/automation_handle_tracker.cc', |
| 'test/automation/automation_handle_tracker.h', |
| 'test/automation/automation_proxy.cc', |
| 'test/automation/automation_proxy.h', |
| 'test/automation/browser_proxy.cc', |
| 'test/automation/browser_proxy.h', |
| 'test/automation/tab_proxy.cc', |
| 'test/automation/tab_proxy.h', |
| 'test/automation/window_proxy.cc', |
| 'test/automation/window_proxy.h', |
| 'test/chrome_process_util.cc', |
| 'test/chrome_process_util.h', |
| 'test/chrome_process_util_linux.cc', |
| 'test/chrome_process_util_mac.cc', |
| 'test/chrome_process_util_win.cc', |
| 'test/perf/mem_usage_linux.cc', |
| 'test/perf/mem_usage_mac.cc', |
| 'test/perf/mem_usage_win.cc', |
| 'test/perf/mem_usage.h', |
| 'test/test_browser_window.h', |
| 'test/testing_profile.cc', |
| 'test/testing_profile.h', |
| 'test/ui_test_utils.cc', |
| 'test/ui_test_utils.h', |
| 'test/ui_test_utils_linux.cc', |
| 'test/ui_test_utils_mac.cc', |
| 'test/ui_test_utils_win.cc', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| ], |
| }], |
| ['OS=="win"', { |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'test_support_ui', |
| 'type': '<(library)', |
| 'dependencies': [ |
| 'test_support_common', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'theme_resources', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'export_dependent_settings': [ |
| 'test_support_common', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/automated_ui_tests/automated_ui_test_base.cc', |
| 'test/automated_ui_tests/automated_ui_test_base.h', |
| 'test/testing_browser_process.h', |
| 'test/ui/javascript_test_util.cc', |
| 'test/ui/npapi_test_helper.cc', |
| 'test/ui/npapi_test_helper.h', |
| 'test/ui/run_all_unittests.cc', |
| 'test/ui/ui_layout_test.cc', |
| 'test/ui/ui_layout_test.h', |
| 'test/ui/ui_test.cc', |
| 'test/ui/ui_test.h', |
| 'test/ui/ui_test_suite.cc', |
| 'test/ui/ui_test_suite.h', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| ], |
| }], |
| ['OS!="win"', { |
| 'sources!': [ |
| 'test/ui/npapi_test_helper.cc', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'test_support_unit', |
| 'type': '<(library)', |
| 'dependencies': [ |
| 'test_support_common', |
| 'chrome_resources', |
| 'chrome_strings', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/unit/run_all_unittests.cc', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| # Needed for the following #include chain: |
| # test/unit/run_all_unittests.cc |
| # test/unit/chrome_test_suite.h |
| # gtk/gtk.h |
| '../build/linux/system.gyp:gtk', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'automated_ui_tests', |
| 'type': 'executable', |
| 'msvs_guid': 'D2250C20-3A94-4FB9-AF73-11BC5B73884B', |
| 'dependencies': [ |
| 'browser', |
| 'renderer', |
| 'test_support_common', |
| 'test_support_ui', |
| 'theme_resources', |
| '../base/base.gyp:base', |
| '../skia/skia.gyp:skia', |
| '../third_party/libxml/libxml.gyp:libxml', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/automated_ui_tests/automated_ui_test_interactive_test.cc', |
| 'test/automated_ui_tests/automated_ui_tests.cc', |
| 'test/automated_ui_tests/automated_ui_tests.h', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| ], |
| }], |
| ['OS=="win"', { |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'ui_tests', |
| 'type': 'executable', |
| 'msvs_guid': '76235B67-1C27-4627-8A33-4B2E1EF93EDE', |
| 'dependencies': [ |
| 'chrome', |
| 'browser', |
| 'debugger', |
| 'common', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'syncapi', |
| 'test_support_ui', |
| '../base/base.gyp:base', |
| '../net/net.gyp:net', |
| '../build/temp_gyp/googleurl.gyp:googleurl', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| '../third_party/libxml/libxml.gyp:libxml', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'app/chrome_main_uitest.cc', |
| 'browser/browser_encoding_uitest.cc', |
| 'browser/browser_uitest.cc', |
| 'browser/dom_ui/new_tab_ui_uitest.cc', |
| 'browser/download/download_uitest.cc', |
| 'browser/download/save_page_uitest.cc', |
| 'browser/errorpage_uitest.cc', |
| 'browser/extensions/extension_uitest.cc', |
| 'browser/history/redirect_uitest.cc', |
| 'browser/iframe_uitest.cc', |
| 'browser/images_uitest.cc', |
| 'browser/in_process_webkit/dom_storage_uitest.cc', |
| 'browser/locale_tests_uitest.cc', |
| 'browser/login_prompt_uitest.cc', |
| 'browser/media_uitest.cc', |
| 'browser/metrics/metrics_service_uitest.cc', |
| 'browser/printing/printing_layout_uitest.cc', |
| 'browser/process_singleton_linux_uitest.cc', |
| 'browser/renderer_host/resource_dispatcher_host_uitest.cc', |
| 'browser/sanity_uitest.cc', |
| 'browser/session_history_uitest.cc', |
| 'browser/sessions/session_restore_uitest.cc', |
| 'browser/tab_contents/view_source_uitest.cc', |
| 'browser/tab_restore_uitest.cc', |
| 'browser/unload_uitest.cc', |
| 'browser/views/find_bar_host_uitest.cc', |
| 'common/logging_chrome_uitest.cc', |
| 'common/pref_service_uitest.cc', |
| 'test/automation/automation_proxy_uitest.cc', |
| 'test/automated_ui_tests/automated_ui_test_test.cc', |
| 'test/chrome_process_util_uitest.cc', |
| 'test/ui/dom_checker_uitest.cc', |
| 'test/ui/dromaeo_benchmark_uitest.cc', |
| 'test/ui/fast_shutdown_uitest.cc', |
| 'test/ui/history_uitest.cc', |
| 'test/ui/layout_plugin_uitest.cc', |
| 'test/ui/mouseleave_uitest.cc', |
| 'test/ui/npapi_uitest.cc', |
| 'test/ui/omnibox_uitest.cc', |
| 'test/ui/sandbox_uitests.cc', |
| 'test/ui/sunspider_uitest.cc', |
| 'test/ui/v8_benchmark_uitest.cc', |
| 'worker/worker_uitest.cc', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| ], |
| 'sources!': [ |
| # TODO(port) |
| 'browser/login_prompt_uitest.cc', |
| 'test/ui/layout_plugin_uitest.cc', |
| ], |
| }, { # else: OS != "linux" |
| 'sources!': [ |
| 'browser/process_singleton_linux_uitest.cc', |
| ], |
| }], |
| ['OS=="linux" and toolkit_views==1', { |
| 'dependencies': [ |
| '../views/views.gyp:views', |
| ], |
| }], |
| ['OS=="mac"', { |
| 'sources': [ |
| 'app/keystone_glue.h', |
| 'app/keystone_glue.mm', |
| 'app/breakpad_mac_stubs.mm', |
| ], |
| 'sources!': [ |
| # TODO(port) |
| 'app/chrome_main_uitest.cc', |
| 'browser/login_prompt_uitest.cc', |
| 'browser/metrics/metrics_service_uitest.cc', |
| # leaves an extra window on screen after test completes. |
| 'browser/sessions/session_restore_uitest.cc', |
| # puts up modal dialogs. |
| 'browser/unload_uitest.cc', |
| 'test/ui/fast_shutdown_uitest.cc', |
| 'test/ui/layout_plugin_uitest.cc', |
| 'test/ui/omnibox_uitest.cc', |
| ], |
| }], |
| ['OS=="win"', { |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| 'dependencies': [ |
| 'crash_service', # run time dependency |
| 'security_tests', # run time dependency |
| 'test_support_common', |
| '../google_update/google_update.gyp:google_update', |
| '../views/views.gyp:views', |
| # run time dependency |
| '../webkit/tools/test_shell/test_shell.gyp:npapi_test_plugin', |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| 'link_settings': { |
| 'libraries': [ |
| '-lOleAcc.lib', |
| ], |
| }, |
| 'configurations': { |
| 'Debug': { |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| }, |
| }, |
| }, |
| }, |
| }, { # else: OS != "win" |
| 'sources!': [ |
| # TODO(port)? (Most of these include windows.h or similar.) |
| 'browser/extensions/extension_uitest.cc', |
| 'browser/media_uitest.cc', |
| 'browser/printing/printing_layout_uitest.cc', |
| 'browser/views/find_bar_host_uitest.cc', |
| 'common/logging_chrome_uitest.cc', |
| 'test/ui/npapi_uitest.cc', |
| 'test/ui/sandbox_uitests.cc', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'nacl_ui_tests', |
| 'type': 'executable', |
| 'msvs_guid': '43E2004F-CD62-4595-A8A6-31E9BFA1EE5E', |
| 'dependencies': [ |
| 'chrome', |
| 'browser', |
| 'debugger', |
| 'common', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'syncapi', |
| 'test_support_ui', |
| '../base/base.gyp:base', |
| '../net/net.gyp:net', |
| '../build/temp_gyp/googleurl.gyp:googleurl', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| '../third_party/libxml/libxml.gyp:libxml', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/nacl/nacl_test.cc', |
| ], |
| 'conditions': [ |
| # TODO(gregoryd): This test will run on Windows only at first. |
| # Refer to ui_tests target above if any problems appear when trying |
| # to enable it on other platforms. |
| ['OS=="win"', { |
| 'dependencies': [ |
| 'crash_service', # run time dependency |
| 'security_tests', # run time dependency |
| 'test_support_common', |
| '../google_update/google_update.gyp:google_update', |
| '../views/views.gyp:views', |
| # run time dependency |
| '../webkit/tools/test_shell/test_shell.gyp:npapi_test_plugin', |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| 'link_settings': { |
| 'libraries': [ |
| '-lOleAcc.lib', |
| ], |
| }, |
| 'configurations': { |
| 'Debug': { |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| }, |
| }, |
| }, |
| }, |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'unit_tests', |
| 'type': 'executable', |
| 'msvs_guid': 'ECFC2BEC-9FC0-4AD9-9649-5F26793F65FC', |
| 'dependencies': [ |
| 'chrome', |
| 'browser', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'common', |
| 'debugger', |
| 'renderer', |
| 'syncapi', |
| 'test_support_unit', |
| 'utility', |
| '../app/app.gyp:app_base', |
| '../app/app.gyp:app_resources', |
| '../ipc/ipc.gyp:ipc', |
| '../net/net.gyp:net_resources', |
| '../net/net.gyp:net_test_support', |
| '../printing/printing.gyp:printing', |
| '../webkit/api/WebKit.gyp:webkit', |
| '../webkit/webkit.gyp:webkit_resources', |
| '../skia/skia.gyp:skia', |
| '../testing/gmock.gyp:gmock', |
| '../testing/gtest.gyp:gtest', |
| '../third_party/bzip2/bzip2.gyp:bzip2', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| '../third_party/libxml/libxml.gyp:libxml', |
| '../third_party/npapi/npapi.gyp:npapi', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'defines': [ |
| 'CLD_WINDOWS', |
| ], |
| 'direct_dependent_settings': { |
| 'defines': [ |
| 'CLD_WINDOWS', |
| ], |
| }, |
| 'sources': [ |
| 'app/breakpad_mac_stubs.mm', |
| # *NO* files in chrome/app have unit tests (except keystone_glue)!!! |
| # It seems a waste to have an app_unittests target, so for now |
| # I add keystone_glue.mm explicitly to this target. |
| 'app/keystone_glue.mm', |
| 'app/keystone_glue_unittest.mm', |
| # All unittests in browser, common, and renderer. |
| 'browser/app_controller_mac_unittest.mm', |
| 'browser/autocomplete/autocomplete_edit_view_mac_unittest.mm', |
| 'browser/autocomplete/autocomplete_unittest.cc', |
| 'browser/autocomplete/autocomplete_popup_view_mac_unittest.mm', |
| 'browser/autocomplete/history_contents_provider_unittest.cc', |
| 'browser/autocomplete/history_url_provider_unittest.cc', |
| 'browser/autocomplete/keyword_provider_unittest.cc', |
| 'browser/autocomplete/search_provider_unittest.cc', |
| 'browser/back_forward_menu_model_unittest.cc', |
| 'browser/blocked_popup_container_unittest.cc', |
| 'browser/bookmarks/bookmark_codec_unittest.cc', |
| 'browser/bookmarks/bookmark_drag_data_unittest.cc', |
| 'browser/bookmarks/bookmark_folder_tree_model_unittest.cc', |
| 'browser/bookmarks/bookmark_html_writer_unittest.cc', |
| 'browser/bookmarks/bookmark_index_unittest.cc', |
| 'browser/bookmarks/bookmark_model_test_utils.cc', |
| 'browser/bookmarks/bookmark_model_test_utils.h', |
| 'browser/bookmarks/bookmark_model_unittest.cc', |
| 'browser/bookmarks/bookmark_table_model_unittest.cc', |
| 'browser/bookmarks/bookmark_utils_unittest.cc', |
| 'browser/browser_commands_unittest.cc', |
| 'browser/browser_theme_provider_unittest.cc', |
| 'browser/browser_unittest.cc', |
| 'browser/chrome_application_mac_unittest.mm', |
| 'browser/debugger/devtools_remote_message_unittest.cc', |
| 'browser/debugger/devtools_remote_listen_socket_unittest.cc', |
| 'browser/debugger/devtools_remote_listen_socket_unittest.h', |
| 'browser/child_process_security_policy_unittest.cc', |
| 'browser/chrome_thread_unittest.cc', |
| 'browser/chromeos/external_cookie_handler_unittest.cc', |
| 'browser/chromeos/gview_request_interceptor_unittest.cc', |
| 'browser/chromeos/pipe_reader_unittest.cc', |
| 'browser/chromeos/version_loader_unittest.cc', |
| # It is safe to list */cocoa/* files in the "common" file list |
| # without an explicit exclusion since gyp is smart enough to |
| # exclude them from non-Mac builds. |
| 'browser/cocoa/about_ipc_controller_unittest.mm', |
| 'browser/cocoa/about_window_controller_unittest.mm', |
| 'browser/cocoa/animatable_view_unittest.mm', |
| 'browser/cocoa/autocomplete_text_field_cell_unittest.mm', |
| 'browser/cocoa/autocomplete_text_field_editor_unittest.mm', |
| 'browser/cocoa/autocomplete_text_field_unittest.mm', |
| 'browser/cocoa/autocomplete_text_field_unittest_helper.mm', |
| 'browser/cocoa/base_view_unittest.mm', |
| 'browser/cocoa/background_gradient_view_unittest.mm', |
| 'browser/cocoa/background_tile_view_unittest.mm', |
| 'browser/cocoa/blocked_popup_container_controller_unittest.mm', |
| 'browser/cocoa/bookmark_bar_bridge_unittest.mm', |
| 'browser/cocoa/bookmark_bar_controller_unittest.mm', |
| 'browser/cocoa/bookmark_bar_toolbar_view_unittest.mm', |
| 'browser/cocoa/bookmark_bar_view_unittest.mm', |
| 'browser/cocoa/bookmark_bubble_controller_unittest.mm', |
| 'browser/cocoa/bookmark_bubble_view_unittest.mm', |
| 'browser/cocoa/bookmark_bubble_window_unittest.mm', |
| 'browser/cocoa/bookmark_button_cell_unittest.mm', |
| 'browser/cocoa/bookmark_editor_controller_unittest.mm', |
| 'browser/cocoa/bookmark_menu_bridge_unittest.mm', |
| 'browser/cocoa/bookmark_menu_cocoa_controller_unittest.mm', |
| 'browser/cocoa/bookmark_name_folder_controller_unittest.mm', |
| 'browser/cocoa/bookmark_tree_browser_cell_unittest.mm', |
| 'browser/cocoa/browser_frame_view_unittest.mm', |
| 'browser/cocoa/browser_window_cocoa_unittest.mm', |
| 'browser/cocoa/browser_window_controller_unittest.mm', |
| 'browser/cocoa/bubble_view_unittest.mm', |
| 'browser/cocoa/bug_report_window_controller_unittest.mm', |
| 'browser/cocoa/chrome_browser_window_unittest.mm', |
| 'browser/cocoa/chrome_event_processing_window_unittest.mm', |
| 'browser/cocoa/clear_browsing_data_controller_unittest.mm', |
| 'browser/cocoa/clickhold_button_cell_unittest.mm', |
| 'browser/cocoa/cocoa_test_helper.h', |
| 'browser/cocoa/cocoa_test_helper.mm', |
| 'browser/cocoa/command_observer_bridge_unittest.mm', |
| 'browser/cocoa/custom_home_pages_model_unittest.mm', |
| 'browser/cocoa/delayedmenu_button_unittest.mm', |
| 'browser/cocoa/download_shelf_mac_unittest.mm', |
| 'browser/cocoa/download_shelf_view_unittest.mm', |
| 'browser/cocoa/download_util_mac_unittest.mm', |
| 'browser/cocoa/edit_search_engine_cocoa_controller_unittest.mm', |
| 'browser/cocoa/extension_shelf_controller_unittest.mm', |
| 'browser/cocoa/event_utils_unittest.mm', |
| 'browser/cocoa/find_bar_bridge_unittest.mm', |
| 'browser/cocoa/find_bar_cocoa_controller_unittest.mm', |
| 'browser/cocoa/find_bar_view_unittest.mm', |
| 'browser/cocoa/find_pasteboard_unittest.mm', |
| 'browser/cocoa/focus_tracker_unittest.mm', |
| 'browser/cocoa/fullscreen_window_unittest.mm', |
| 'browser/cocoa/html_dialog_window_controller_unittest.mm', |
| 'browser/cocoa/hung_renderer_controller_unittest.mm', |
| 'browser/cocoa/infobar_container_controller_unittest.mm', |
| 'browser/cocoa/infobar_controller_unittest.mm', |
| 'browser/cocoa/infobar_gradient_view_unittest.mm', |
| 'browser/cocoa/infobar_text_field_unittest.mm', |
| 'browser/cocoa/keyword_editor_cocoa_controller_unittest.mm', |
| 'browser/cocoa/location_bar_view_mac_unittest.mm', |
| 'browser/cocoa/gradient_button_cell_unittest.mm', |
| 'browser/cocoa/history_menu_bridge_unittest.mm', |
| 'browser/cocoa/history_menu_cocoa_controller_unittest.mm', |
| 'browser/cocoa/hyperlink_button_cell_unittest.mm', |
| 'browser/cocoa/menu_button_unittest.mm', |
| 'browser/cocoa/nsimage_cache_unittest.mm', |
| 'browser/cocoa/nsmenuitem_additions_unittest.mm', |
| 'browser/cocoa/nswindow_local_state_unittest.mm', |
| 'browser/cocoa/objc_method_swizzle_unittest.mm', |
| 'browser/cocoa/page_info_window_controller_unittest.mm', |
| 'browser/cocoa/preferences_window_controller_unittest.mm', |
| 'browser/cocoa/rwhvm_editcommand_helper_unittest.mm', |
| 'browser/cocoa/sad_tab_view_unittest.mm', |
| 'browser/cocoa/search_engine_list_model_unittest.mm', |
| 'browser/cocoa/status_bubble_mac_unittest.mm', |
| 'browser/cocoa/tab_controller_unittest.mm', |
| 'browser/cocoa/tab_strip_controller_unittest.mm', |
| 'browser/cocoa/tab_strip_view_unittest.mm', |
| 'browser/cocoa/tab_view_unittest.mm', |
| 'browser/cocoa/task_manager_mac_unittest.mm', |
| 'browser/cocoa/test_event_utils.h', |
| 'browser/cocoa/test_event_utils.mm', |
| 'browser/cocoa/throbber_view_unittest.mm', |
| 'browser/cocoa/toolbar_button_cell_unittest.mm', |
| 'browser/cocoa/toolbar_controller_unittest.mm', |
| 'browser/cocoa/toolbar_view_unittest.mm', |
| 'browser/cocoa/view_resizer_pong.h', |
| 'browser/cocoa/view_resizer_pong.mm', |
| 'browser/cocoa/web_drop_target_unittest.mm', |
| 'browser/command_updater_unittest.cc', |
| 'browser/debugger/devtools_manager_unittest.cc', |
| 'browser/dom_ui/dom_ui_theme_source_unittest.cc', |
| 'browser/dom_ui/dom_ui_unittest.cc', |
| 'browser/dom_ui/shown_sections_handler_unittest.cc', |
| 'browser/download/download_manager_unittest.cc', |
| 'browser/download/download_request_infobar_delegate_unittest.cc', |
| 'browser/download/download_request_manager_unittest.cc', |
| 'browser/download/save_package_unittest.cc', |
| 'browser/encoding_menu_controller_unittest.cc', |
| 'browser/extensions/convert_user_script_unittest.cc', |
| 'browser/extensions/extension_file_util_unittest.cc', |
| 'browser/extensions/extension_messages_unittest.cc', |
| 'browser/extensions/extension_process_manager_unittest.cc', |
| 'browser/extensions/extension_ui_unittest.cc', |
| 'browser/extensions/extension_updater_unittest.cc', |
| 'browser/extensions/extensions_service_unittest.cc', |
| 'browser/extensions/file_reader_unittest.cc', |
| 'browser/extensions/user_script_listener_unittest.cc', |
| 'browser/extensions/user_script_master_unittest.cc', |
| 'browser/find_backend_unittest.cc', |
| 'browser/global_keyboard_shortcuts_mac_unittest.cc', |
| 'browser/google_url_tracker_unittest.cc', |
| 'browser/google_update_settings_posix_unittest.cc', |
| 'browser/gtk/bookmark_bar_gtk_unittest.cc', |
| 'browser/gtk/bookmark_editor_gtk_unittest.cc', |
| 'browser/gtk/gtk_theme_provider_unittest.cc', |
| 'browser/gtk/go_button_gtk_unittest.cc', |
| 'browser/gtk/keyword_editor_view_unittest.cc', |
| 'browser/gtk/options/cookies_view_unittest.cc', |
| 'browser/gtk/options/languages_page_gtk_unittest.cc', |
| 'browser/gtk/tabs/tab_renderer_gtk_unittest.cc', |
| 'browser/history/expire_history_backend_unittest.cc', |
| 'browser/history/history_backend_unittest.cc', |
| 'browser/history/history_querying_unittest.cc', |
| 'browser/history/history_types_unittest.cc', |
| 'browser/history/history_unittest.cc', |
| 'browser/history/query_parser_unittest.cc', |
| 'browser/history/snippet_unittest.cc', |
| 'browser/history/starred_url_database_unittest.cc', |
| 'browser/history/text_database_manager_unittest.cc', |
| 'browser/history/text_database_unittest.cc', |
| 'browser/history/thumbnail_database_unittest.cc', |
| 'browser/history/top_sites_unittest.cc', |
| 'browser/thumbnail_store_unittest.cc', |
| 'browser/history/url_database_unittest.cc', |
| 'browser/history/visit_database_unittest.cc', |
| 'browser/history/visit_log_unittest.cc', |
| 'browser/history/visit_tracker_unittest.cc', |
| 'browser/importer/firefox_importer_unittest_messages_internal.h', |
| 'browser/importer/firefox_importer_unittest.cc', |
| 'browser/importer/firefox_importer_unittest_utils.h', |
| 'browser/importer/firefox_importer_unittest_utils_mac.cc', |
| 'browser/importer/importer_unittest.cc', |
| 'browser/importer/safari_importer_unittest.mm', |
| 'browser/importer/toolbar_importer_unittest.cc', |
| 'browser/importer/firefox_profile_lock_unittest.cc', |
| 'browser/in_process_webkit/dom_storage_dispatcher_host_unittest.cc', |
| 'browser/in_process_webkit/webkit_context_unittest.cc', |
| 'browser/in_process_webkit/webkit_thread_unittest.cc', |
| 'browser/keychain_mock_mac.cc', |
| 'browser/keychain_mock_mac.h', |
| 'browser/login_prompt_unittest.cc', |
| 'browser/meta_table_helper_unittest.cc', |
| 'browser/metrics/metrics_log_unittest.cc', |
| 'browser/metrics/metrics_response_unittest.cc', |
| 'browser/metrics/metrics_service_unittest.cc', |
| 'browser/net/chrome_url_request_context_unittest.cc', |
| 'browser/net/dns_host_info_unittest.cc', |
| 'browser/net/dns_master_unittest.cc', |
| 'browser/net/resolve_proxy_msg_helper_unittest.cc', |
| 'browser/net/test_url_fetcher_factory.cc', |
| 'browser/net/test_url_fetcher_factory.h', |
| 'browser/net/url_fetcher_unittest.cc', |
| 'browser/net/url_fixer_upper_unittest.cc', |
| 'browser/password_manager/encryptor_unittest.cc', |
| 'browser/password_manager/login_database_unittest.cc', |
| 'browser/password_manager/password_form_manager_unittest.cc', |
| 'browser/password_manager/password_store_mac_unittest.cc', |
| 'browser/printing/print_job_unittest.cc', |
| 'browser/privacy_blacklist/blacklist_manager_unittest.cc', |
| 'browser/privacy_blacklist/blacklist_unittest.cc', |
| 'browser/privacy_blacklist/blacklist_io_unittest.cc', |
| 'browser/profile_manager_unittest.cc', |
| 'browser/renderer_host/audio_renderer_host_unittest.cc', |
| 'browser/renderer_host/render_widget_host_unittest.cc', |
| 'browser/renderer_host/resource_dispatcher_host_unittest.cc', |
| 'browser/renderer_host/test/render_view_host_unittest.cc', |
| 'browser/renderer_host/test/site_instance_unittest.cc', |
| 'browser/renderer_host/web_cache_manager_unittest.cc', |
| 'browser/rlz/rlz_unittest.cc', |
| 'browser/safe_browsing/bloom_filter_unittest.cc', |
| 'browser/safe_browsing/chunk_range_unittest.cc', |
| 'browser/safe_browsing/protocol_manager_unittest.cc', |
| 'browser/safe_browsing/protocol_parser_unittest.cc', |
| 'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc', |
| 'browser/safe_browsing/safe_browsing_database_unittest.cc', |
| 'browser/safe_browsing/safe_browsing_util_unittest.cc', |
| 'browser/search_engines/keyword_editor_controller_unittest.cc', |
| 'browser/search_engines/template_url_model_unittest.cc', |
| 'browser/search_engines/template_url_parser_unittest.cc', |
| 'browser/search_engines/template_url_prepopulate_data_unittest.cc', |
| 'browser/search_engines/template_url_scraper_unittest.cc', |
| 'browser/search_engines/template_url_unittest.cc', |
| 'browser/sessions/session_backend_unittest.cc', |
| 'browser/sessions/session_service_test_helper.cc', |
| 'browser/sessions/session_service_test_helper.h', |
| 'browser/sessions/session_service_unittest.cc', |
| 'browser/sessions/tab_restore_service_unittest.cc', |
| 'browser/shell_integration_unittest.cc', |
| 'browser/spellcheck_unittest.cc', |
| 'browser/ssl/ssl_host_state_unittest.cc', |
| 'browser/sync/glue/bookmark_model_worker_unittest.cc', |
| 'browser/sync/glue/http_bridge_unittest.cc', |
| 'browser/sync/profile_sync_service_unittest.cc', |
| 'browser/sync/sync_setup_wizard_unittest.cc', |
| 'browser/tab_contents/navigation_controller_unittest.cc', |
| 'browser/tab_contents/navigation_entry_unittest.cc', |
| 'browser/tab_contents/render_view_host_manager_unittest.cc', |
| 'browser/tab_contents/thumbnail_generator_unittest.cc', |
| 'browser/tab_contents/web_contents_unittest.cc', |
| 'browser/tabs/tab_strip_model_unittest.cc', |
| 'browser/task_manager_unittest.cc', |
| 'browser/theme_resources_util_unittest.cc', |
| 'browser/utility_process_host_unittest.cc', |
| 'browser/views/bookmark_context_menu_test.cc', |
| 'browser/views/bookmark_editor_view_unittest.cc', |
| 'browser/visitedlink_unittest.cc', |
| 'browser/webdata/web_database_unittest.cc', |
| 'browser/window_sizer_unittest.cc', |
| 'common/bzip2_unittest.cc', |
| 'common/child_process_logging_mac_unittest.mm', |
| 'common/chrome_plugin_unittest.cc', |
| 'common/common_param_traits_unittest.cc', |
| 'common/extensions/extension_resource_unittest.cc', |
| 'common/extensions/extension_unittest.cc', |
| 'common/extensions/extension_action_unittest.cc', |
| 'common/extensions/extension_l10n_util_unittest.cc', |
| 'common/extensions/extension_message_bundle_unittest.cc', |
| 'common/extensions/update_manifest_unittest.cc', |
| 'common/extensions/url_pattern_unittest.cc', |
| 'common/extensions/user_script_unittest.cc', |
| 'common/important_file_writer_unittest.cc', |
| 'common/json_value_serializer_unittest.cc', |
| 'common/mru_cache_unittest.cc', |
| 'common/net/url_util_unittest.cc', |
| 'common/notification_service_unittest.cc', |
| 'common/pref_member_unittest.cc', |
| 'common/pref_service_unittest.cc', |
| 'common/property_bag_unittest.cc', |
| 'common/resource_dispatcher_unittest.cc', |
| 'common/thumbnail_score_unittest.cc', |
| 'common/time_format_unittest.cc', |
| 'common/worker_thread_ticker_unittest.cc', |
| 'common/zip_unittest.cc', |
| 'renderer/audio_message_filter_unittest.cc', |
| 'renderer/extensions/extension_api_client_unittest.cc', |
| 'renderer/extensions/json_schema_unittest.cc', |
| 'renderer/net/render_dns_master_unittest.cc', |
| 'renderer/net/render_dns_queue_unittest.cc', |
| 'renderer/render_process_unittest.cc', |
| 'renderer/render_thread_unittest.cc', |
| 'renderer/render_view_unittest.cc', |
| 'renderer/render_view_unittest_mac.mm', |
| 'renderer/render_widget_unittest.cc', |
| 'renderer/renderer_main_unittest.cc', |
| 'test/browser_with_test_window_test.cc', |
| 'test/browser_with_test_window_test.h', |
| 'test/file_test_utils.cc', |
| 'test/file_test_utils.h', |
| 'test/render_view_test.cc', |
| 'test/render_view_test.h', |
| 'test/sync/test_http_bridge_factory.h', |
| 'test/test_notification_tracker.cc', |
| 'test/test_notification_tracker.h', |
| 'test/v8_unit_test.cc', |
| 'test/v8_unit_test.h', |
| '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_unittest_small.cc', |
| ], |
| 'conditions': [ |
| ['chromeos==0 and toolkit_views==0', { |
| 'sources/': [ |
| ['exclude', '^browser/chromeos'], |
| ], |
| }], |
| ['OS=="linux" and selinux==0', { |
| 'dependencies': [ |
| '../sandbox/sandbox.gyp:*', |
| ], |
| }], |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| '../build/linux/system.gyp:nss', |
| '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| ], |
| 'sources': [ |
| 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', |
| ], |
| 'sources!': [ |
| 'browser/sync/sync_setup_wizard_unittest.cc', |
| 'browser/views/bookmark_context_menu_test.cc', |
| 'browser/gtk/options/cookies_view_unittest.cc', |
| # Compact Language Detection (cld) is not supported in linux yet. |
| '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_unittest_small.cc', |
| ], |
| }], |
| ['OS=="linux" and (toolkit_views==1 or chromeos==1)', { |
| 'dependencies': [ |
| '../views/views.gyp:views', |
| ], |
| 'sources': [ |
| '<@(views_unit_tests_sources)', |
| ], |
| # We must use 'sources/' instead of 'source!' as there is a |
| # target-default 'sources/' including gtk_unittest and 'source/' takes |
| # precedence over 'sources!'. |
| 'sources/': [ |
| ['exclude', 'browser/gtk/bookmark_bar_gtk_unittest\\.cc$'], |
| ['exclude', 'browser/gtk/bookmark_editor_gtk_unittest\\.cc$'], |
| ['exclude', 'browser/gtk/go_button_gtk_unittest\\.cc$'], |
| ['exclude', 'browser/gtk/tabs/tab_renderer_gtk_unittest\\.cc$'], |
| ['exclude', 'browser/gtk/options/cookies_view_unittest\\.cc$'], |
| ['exclude', 'browser/gtk/options/languages_page_gtk_unittest\\.cc$'], |
| ['exclude', 'browser/gtk/gtk_theme_provider_unittest\\.cc$'], |
| ], |
| 'conditions': [ |
| ['chromeos==0', { |
| 'sources/': [ |
| ['include', 'browser/views/bookmark_context_menu_test.cc$'], |
| ], |
| }] |
| ], |
| }], |
| ['OS=="mac"', { |
| # The test fetches resources which means Mac need the app bundle to |
| # exist on disk so it can pull from it. |
| 'dependencies': [ |
| 'chrome', |
| '../third_party/ocmock/ocmock.gyp:ocmock', |
| ], |
| 'include_dirs': [ |
| '../third_party/GTM', |
| '../third_party/GTM/AppKit', |
| ], |
| 'sources!': [ |
| 'browser/views/bookmark_context_menu_test.cc', |
| 'browser/back_forward_menu_model_unittest.cc', |
| 'browser/gtk/go_button_gtk_unittest.cc', |
| 'browser/gtk/tabs/tab_renderer_gtk_unittest.cc', |
| 'browser/tab_contents/navigation_controller_unittest.cc', |
| 'browser/task_manager_unittest.cc', |
| '../third_party/hunspell/google/hunspell_tests.cc', |
| |
| # Compact Language Detection (cld) is not supported in mac yet. |
| '../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_unittest_small.cc', |
| ], |
| # TODO(mark): We really want this for all non-static library targets, |
| # but when we tried to pull it up to the common.gypi level, it broke |
| # other things like the ui, startup, and page_cycler tests. *shrug* |
| 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
| }, { # OS != "mac" |
| 'dependencies': [ |
| 'convert_dict_lib', |
| '../third_party/hunspell/hunspell.gyp:hunspell', |
| ], |
| }], |
| ['OS=="win"', { |
| 'defines': [ |
| '__STD_C', |
| '_CRT_SECURE_NO_DEPRECATE', |
| '_SCL_SECURE_NO_DEPRECATE', |
| ], |
| 'dependencies': [ |
| 'chrome_dll_version', |
| 'installer/installer.gyp:installer_util_strings', |
| '../views/views.gyp:views', |
| 'test_chrome_plugin', # run time dependency |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| 'sources': [ |
| 'app/chrome_dll.rc', |
| 'test/data/resource.rc', |
| |
| '<@(views_unit_tests_sources)', |
| '<@(views_unit_tests_sources_win_specific)', |
| |
| # TODO: It would be nice to have these pulled in |
| # automatically from direct_dependent_settings in |
| # their various targets (net.gyp:net_resources, etc.), |
| # but that causes errors in other targets when |
| # resulting .res files get referenced multiple times. |
| '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
| ], |
| 'sources!': [ |
| 'browser/gtk/tabs/tab_renderer_gtk_unittest.cc', |
| 'common/net/url_util_unittest.cc', |
| ], |
| 'link_settings': { |
| 'libraries': [ |
| '-lcomsupp.lib', |
| '-loleacc.lib', |
| '-lrpcrt4.lib', |
| '-lurlmon.lib', |
| '-lwinmm.lib', |
| ], |
| }, |
| 'configurations': { |
| 'Debug': { |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| }, |
| }, |
| }, |
| }, |
| }, { # else: OS != "win" |
| 'sources!': [ |
| 'browser/bookmarks/bookmark_codec_unittest.cc', |
| 'browser/bookmarks/bookmark_drag_data_unittest.cc', |
| 'browser/bookmarks/bookmark_folder_tree_model_unittest.cc', |
| 'browser/bookmarks/bookmark_table_model_unittest.cc', |
| 'browser/browser_unittest.cc', |
| 'browser/extensions/extension_process_manager_unittest.cc', |
| 'browser/importer/importer_unittest.cc', |
| 'browser/login_prompt_unittest.cc', |
| 'browser/printing/print_job_unittest.cc', |
| 'browser/rlz/rlz_unittest.cc', |
| 'browser/safe_browsing/safe_browsing_blocking_page_unittest.cc', |
| 'browser/search_engines/template_url_scraper_unittest.cc', |
| 'browser/views/bookmark_editor_view_unittest.cc', |
| 'browser/views/find_bar_host_unittest.cc', |
| 'browser/views/keyword_editor_view_unittest.cc', |
| 'common/chrome_plugin_unittest.cc', |
| 'common/net/url_util_unittest.cc', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'startup_tests', |
| 'type': 'executable', |
| 'msvs_guid': 'D3E6C0FD-54C7-4FF2-9AE1-72F2DAFD820C', |
| 'dependencies': [ |
| 'chrome', |
| 'browser', |
| 'debugger', |
| 'common', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'test_support_ui', |
| '../app/app.gyp:app_base', |
| '../base/base.gyp:base', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'sources': [ |
| 'test/startup/feature_startup_test.cc', |
| 'test/startup/startup_test.cc', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| ], |
| }], |
| ['OS=="linux" and toolkit_views==1', { |
| 'dependencies': [ |
| '../views/views.gyp:views', |
| ], |
| }], |
| ['OS=="win"', { |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| },], |
| ], |
| }, |
| { |
| # To run the tests from page_load_test.cc on Linux, we need to: |
| # |
| # a) Build with Breakpad (GYP_DEFINES="linux_chromium_breakpad=1") |
| # b) Run with CHROME_HEADLESS=1 to generate crash dumps. |
| # c) Strip the binary if it's a debug build. (binary may be over 2GB) |
| 'target_name': 'reliability_tests', |
| 'type': 'executable', |
| 'msvs_guid': '8A3E1774-1DE9-445C-982D-3EE37C8A752A', |
| 'dependencies': [ |
| 'browser', |
| 'chrome', |
| 'test_support_common', |
| 'test_support_ui', |
| 'theme_resources', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/reliability/page_load_test.cc', |
| 'test/reliability/page_load_test.h', |
| 'test/reliability/reliability_test_suite.h', |
| 'test/reliability/run_all_unittests.cc', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| },], |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| ], |
| },], |
| ], |
| }, |
| { |
| # Provides a syncapi dynamic library target from checked-in binaries, |
| # or from compiling a stub implementation. |
| 'target_name': 'syncapi', |
| 'type': '<(library)', |
| 'sources': [ |
| 'browser/sync/engine/syncapi.cc', |
| ], |
| 'include_dirs': [ |
| '..', |
| '<(protoc_out_dir)', |
| ], |
| 'defines' : [ |
| '_CRT_SECURE_NO_WARNINGS', |
| '_USE_32BIT_TIME_T', |
| ], |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| '../build/temp_gyp/googleurl.gyp:googleurl', |
| '../net/net.gyp:net_base', |
| '../third_party/icu/icu.gyp:icuuc', |
| '../third_party/libjingle/libjingle.gyp:libjingle', |
| '../third_party/sqlite/sqlite.gyp:sqlite', |
| 'common_constants', |
| 'notifier', |
| 'sync', |
| 'sync_proto', |
| ], |
| }, |
| { |
| 'target_name': 'page_cycler_tests', |
| 'type': 'executable', |
| 'msvs_guid': 'C9E0BD1D-B175-4A91-8380-3FDC81FAB9D7', |
| 'dependencies': [ |
| 'chrome', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'debugger', |
| 'test_support_common', |
| 'test_support_ui', |
| '../base/base.gyp:base', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'sources': [ |
| 'test/page_cycler/page_cycler_test.cc', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| ], |
| }], |
| ['OS=="win" or (OS=="linux" and toolkit_views==1)', { |
| 'dependencies': [ |
| '../views/views.gyp:views', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'tab_switching_test', |
| 'type': 'executable', |
| 'msvs_guid': 'A34770EA-A574-43E8-9327-F79C04770E98', |
| 'run_as': { |
| 'action': ['$(TargetPath)', '--gtest_print_time', '-enable-logging', |
| '-dump-histograms-on-exit', '-log-level=0'], |
| }, |
| 'dependencies': [ |
| 'chrome', |
| 'debugger', |
| 'test_support_common', |
| 'test_support_ui', |
| 'theme_resources', |
| '../base/base.gyp:base', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/tab_switching/tab_switching_test.cc', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| ], |
| }], |
| ['OS=="win"', { |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| },], |
| ], |
| }, |
| { |
| 'target_name': 'memory_test', |
| 'type': 'executable', |
| 'msvs_guid': 'A5F831FD-9B9C-4FEF-9FBA-554817B734CE', |
| 'dependencies': [ |
| 'chrome', |
| 'debugger', |
| 'test_support_common', |
| 'test_support_ui', |
| 'theme_resources', |
| '../base/base.gyp:base', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/memory_test/memory_test.cc', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'url_fetch_test', |
| 'type': 'executable', |
| 'msvs_guid': '7EFD0C91-198E-4043-9E71-4A4C7879B929', |
| 'dependencies': [ |
| 'chrome', |
| 'debugger', |
| 'test_support_common', |
| 'test_support_ui', |
| 'theme_resources', |
| '../base/base.gyp:base', |
| '../net/net.gyp:net', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/url_fetch_test/url_fetch_test.cc', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| }], # OS="win" |
| ], # conditions |
| }, |
| { |
| # Protobuf compiler / generate rule for sync.proto |
| 'target_name': 'sync_proto', |
| 'type': 'none', |
| 'actions': [ |
| { |
| 'action_name': 'compiling sync.proto', |
| 'inputs': [ |
| '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', |
| 'browser/sync/protocol/sync.proto', |
| ], |
| 'outputs': [ |
| '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.cc', |
| '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.h', |
| ], |
| 'action': [ |
| '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', |
| '--proto_path=browser/sync/protocol', |
| 'browser/sync/protocol/sync.proto', |
| '--cpp_out=<(protoc_out_dir)/chrome/browser/sync/protocol', |
| ], |
| }, |
| ], |
| 'dependencies': [ |
| '../third_party/protobuf2/protobuf.gyp:protobuf_lite', |
| '../third_party/protobuf2/protobuf.gyp:protoc#host', |
| ], |
| 'export_dependent_settings': [ |
| '../third_party/protobuf2/protobuf.gyp:protobuf_lite', |
| ], |
| }, |
| { |
| 'target_name': 'notifier', |
| 'type': '<(library)', |
| 'sources': [ |
| 'browser/sync/notifier/base/async_dns_lookup.cc', |
| 'browser/sync/notifier/base/async_dns_lookup.h', |
| 'browser/sync/notifier/base/async_network_alive.h', |
| 'browser/sync/notifier/base/fastalloc.h', |
| 'browser/sync/notifier/base/linux/network_status_detector_task_linux.cc', |
| 'browser/sync/notifier/base/mac/network_status_detector_task_mac.cc', |
| 'browser/sync/notifier/base/mac/time_mac.cc', |
| 'browser/sync/notifier/base/nethelpers.cc', |
| 'browser/sync/notifier/base/nethelpers.h', |
| 'browser/sync/notifier/base/network_status_detector_task.cc', |
| 'browser/sync/notifier/base/network_status_detector_task.h', |
| 'browser/sync/notifier/base/network_status_detector_task_mt.cc', |
| 'browser/sync/notifier/base/network_status_detector_task_mt.h', |
| 'browser/sync/notifier/base/posix/time_posix.cc', |
| 'browser/sync/notifier/base/signal_thread_task.h', |
| 'browser/sync/notifier/base/static_assert.h', |
| 'browser/sync/notifier/base/task_pump.cc', |
| 'browser/sync/notifier/base/task_pump.h', |
| 'browser/sync/notifier/base/time.cc', |
| 'browser/sync/notifier/base/time.h', |
| 'browser/sync/notifier/base/timer.cc', |
| 'browser/sync/notifier/base/timer.h', |
| 'browser/sync/notifier/base/utils.h', |
| 'browser/sync/notifier/base/win/async_network_alive_win32.cc', |
| 'browser/sync/notifier/base/win/time_win32.cc', |
| 'browser/sync/notifier/communicator/auth_task.cc', |
| 'browser/sync/notifier/communicator/auth_task.h', |
| 'browser/sync/notifier/communicator/auto_reconnect.cc', |
| 'browser/sync/notifier/communicator/auto_reconnect.h', |
| 'browser/sync/notifier/communicator/connection_options.cc', |
| 'browser/sync/notifier/communicator/connection_options.h', |
| 'browser/sync/notifier/communicator/connection_settings.cc', |
| 'browser/sync/notifier/communicator/connection_settings.h', |
| 'browser/sync/notifier/communicator/const_communicator.h', |
| 'browser/sync/notifier/communicator/login.cc', |
| 'browser/sync/notifier/communicator/login.h', |
| 'browser/sync/notifier/communicator/login_failure.cc', |
| 'browser/sync/notifier/communicator/login_failure.h', |
| 'browser/sync/notifier/communicator/login_settings.cc', |
| 'browser/sync/notifier/communicator/login_settings.h', |
| 'browser/sync/notifier/communicator/product_info.cc', |
| 'browser/sync/notifier/communicator/product_info.h', |
| 'browser/sync/notifier/communicator/single_login_attempt.cc', |
| 'browser/sync/notifier/communicator/single_login_attempt.h', |
| 'browser/sync/notifier/communicator/ssl_socket_adapter.cc', |
| 'browser/sync/notifier/communicator/ssl_socket_adapter.h', |
| 'browser/sync/notifier/communicator/talk_auth_task.cc', |
| 'browser/sync/notifier/communicator/talk_auth_task.h', |
| 'browser/sync/notifier/communicator/xmpp_connection_generator.cc', |
| 'browser/sync/notifier/communicator/xmpp_connection_generator.h', |
| 'browser/sync/notifier/communicator/xmpp_log.cc', |
| 'browser/sync/notifier/communicator/xmpp_log.h', |
| 'browser/sync/notifier/communicator/xmpp_socket_adapter.cc', |
| 'browser/sync/notifier/communicator/xmpp_socket_adapter.h', |
| 'browser/sync/notifier/gaia_auth/gaiaauth.cc', |
| 'browser/sync/notifier/gaia_auth/gaiaauth.h', |
| 'browser/sync/notifier/gaia_auth/gaiahelper.cc', |
| 'browser/sync/notifier/gaia_auth/gaiahelper.h', |
| 'browser/sync/notifier/gaia_auth/inet_aton.h', |
| 'browser/sync/notifier/gaia_auth/sigslotrepeater.h', |
| 'browser/sync/notifier/gaia_auth/win/win32window.cc', |
| 'browser/sync/notifier/listener/listen_task.cc', |
| 'browser/sync/notifier/listener/listen_task.h', |
| 'browser/sync/notifier/listener/mediator_thread.h', |
| 'browser/sync/notifier/listener/mediator_thread_impl.cc', |
| 'browser/sync/notifier/listener/mediator_thread_impl.h', |
| 'browser/sync/notifier/listener/mediator_thread_mock.h', |
| 'browser/sync/notifier/listener/send_update_task.cc', |
| 'browser/sync/notifier/listener/send_update_task.h', |
| 'browser/sync/notifier/listener/subscribe_task.cc', |
| 'browser/sync/notifier/listener/subscribe_task.h', |
| 'browser/sync/notifier/listener/talk_mediator.h', |
| 'browser/sync/notifier/listener/talk_mediator_impl.cc', |
| 'browser/sync/notifier/listener/talk_mediator_impl.h', |
| ], |
| 'include_dirs': [ |
| '..', |
| '<(protoc_out_dir)', |
| ], |
| 'defines' : [ |
| '_CRT_SECURE_NO_WARNINGS', |
| '_USE_32BIT_TIME_T', |
| 'kXmppProductName="chromium-sync"', |
| ], |
| 'dependencies': [ |
| '../third_party/expat/expat.gyp:expat', |
| '../third_party/libjingle/libjingle.gyp:libjingle', |
| 'sync_proto', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'defines': [ |
| 'POSIX', |
| 'OS_LINUX', |
| ], |
| 'sources!': [ |
| 'browser/sync/notifier/base/network_status_detector_task_mt.cc', |
| ], |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk' |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'sync_unit_tests', |
| 'type': 'executable', |
| 'sources': [ |
| 'app/breakpad_mac_stubs.mm', |
| 'app/keystone_glue.mm', |
| 'browser/sync/engine/all_status_unittest.cc', |
| 'browser/sync/engine/apply_updates_command_unittest.cc', |
| 'browser/sync/engine/auth_watcher_unittest.cc', |
| 'browser/sync/engine/net/gaia_authenticator_unittest.cc', |
| 'browser/sync/engine/syncer_proto_util_unittest.cc', |
| 'browser/sync/engine/syncer_thread_unittest.cc', |
| 'browser/sync/engine/syncer_unittest.cc', |
| 'browser/sync/engine/syncproto_unittest.cc', |
| 'browser/sync/notifier/listener/talk_mediator_unittest.cc', |
| 'browser/sync/syncable/syncable_id_unittest.cc', |
| 'browser/sync/syncable/syncable_unittest.cc', |
| 'browser/sync/util/character_set_converters_unittest.cc', |
| 'browser/sync/util/crypto_helpers_unittest.cc', |
| 'browser/sync/util/event_sys_unittest.cc', |
| 'browser/sync/util/extensions_activity_monitor_unittest.cc', |
| 'browser/sync/util/highres_timer_unittest.cc', |
| 'browser/sync/util/path_helpers_unittest.cc', |
| 'browser/sync/util/query_helpers_unittest.cc', |
| 'browser/sync/util/user_settings_unittest.cc', |
| 'test/sync/engine/mock_gaia_authenticator.cc', |
| 'test/sync/engine/mock_gaia_authenticator.h', |
| 'test/sync/engine/mock_gaia_authenticator_unittest.cc', |
| 'test/sync/engine/mock_server_connection.cc', |
| 'test/sync/engine/mock_server_connection.h', |
| 'test/sync/engine/test_directory_setter_upper.cc', |
| 'test/sync/engine/test_directory_setter_upper.h', |
| 'test/sync/engine/test_id_factory.h', |
| ], |
| 'include_dirs': [ |
| '..', |
| '<(protoc_out_dir)', |
| ], |
| 'defines' : [ |
| 'SYNC_ENGINE_VERSION_STRING="Unknown"', |
| '_CRT_SECURE_NO_WARNINGS', |
| '_USE_32BIT_TIME_T', |
| ], |
| 'dependencies': [ |
| 'common', |
| 'debugger', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| '../third_party/libjingle/libjingle.gyp:libjingle', |
| 'syncapi', |
| 'sync_proto', |
| 'test_support_unit', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'sources' : [ |
| 'browser/sync/util/data_encryption_unittest.cc', |
| ], |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| 'link_settings': { |
| 'libraries': [ |
| '-lcrypt32.lib', |
| '-lws2_32.lib', |
| '-lsecur32.lib', |
| ], |
| }, |
| }, { # else: OS != "win" |
| 'sources!': [ |
| 'browser/sync/util/data_encryption_unittest.cc', |
| ], |
| }], |
| ['OS=="linux"', { |
| 'defines': [ |
| 'POSIX', |
| ], |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk' |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'sync', |
| 'type': '<(library)', |
| 'sources': [ |
| '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.cc', |
| '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.h', |
| 'browser/sync/engine/all_status.cc', |
| 'browser/sync/engine/all_status.h', |
| 'browser/sync/engine/apply_updates_command.cc', |
| 'browser/sync/engine/apply_updates_command.h', |
| 'browser/sync/engine/auth_watcher.cc', |
| 'browser/sync/engine/auth_watcher.h', |
| 'browser/sync/engine/authenticator.cc', |
| 'browser/sync/engine/authenticator.h', |
| 'browser/sync/engine/build_and_process_conflict_sets_command.cc', |
| 'browser/sync/engine/build_and_process_conflict_sets_command.h', |
| 'browser/sync/engine/build_commit_command.cc', |
| 'browser/sync/engine/build_commit_command.h', |
| 'browser/sync/engine/change_reorder_buffer.cc', |
| 'browser/sync/engine/change_reorder_buffer.h', |
| 'browser/sync/engine/client_command_channel.h', |
| 'browser/sync/engine/conflict_resolution_view.cc', |
| 'browser/sync/engine/conflict_resolution_view.h', |
| 'browser/sync/engine/conflict_resolver.cc', |
| 'browser/sync/engine/conflict_resolver.h', |
| 'browser/sync/engine/download_updates_command.cc', |
| 'browser/sync/engine/download_updates_command.h', |
| 'browser/sync/engine/get_commit_ids_command.cc', |
| 'browser/sync/engine/get_commit_ids_command.h', |
| 'browser/sync/engine/model_changing_syncer_command.cc', |
| 'browser/sync/engine/model_changing_syncer_command.h', |
| 'browser/sync/engine/model_safe_worker.h', |
| 'browser/sync/engine/net/gaia_authenticator.cc', |
| 'browser/sync/engine/net/gaia_authenticator.h', |
| 'browser/sync/engine/net/http_return.h', |
| 'browser/sync/engine/net/server_connection_manager.cc', |
| 'browser/sync/engine/net/server_connection_manager.h', |
| 'browser/sync/engine/net/syncapi_server_connection_manager.cc', |
| 'browser/sync/engine/net/syncapi_server_connection_manager.h', |
| 'browser/sync/engine/net/url_translator.cc', |
| 'browser/sync/engine/net/url_translator.h', |
| 'browser/sync/engine/post_commit_message_command.cc', |
| 'browser/sync/engine/post_commit_message_command.h', |
| 'browser/sync/engine/process_commit_response_command.cc', |
| 'browser/sync/engine/process_commit_response_command.h', |
| 'browser/sync/engine/process_updates_command.cc', |
| 'browser/sync/engine/process_updates_command.h', |
| 'browser/sync/engine/resolve_conflicts_command.cc', |
| 'browser/sync/engine/resolve_conflicts_command.h', |
| 'browser/sync/engine/sync_cycle_state.h', |
| 'browser/sync/engine/sync_process_state.cc', |
| 'browser/sync/engine/sync_process_state.h', |
| 'browser/sync/engine/syncapi.h', |
| 'browser/sync/engine/syncer.cc', |
| 'browser/sync/engine/syncer.h', |
| 'browser/sync/engine/syncer_command.cc', |
| 'browser/sync/engine/syncer_command.h', |
| 'browser/sync/engine/syncer_end_command.cc', |
| 'browser/sync/engine/syncer_end_command.h', |
| 'browser/sync/engine/syncer_proto_util.cc', |
| 'browser/sync/engine/syncer_proto_util.h', |
| 'browser/sync/engine/syncer_session.h', |
| 'browser/sync/engine/syncer_status.cc', |
| 'browser/sync/engine/syncer_status.h', |
| 'browser/sync/engine/syncer_thread.cc', |
| 'browser/sync/engine/syncer_thread.h', |
| 'browser/sync/engine/syncer_thread_timed_stop.cc', |
| 'browser/sync/engine/syncer_thread_timed_stop.h', |
| 'browser/sync/engine/syncer_types.h', |
| 'browser/sync/engine/syncer_util.cc', |
| 'browser/sync/engine/syncer_util.h', |
| 'browser/sync/engine/syncproto.h', |
| 'browser/sync/engine/update_applicator.cc', |
| 'browser/sync/engine/update_applicator.h', |
| 'browser/sync/engine/verify_updates_command.cc', |
| 'browser/sync/engine/verify_updates_command.h', |
| 'browser/sync/protocol/service_constants.h', |
| 'browser/sync/syncable/blob.h', |
| 'browser/sync/syncable/dir_open_result.h', |
| 'browser/sync/syncable/directory_backing_store.cc', |
| 'browser/sync/syncable/directory_backing_store.h', |
| 'browser/sync/syncable/directory_event.h', |
| 'browser/sync/syncable/directory_manager.cc', |
| 'browser/sync/syncable/directory_manager.h', |
| 'browser/sync/syncable/path_name_cmp.h', |
| 'browser/sync/syncable/syncable-inl.h', |
| 'browser/sync/syncable/syncable.cc', |
| 'browser/sync/syncable/syncable.h', |
| 'browser/sync/syncable/syncable_changes_version.h', |
| 'browser/sync/syncable/syncable_columns.h', |
| 'browser/sync/syncable/syncable_id.cc', |
| 'browser/sync/syncable/syncable_id.h', |
| 'browser/sync/util/character_set_converters.cc', |
| 'browser/sync/util/character_set_converters.h', |
| 'browser/sync/util/character_set_converters_posix.cc', |
| 'browser/sync/util/character_set_converters_win.cc', |
| 'browser/sync/util/closure.h', |
| 'browser/sync/util/compat_file.h', |
| 'browser/sync/util/compat_file_posix.cc', |
| 'browser/sync/util/compat_file_win.cc', |
| 'browser/sync/util/crypto_helpers.cc', |
| 'browser/sync/util/crypto_helpers.h', |
| 'browser/sync/util/dbgq.h', |
| 'browser/sync/util/event_sys-inl.h', |
| 'browser/sync/util/event_sys.h', |
| 'browser/sync/util/extensions_activity_monitor.cc', |
| 'browser/sync/util/extensions_activity_monitor.h', |
| 'browser/sync/util/fast_dump.h', |
| 'browser/sync/util/highres_timer.h', |
| 'browser/sync/util/highres_timer_linux.cc', |
| 'browser/sync/util/highres_timer_linux.h', |
| 'browser/sync/util/highres_timer_mac.cc', |
| 'browser/sync/util/highres_timer_mac.h', |
| 'browser/sync/util/highres_timer_win.cc', |
| 'browser/sync/util/highres_timer_win.h', |
| 'browser/sync/util/path_helpers.h', |
| 'browser/sync/util/path_helpers_linux.cc', |
| 'browser/sync/util/path_helpers_mac.cc', |
| 'browser/sync/util/path_helpers_posix.cc', |
| 'browser/sync/util/query_helpers.cc', |
| 'browser/sync/util/query_helpers.h', |
| 'browser/sync/util/row_iterator.h', |
| 'browser/sync/util/signin.h', |
| 'browser/sync/util/sync_types.h', |
| 'browser/sync/util/user_settings.cc', |
| 'browser/sync/util/user_settings.h', |
| 'browser/sync/util/user_settings_posix.cc', |
| 'browser/sync/util/user_settings_win.cc', |
| ], |
| 'include_dirs': [ |
| '..', |
| '<(protoc_out_dir)', |
| ], |
| 'defines' : [ |
| 'SYNC_ENGINE_VERSION_STRING="Unknown"', |
| '_CRT_SECURE_NO_WARNINGS', |
| '_USE_32BIT_TIME_T', |
| ], |
| 'dependencies': [ |
| '../skia/skia.gyp:skia', |
| '../third_party/libjingle/libjingle.gyp:libjingle', |
| 'sync_proto', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'sources' : [ |
| 'browser/sync/util/data_encryption.cc', |
| 'browser/sync/util/data_encryption.h', |
| 'browser/sync/util/path_helpers.cc', |
| ], |
| }], |
| ['OS=="linux"', { |
| 'defines': [ |
| 'POSIX', |
| ], |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk' |
| ], |
| }], |
| ['OS=="mac"', { |
| 'link_settings': { |
| 'libraries': [ |
| '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
| ], |
| }, |
| }], |
| ], |
| }, |
| ], |
| 'conditions': [ |
| ['OS=="mac" or OS=="win"', { |
| 'targets': [ |
| { |
| 'target_name': 'chrome_dll', |
| 'type': 'shared_library', |
| 'dependencies': [ |
| '<@(chromium_dependencies)', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'product_name': 'chrome', |
| 'msvs_guid': 'C0A7EE2C-2A6D-45BE-BA78-6D006FDF52D9', |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| 'dependencies': [ |
| # On Windows, link the dependencies (libraries) that make |
| # up actual Chromium functionality into this .dll. |
| 'chrome_dll_version', |
| 'chrome_resources', |
| 'installer/installer.gyp:installer_util_strings', |
| 'worker', |
| '../printing/printing.gyp:printing', |
| '../net/net.gyp:net_resources', |
| '../build/util/support/support.gyp:*', |
| '../third_party/cld/cld.gyp:cld', |
| '../views/views.gyp:views', |
| '../webkit/webkit.gyp:webkit_resources', |
| '../gears/gears.gyp:gears', |
| ], |
| 'defines': [ |
| 'CHROME_DLL', |
| 'BROWSER_DLL', |
| 'RENDERER_DLL', |
| 'PLUGIN_DLL', |
| ], |
| 'sources': [ |
| 'app/chrome_dll.rc', |
| 'app/chrome_dll_main.cc', |
| 'app/chrome_dll_resource.h', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc', |
| |
| '../webkit/glue/resources/aliasb.cur', |
| '../webkit/glue/resources/cell.cur', |
| '../webkit/glue/resources/col_resize.cur', |
| '../webkit/glue/resources/copy.cur', |
| '../webkit/glue/resources/row_resize.cur', |
| '../webkit/glue/resources/vertical_text.cur', |
| '../webkit/glue/resources/zoom_in.cur', |
| '../webkit/glue/resources/zoom_out.cur', |
| |
| # TODO: It would be nice to have these pulled in |
| # automatically from direct_dependent_settings in |
| # their various targets (net.gyp:net_resources, etc.), |
| # but that causes errors in other targets when |
| # resulting .res files get referenced multiple times. |
| '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
| |
| # TODO(sgk): left-over from pre-gyp build, figure out |
| # if we still need them and/or how to update to gyp. |
| #'app/check_dependents.bat', |
| #'app/chrome.dll.deps', |
| ], |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'BaseAddress': '0x01c30000', |
| 'DelayLoadDLLs': [ |
| 'crypt32.dll', |
| 'cryptui.dll', |
| 'winhttp.dll', |
| 'wininet.dll', |
| 'wsock32.dll', |
| 'ws2_32.dll', |
| 'winspool.drv', |
| 'comdlg32.dll', |
| 'imagehlp.dll', |
| 'psapi.dll', |
| 'urlmon.dll', |
| 'imm32.dll', |
| 'iphlpapi.dll', |
| ], |
| 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', |
| 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', |
| # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). |
| 'SubSystem': '2', |
| }, |
| 'VCManifestTool': { |
| 'AdditionalManifestFiles': '$(ProjectDir)\\app\\chrome.dll.manifest', |
| }, |
| }, |
| 'configurations': { |
| 'Debug': { |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| }, |
| }, |
| }, |
| }, |
| }], # OS=="win" |
| ['OS=="mac"', { |
| # The main browser executable's name is <(mac_product_name). |
| # Certain things will get confused if two modules in the |
| # executable share the same name, so append " Framework" to the |
| # product_name used for the framework. This will result in |
| # a name like "Chromium Framework.framework". |
| 'product_name': '<(mac_product_name) Framework', |
| 'mac_bundle': 1, |
| 'xcode_settings': { |
| 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| # The dylib versions are of the form a[.b[.c]], where a is a |
| # 16-bit unsigned integer, and b and c are 8-bit unsigned |
| # integers. Any missing component is taken to be 0. The |
| # best mapping from product version numbers into this scheme |
| # is to just use the build and patch numbers. There is no |
| # ambiguity in this scheme because the build number is |
| # guaranteed unique even across distinct major and minor |
| # version numbers. |
| 'DYLIB_COMPATIBILITY_VERSION': '<(version_build_patch)', |
| 'DYLIB_CURRENT_VERSION': '<(version_build_patch)', |
| # See tools/build/mac/copy_framework_unversioned for |
| # The framework is placed within the .app's versioned |
| # directory. |
| 'DYLIB_INSTALL_NAME_BASE': |
| '@executable_path/../Versions/<(version_full)', |
| # information on LD_DYLIB_INSTALL_NAME. |
| 'LD_DYLIB_INSTALL_NAME': |
| '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/$(PRODUCT_NAME)', |
| 'INFOPLIST_FILE': 'app/framework-Info.plist', |
| }, |
| 'sources': [ |
| 'app/chrome_dll_main.cc', |
| 'app/chrome_dll_resource.h', |
| 'app/chrome_exe_main.mm', |
| 'app/keystone_glue.h', |
| 'app/keystone_glue.mm', |
| ], |
| # TODO(mark): Come up with a fancier way to do this. It should |
| # only be necessary to list framework-Info.plist once, not the |
| # three times it is listed here. |
| 'mac_bundle_resources': [ |
| 'app/framework-Info.plist', |
| 'app/nibs/About.xib', |
| 'app/nibs/AboutIPC.xib', |
| 'app/nibs/BookmarkBar.xib', |
| 'app/nibs/BookmarkBubble.xib', |
| 'app/nibs/BookmarkEditor.xib', |
| 'app/nibs/BookmarkNameFolder.xib', |
| 'app/nibs/BrowserWindow.xib', |
| 'app/nibs/ClearBrowsingData.xib', |
| 'app/nibs/DownloadItem.xib', |
| 'app/nibs/DownloadShelf.xib', |
| 'app/nibs/EditSearchEngine.xib', |
| 'app/nibs/ExtensionShelf.xib', |
| 'app/nibs/FindBar.xib', |
| 'app/nibs/FirstRunDialog.xib', |
| 'app/nibs/HungRendererDialog.xib', |
| 'app/nibs/HttpAuthLoginSheet.xib', |
| 'app/nibs/InfoBar.xib', |
| 'app/nibs/InfoBarContainer.xib', |
| 'app/nibs/ImportProgressDialog.xib', |
| 'app/nibs/KeywordEditor.xib', |
| 'app/nibs/MainMenu.xib', |
| 'app/nibs/PageInfo.xib', |
| 'app/nibs/Preferences.xib', |
| 'app/nibs/ReportBug.xib', |
| 'app/nibs/SaveAccessoryView.xib', |
| 'app/nibs/TabContents.xib', |
| 'app/nibs/TabView.xib', |
| 'app/nibs/TaskManager.xib', |
| 'app/nibs/Toolbar.xib', |
| 'app/theme/back_Template.pdf', |
| 'app/theme/chevron.png', # TODO(jrg): get and use a pdf version |
| 'app/theme/close_bar.pdf', |
| 'app/theme/close_bar_h.pdf', |
| 'app/theme/close_bar_p.pdf', |
| 'app/theme/find_next_Template.pdf', |
| 'app/theme/find_prev_Template.pdf', |
| 'app/theme/forward_Template.pdf', |
| 'app/theme/go_Template.pdf', |
| 'app/theme/home_Template.pdf', |
| 'app/theme/menu_chrome_rtl_Template.pdf', |
| 'app/theme/menu_chrome_Template.pdf', |
| 'app/theme/menu_page_rtl_Template.pdf', |
| 'app/theme/menu_page_Template.pdf', |
| 'app/theme/nav.pdf', |
| 'app/theme/newtab.pdf', |
| 'app/theme/otr_icon.pdf', |
| 'app/theme/reload_Template.pdf', |
| 'app/theme/star_Template.pdf', |
| 'app/theme/starred.pdf', |
| 'app/theme/stop_Template.pdf', |
| ], |
| 'mac_bundle_resources!': [ |
| 'app/framework-Info.plist', |
| ], |
| 'dependencies': [ |
| # Bring in pdfsqueeze and run it on all pdfs |
| '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', |
| '../build/util/support/support.gyp:*', |
| ], |
| 'rules': [ |
| { |
| 'rule_name': 'pdfsqueeze', |
| 'extension': 'pdf', |
| 'inputs': [ |
| '<(PRODUCT_DIR)/pdfsqueeze', |
| ], |
| 'outputs': [ |
| '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', |
| ], |
| 'action': ['<(PRODUCT_DIR)/pdfsqueeze', |
| '<(RULE_INPUT_PATH)', '<@(_outputs)'], |
| 'message': 'Running pdfsqueeze on <(RULE_INPUT_PATH)', |
| }, |
| ], |
| 'variables': { |
| 'repack_path': '../tools/data_pack/repack.py', |
| }, |
| 'actions': [ |
| # TODO(mark): These actions are duplicated for Linux and |
| # FreeBSD in the chrome target. Can they be unified? |
| { |
| 'action_name': 'repack_chrome', |
| 'variables': { |
| 'pak_inputs': [ |
| '<(grit_out_dir)/browser_resources.pak', |
| '<(grit_out_dir)/common_resources.pak', |
| '<(grit_out_dir)/renderer_resources.pak', |
| '<(grit_out_dir)/theme_resources.pak', |
| '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.pak', |
| '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
| '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak', |
| ], |
| }, |
| 'inputs': [ |
| '<(repack_path)', |
| '<@(pak_inputs)', |
| ], |
| 'outputs': [ |
| '<(INTERMEDIATE_DIR)/repack/chrome.pak', |
| ], |
| 'action': ['python', '<(repack_path)', '<@(_outputs)', |
| '<@(pak_inputs)'], |
| 'process_outputs_as_mac_bundle_resources': 1, |
| }, |
| { |
| 'action_name': 'repack_locales', |
| 'process_outputs_as_mac_bundle_resources': 1, |
| 'variables': { |
| 'conditions': [ |
| ['branding=="Chrome"', { |
| 'branding_flag': ['-b', 'google_chrome',], |
| }, { # else: branding!="Chrome" |
| 'branding_flag': ['-b', 'chromium',], |
| }], |
| ], |
| }, |
| 'inputs': [ |
| 'tools/build/repack_locales.py', |
| # NOTE: Ideally the common command args would be shared |
| # amongst inputs/outputs/action, but the args include shell |
| # variables which need to be passed intact, and command |
| # expansion wants to expand the shell variables. Adding the |
| # explicit quoting here was the only way it seemed to work. |
| '>!@(<(repack_locales_cmd) -i <(branding_flag) -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))', |
| ], |
| 'outputs': [ |
| '>!@(<(repack_locales_cmd) -o -g \'<(grit_out_dir)\' -s \'<(SHARED_INTERMEDIATE_DIR)\' -x \'<(INTERMEDIATE_DIR)\' <(locales))', |
| ], |
| 'action': [ |
| '<@(repack_locales_cmd)', |
| '<@(branding_flag)', |
| '-g', '<(grit_out_dir)', |
| '-s', '<(SHARED_INTERMEDIATE_DIR)', |
| '-x', '<(INTERMEDIATE_DIR)', |
| '<@(locales)', |
| ], |
| }, |
| ], |
| 'postbuilds': [ |
| { |
| # Modify the Info.plist as needed. The script explains why |
| # this is needed. This is also done in the chrome target. |
| # The framework needs the Breakpad and Keystone keys if |
| # those features are enabled. It doesn't currently use the |
| # Subversion keys for anything, but this seems like a really |
| # good place to store them. |
| 'postbuild_name': 'Tweak Info.plist', |
| 'action': ['<(tweak_info_plist_path)', |
| '-b<(mac_breakpad)', |
| '-k<(mac_keystone)', |
| '-s1', |
| '<(branding)', |
| '<(mac_bundle_id)'], |
| }, |
| { |
| 'postbuild_name': 'Make .lproj links', |
| 'action': ['<(symlink_lprojs_path)'], |
| }, |
| { |
| 'postbuild_name': 'Symlink Libraries', |
| 'action': [ |
| 'ln', |
| '-fhs', |
| 'Versions/Current/Libraries', |
| '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Libraries' |
| ], |
| }, |
| ], |
| 'copies': [ |
| { |
| 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Resources', |
| 'files': [ |
| '<(PRODUCT_DIR)/resources/inspector/' |
| ], |
| 'conditions': [ |
| ['mac_breakpad==1', { |
| 'files': [ |
| '<(PRODUCT_DIR)/crash_inspector', |
| '<(PRODUCT_DIR)/crash_report_sender.app' |
| ], |
| }], |
| ], |
| }, |
| ], |
| 'conditions': [ |
| ['mac_breakpad==1', { |
| 'variables': { |
| # A real .dSYM is needed for dump_syms to operate on. |
| 'mac_real_dsym': 1, |
| }, |
| 'sources': [ |
| 'app/breakpad_mac.mm', |
| 'app/breakpad_mac.h', |
| ], |
| 'dependencies': [ |
| '../breakpad/breakpad.gyp:breakpad', |
| ], |
| }, { # else: mac_breakpad!=1 |
| # No Breakpad, put in the stubs. |
| 'sources': [ |
| 'app/breakpad_mac_stubs.mm', |
| 'app/breakpad_mac.h', |
| ], |
| }], # mac_breakpad |
| ['mac_keystone==1', { |
| 'postbuilds': [ |
| { |
| 'postbuild_name': 'Copy KeystoneRegistration.framework', |
| 'action': [ |
| 'tools/build/mac/copy_framework_unversioned', |
| '../third_party/googlemac/Releases/Keystone/KeystoneRegistration.framework', |
| '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks', |
| ], |
| }, |
| { |
| 'postbuild_name': 'Symlink Frameworks', |
| 'action': [ |
| 'ln', |
| '-fhs', |
| 'Versions/Current/Frameworks', |
| '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Frameworks' |
| ], |
| }, |
| ], |
| }], # mac_keystone |
| ['branding=="Chrome"', { |
| 'copies': [ |
| { |
| 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', |
| # TODO(ajwong): This, and the parallel chromium stanza |
| # below really should find a way to share file paths with |
| # ffmpeg.gyp so they don't diverge. (BUG=23602) |
| 'files': [ |
| '../third_party/ffmpeg/binaries/chrome/mac/ia32/libavcodec.52.dylib', |
| '../third_party/ffmpeg/binaries/chrome/mac/ia32/libavformat.52.dylib', |
| '../third_party/ffmpeg/binaries/chrome/mac/ia32/libavutil.50.dylib', |
| ], |
| }, |
| ], |
| }, { # else: 'branding!="Chrome" |
| 'copies': [ |
| { |
| 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Libraries', |
| 'files': [ |
| '../third_party/ffmpeg/binaries/chromium/mac/ia32/libavcodec.52.dylib', |
| '../third_party/ffmpeg/binaries/chromium/mac/ia32/libavformat.52.dylib', |
| '../third_party/ffmpeg/binaries/chromium/mac/ia32/libavutil.50.dylib', |
| ], |
| }, |
| ], |
| }], # branding |
| ], # conditions |
| }], # OS=="mac" |
| ], # conditions |
| }, # target chrome_dll |
| ], # targets |
| }], # OS=="mac" or OS=="win" |
| ['OS=="mac"', |
| { 'targets': [ |
| { |
| 'target_name': 'helper_app', |
| 'type': 'executable', |
| 'product_name': '<(mac_product_name) Helper', |
| 'mac_bundle': 1, |
| 'dependencies': [ |
| 'chrome_dll', |
| 'interpose_dependency_shim', |
| 'infoplist_strings_tool', |
| ], |
| 'sources': [ |
| # chrome_exe_main.mm's main() is the entry point for the "chrome" |
| # (browser app) target. All it does is jump to chrome_dll's |
| # ChromeMain. This is appropriate for helper processes too, |
| # because the logic to discriminate between process types at run |
| # time is actually directed by the --type command line argument |
| # processed by ChromeMain. Sharing chrome_exe_main.mm with the |
| # browser app will suffice for now. |
| 'app/chrome_exe_main.mm', |
| 'app/helper-Info.plist', |
| ], |
| # TODO(mark): Come up with a fancier way to do this. It should only |
| # be necessary to list helper-Info.plist once, not the three times it |
| # is listed here. |
| 'mac_bundle_resources!': [ |
| 'app/helper-Info.plist', |
| ], |
| # TODO(mark): For now, don't put any resources into this app. Its |
| # resources directory will be a symbolic link to the browser app's |
| # resources directory. |
| 'mac_bundle_resources/': [ |
| ['exclude', '.*'], |
| ], |
| 'xcode_settings': { |
| 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
| 'CHROMIUM_SHORT_NAME': '<(branding)', |
| 'INFOPLIST_FILE': 'app/helper-Info.plist', |
| }, |
| 'copies': [ |
| { |
| 'destination': '<(PRODUCT_DIR)/<(mac_product_name) Helper.app/Contents/MacOS', |
| 'files': [ |
| '<(PRODUCT_DIR)/plugin_carbon_interpose.dylib', |
| ], |
| }, |
| ], |
| 'actions': [ |
| { |
| # Generate the InfoPlist.strings file |
| 'action_name': 'Generating InfoPlist.strings files', |
| 'variables': { |
| 'tool_path': '<(PRODUCT_DIR)/infoplist_strings_tool', |
| # Unique dir to write to so the [lang].lproj/InfoPlist.strings |
| # for the main app and the helper app don't name collide. |
| 'output_path': '<(INTERMEDIATE_DIR)/helper_infoplist_strings', |
| }, |
| 'conditions': [ |
| [ 'branding == "Chrome"', { |
| 'variables': { |
| 'branding_name': 'google_chrome_strings', |
| }, |
| }, { # else branding!="Chrome" |
| 'variables': { |
| 'branding_name': 'chromium_strings', |
| }, |
| }], |
| ], |
| 'inputs': [ |
| '<(tool_path)', |
| '<(version_path)', |
| # TODO: remove this helper when we have loops in GYP |
| '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/<(branding_name)_ZZLOCALE.pak\' <(locales))', |
| ], |
| 'outputs': [ |
| # TODO: remove this helper when we have loops in GYP |
| '>!@(<(apply_locales_cmd) -d \'<(output_path)/ZZLOCALE.lproj/InfoPlist.strings\' <(locales))', |
| ], |
| 'action': [ |
| '<(tool_path)', |
| '-b', '<(branding_name)', |
| '-v', '<(version_path)', |
| '-g', '<(grit_out_dir)', |
| '-o', '<(output_path)', |
| '-t', 'helper', |
| '<@(locales)', |
| ], |
| 'message': 'Generating the language InfoPlist.strings files', |
| 'process_outputs_as_mac_bundle_resources': 1, |
| }, |
| ], |
| 'postbuilds': [ |
| { |
| # The framework (chrome_dll) defines its load-time path |
| # (DYLIB_INSTALL_NAME_BASE) relative to the main executable |
| # (chrome). A different relative path needs to be used in |
| # helper_app. |
| 'postbuild_name': 'Fix Framework Link', |
| 'action': [ |
| 'install_name_tool', |
| '-change', |
| '@executable_path/../Versions/<(version_full)/<(mac_product_name) Framework.framework/<(mac_product_name) Framework', |
| '@executable_path/../../../<(mac_product_name) Framework.framework/<(mac_product_name) Framework', |
| '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}' |
| ], |
| }, |
| { |
| # Modify the Info.plist as needed. The script explains why this |
| # is needed. This is also done in the chrome and chrome_dll |
| # targets. In this case, -b0 and -k0 are used because Breakpad |
| # and Keystone keys are never placed into the helper, only into |
| # the framework. -s0 is used because Subversion keys are only |
| # placed into the main app. |
| 'postbuild_name': 'Tweak Info.plist', |
| 'action': ['<(tweak_info_plist_path)', |
| '-b0', |
| '-k0', |
| '-s0', |
| '<(branding)', |
| '<(mac_bundle_id)'], |
| }, |
| { |
| 'postbuild_name': 'Make .lproj links', |
| 'action': ['<(symlink_lprojs_path)'], |
| }, |
| ], |
| 'conditions': [ |
| ['mac_breakpad==1', { |
| 'variables': { |
| # A real .dSYM is needed for dump_syms to operate on. |
| 'mac_real_dsym': 1, |
| }, |
| }], |
| ], |
| }, # target helper_app |
| { |
| # Convenience target to build a disk image. |
| 'target_name': 'build_app_dmg', |
| # Don't place this in the 'all' list; most won't want it. |
| # In GYP, booleans are 0/1, not True/False. |
| 'suppress_wildcard': 1, |
| 'type': 'none', |
| 'dependencies': [ |
| 'chrome', |
| ], |
| 'variables': { |
| 'build_app_dmg_script_path': 'tools/build/mac/build_app_dmg', |
| }, |
| 'actions': [ |
| { |
| 'inputs': [ |
| '<(build_app_dmg_script_path)', |
| '<(PRODUCT_DIR)/<(branding).app', |
| ], |
| 'outputs': [ |
| '<(PRODUCT_DIR)/<(branding).dmg', |
| ], |
| 'action_name': 'build_app_dmg', |
| 'action': ['<(build_app_dmg_script_path)', '<@(branding)'], |
| }, |
| ], # 'actions' |
| }, |
| { |
| # Dummy target to allow chrome to require plugin_carbon_interpose to |
| # build without actually linking to the resulting library. |
| 'target_name': 'interpose_dependency_shim', |
| 'type': 'executable', |
| 'dependencies': [ |
| 'plugin_carbon_interpose', |
| ], |
| # In release, we end up with a strip step that is unhappy if there is |
| # no binary. Rather than check in a new file for this temporary hack, |
| # just generate a source file on the fly. |
| 'actions': [ |
| { |
| 'action_name': 'generate_stub_main', |
| 'process_outputs_as_sources': 1, |
| 'inputs': [], |
| 'outputs': [ '<(INTERMEDIATE_DIR)/dummy_main.c' ], |
| 'action': [ |
| 'bash', '-c', |
| 'echo "int main() { return 0; }" > <(INTERMEDIATE_DIR)/dummy_main.c' |
| ], |
| }, |
| ], |
| }, |
| { |
| # dylib for interposing Carbon calls in the plugin process. |
| 'target_name': 'plugin_carbon_interpose', |
| 'type': 'shared_library', |
| 'dependencies': [ |
| 'chrome_dll', |
| ], |
| 'sources': [ |
| 'browser/plugin_carbon_interpose_mac.cc', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'link_settings': { |
| 'libraries': [ |
| '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| ], |
| }, |
| 'xcode_settings': { |
| 'DYLIB_COMPATIBILITY_VERSION': '<(version_build_patch)', |
| 'DYLIB_CURRENT_VERSION': '<(version_build_patch)', |
| 'DYLIB_INSTALL_NAME_BASE': '@executable_path', |
| }, |
| 'postbuilds': [ |
| { |
| # The framework (chrome_dll) defines its load-time path |
| # (DYLIB_INSTALL_NAME_BASE) relative to the main executable |
| # (chrome). A different relative path needs to be used in |
| # plugin_carbon_interpose, which runs in the helper_app. |
| 'postbuild_name': 'Fix Framework Link', |
| 'action': [ |
| 'install_name_tool', |
| '-change', |
| '@executable_path/../Versions/<(version_full)/<(mac_product_name) Framework.framework/<(mac_product_name) Framework', |
| '@executable_path/../../../<(mac_product_name) Framework.framework/<(mac_product_name) Framework', |
| '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}' |
| ], |
| }, |
| ], |
| }, |
| { |
| 'target_name': 'infoplist_strings_tool', |
| 'type': 'executable', |
| 'dependencies': [ |
| 'chrome_strings', |
| '../base/base.gyp:base', |
| ], |
| 'include_dirs': [ |
| '<(grit_out_dir)', |
| ], |
| 'sources': [ |
| 'tools/mac_helpers/infoplist_strings_util.mm', |
| ], |
| }, |
| ], # targets |
| }, { # else: OS != "mac" |
| 'targets': [ |
| { |
| 'target_name': 'convert_dict', |
| 'type': 'executable', |
| 'msvs_guid': '42ECD5EC-722F-41DE-B6B8-83764C8016DF', |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| '../base/base.gyp:base_i18n', |
| 'convert_dict_lib', |
| '../third_party/hunspell/hunspell.gyp:hunspell', |
| ], |
| 'sources': [ |
| 'tools/convert_dict/convert_dict.cc', |
| ], |
| }, |
| { |
| 'target_name': 'convert_dict_lib', |
| 'product_name': 'convert_dict', |
| 'type': 'static_library', |
| 'msvs_guid': '1F669F6B-3F4A-4308-E496-EE480BDF0B89', |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'tools/convert_dict/aff_reader.cc', |
| 'tools/convert_dict/aff_reader.h', |
| 'tools/convert_dict/dic_reader.cc', |
| 'tools/convert_dict/dic_reader.h', |
| 'tools/convert_dict/hunspell_reader.cc', |
| 'tools/convert_dict/hunspell_reader.h', |
| ], |
| }, |
| { |
| 'target_name': 'flush_cache', |
| 'type': 'executable', |
| 'msvs_guid': '4539AFB3-B8DC-47F3-A491-6DAC8FD26657', |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| '../base/base.gyp:test_support_base', |
| ], |
| 'sources': [ |
| 'tools/perf/flush_cache/flush_cache.cc', |
| ], |
| }, |
| { |
| 'target_name': 'perf_tests', |
| 'type': 'executable', |
| 'msvs_guid': '9055E088-25C6-47FD-87D5-D9DD9FD75C9F', |
| 'dependencies': [ |
| 'browser', |
| 'common', |
| 'debugger', |
| 'renderer', |
| 'syncapi', |
| 'chrome_resources', |
| 'chrome_strings', |
| '../app/app.gyp:app_base', |
| '../base/base.gyp:base', |
| '../base/base.gyp:test_support_base', |
| '../base/base.gyp:test_support_perf', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| '../webkit/webkit.gyp:glue', |
| ], |
| 'sources': [ |
| 'browser/safe_browsing/database_perftest.cc', |
| 'browser/safe_browsing/filter_false_positive_perftest.cc', |
| 'browser/visitedlink_perftest.cc', |
| 'common/json_value_serializer_perftest.cc', |
| 'test/perf/perftests.cc', |
| 'test/perf/url_parse_perftest.cc', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| ], |
| 'sources!': [ |
| # TODO(port): |
| 'browser/safe_browsing/filter_false_positive_perftest.cc', |
| 'browser/visitedlink_perftest.cc', |
| ], |
| }], |
| ['OS=="win" or (OS=="linux" and toolkit_views==1)', { |
| 'dependencies': [ |
| '../views/views.gyp:views', |
| ], |
| }], |
| ['OS=="win"', { |
| 'configurations': { |
| 'Debug': { |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| }, |
| }, |
| }, |
| }, |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| }], |
| ], |
| }, |
| # TODO(port): enable on mac. |
| { |
| 'includes': ['test/interactive_ui/interactive_ui_tests.gypi'] |
| }, |
| ], |
| },], # OS!="mac" |
| ['OS=="linux"', |
| { 'targets': [ |
| { |
| 'target_name': 'linux_symbols', |
| 'type': 'none', |
| 'conditions': [ |
| ['linux_dump_symbols==1', { |
| 'actions': [ |
| { |
| 'action_name': 'dump_symbols', |
| 'inputs': [ |
| '<(DEPTH)/build/linux/dump_app_syms', |
| '<(DEPTH)/build/linux/dump_signature.py', |
| '<(PRODUCT_DIR)/dump_syms', |
| '<(PRODUCT_DIR)/chrome', |
| ], |
| 'outputs': [ |
| '<(PRODUCT_DIR)/chrome.breakpad.<(target_arch)', |
| ], |
| 'action': ['<(DEPTH)/build/linux/dump_app_syms', |
| '<(PRODUCT_DIR)/dump_syms', |
| '<(linux_strip_binary)', |
| '<(PRODUCT_DIR)/chrome', |
| '<@(_outputs)'], |
| 'message': 'Dumping breakpad symbols to <(_outputs)', |
| 'process_outputs_as_sources': 1, |
| }, |
| ], |
| 'dependencies': [ |
| 'chrome', |
| '../breakpad/breakpad.gyp:dump_syms', |
| ], |
| }], |
| ], |
| } |
| ], |
| },], # OS=="linux" |
| ['OS!="win"', |
| { 'targets': [ |
| { |
| # Executable that runs each browser test in a new process. |
| 'target_name': 'browser_tests', |
| 'type': 'executable', |
| 'dependencies': [ |
| 'browser', |
| 'chrome', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'debugger', |
| 'syncapi', |
| 'test_support_common', |
| '../app/app.gyp:app_base', |
| '../base/base.gyp:base', |
| '../base/base.gyp:base_i18n', |
| '../base/base.gyp:test_support_base', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], |
| 'sources': [ |
| 'test/in_process_browser_test.cc', |
| 'test/in_process_browser_test.h', |
| 'test/test_launcher/out_of_proc_test_runner.cc', |
| 'test/test_launcher/test_runner.cc', |
| 'test/test_launcher/test_runner.h', |
| 'test/test_launcher/run_all_unittests.cc', |
| 'test/unit/chrome_test_suite.h', |
| # browser_tests_sources is defined in 'variables' at the top of the |
| # file. |
| '<@(browser_tests_sources)', |
| ], |
| 'conditions': [ |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| ], |
| }], |
| ['OS=="linux" and (toolkit_views==1 or chromeos==1)', { |
| 'dependencies': [ |
| '../views/views.gyp:views', |
| ], |
| }], |
| ['OS=="mac"', { |
| 'sources': [ |
| 'app/breakpad_mac_stubs.mm', |
| 'app/keystone_glue.h', |
| 'app/keystone_glue.mm', |
| ], |
| 'sources!': [ |
| '<@(browser_tests_sources_exclude_on_mac)', |
| ], |
| # TODO(mark): We really want this for all non-static library |
| # targets, but when we tried to pull it up to the common.gypi |
| # level, it broke other things like the ui, startup, and |
| # page_cycler tests. *shrug* |
| 'xcode_settings': { |
| 'OTHER_LDFLAGS': [ |
| '-Wl,-ObjC', |
| ], |
| }, |
| }], |
| ], # conditions |
| }, # target browser_tests |
| ], # targets |
| }], # OS!="win" |
| ['OS=="win"', |
| { 'targets': [ |
| { |
| # TODO(sgk): remove this when we change the buildbots to |
| # use the generated build\all.sln file to build the world. |
| 'target_name': 'pull_in_all', |
| 'type': 'none', |
| 'dependencies': [ |
| 'installer/mini_installer.gyp:*', |
| 'installer/installer.gyp:*', |
| '../app/app.gyp:*', |
| '../base/base.gyp:*', |
| '../ipc/ipc.gyp:*', |
| '../media/media.gyp:*', |
| '../net/net.gyp:*', |
| '../printing/printing.gyp:*', |
| '../rlz/rlz.gyp:*', |
| '../sdch/sdch.gyp:*', |
| '../skia/skia.gyp:*', |
| '../testing/gmock.gyp:*', |
| '../testing/gtest.gyp:*', |
| '../third_party/bsdiff/bsdiff.gyp:*', |
| '../third_party/bspatch/bspatch.gyp:*', |
| '../third_party/bzip2/bzip2.gyp:*', |
| '../third_party/cld/cld.gyp:cld', |
| '../third_party/codesighs/codesighs.gyp:*', |
| '../third_party/icu/icu.gyp:*', |
| '../third_party/libjpeg/libjpeg.gyp:*', |
| '../third_party/libpng/libpng.gyp:*', |
| '../third_party/libxml/libxml.gyp:*', |
| '../third_party/libxslt/libxslt.gyp:*', |
| '../third_party/lzma_sdk/lzma_sdk.gyp:*', |
| '../third_party/modp_b64/modp_b64.gyp:*', |
| '../third_party/npapi/npapi.gyp:*', |
| '../third_party/sqlite/sqlite.gyp:*', |
| '../third_party/tcmalloc/tcmalloc.gyp:*', |
| '../third_party/zlib/zlib.gyp:*', |
| '../webkit/tools/test_shell/test_shell.gyp:*', |
| '../webkit/webkit.gyp:*', |
| |
| '../build/temp_gyp/googleurl.gyp:*', |
| |
| '../breakpad/breakpad.gyp:*', |
| '../courgette/courgette.gyp:*', |
| '../gears/gears.gyp:*', |
| '../rlz/rlz.gyp:*', |
| '../sandbox/sandbox.gyp:*', |
| '../tools/memory_watcher/memory_watcher.gyp:*', |
| '../v8/tools/gyp/v8.gyp:v8_shell', |
| ], |
| 'conditions': [ |
| ['chrome_frame_define==1', { |
| 'dependencies': [ |
| '../chrome_frame/chrome_frame.gyp:*', |
| ], |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'chrome_dll_version', |
| 'type': 'none', |
| #'msvs_guid': '414D4D24-5D65-498B-A33F-3A29AD3CDEDC', |
| 'dependencies': [ |
| '../build/util/build_util.gyp:lastchange', |
| ], |
| 'direct_dependent_settings': { |
| 'include_dirs': [ |
| '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version', |
| ], |
| }, |
| 'actions': [ |
| { |
| 'action_name': 'version', |
| 'variables': { |
| 'lastchange_path': |
| '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
| 'template_input_path': 'app/chrome_dll_version.rc.version', |
| }, |
| 'conditions': [ |
| [ 'branding == "Chrome"', { |
| 'variables': { |
| 'branding_path': 'app/theme/google_chrome/BRANDING', |
| }, |
| }, { # else branding!="Chrome" |
| 'variables': { |
| 'branding_path': 'app/theme/chromium/BRANDING', |
| }, |
| }], |
| ], |
| 'inputs': [ |
| '<(template_input_path)', |
| '<(version_path)', |
| '<(branding_path)', |
| '<(lastchange_path)', |
| ], |
| 'outputs': [ |
| '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc', |
| ], |
| 'action': [ |
| 'python', |
| '<(version_py_path)', |
| '-f', '<(version_path)', |
| '-f', '<(branding_path)', |
| '-f', '<(lastchange_path)', |
| '<(template_input_path)', |
| '<@(_outputs)', |
| ], |
| 'message': 'Generating version information in <(_outputs)' |
| }, |
| ], |
| }, |
| { |
| 'target_name': 'automation', |
| 'type': '<(library)', |
| 'msvs_guid': '1556EF78-C7E6-43C8-951F-F6B43AC0DD12', |
| 'dependencies': [ |
| 'theme_resources', |
| '../skia/skia.gyp:skia', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/automation/autocomplete_edit_proxy.cc', |
| 'test/automation/autocomplete_edit_proxy.h', |
| 'test/automation/automation_constants.h', |
| 'test/automation/automation_handle_tracker.cc', |
| 'test/automation/automation_handle_tracker.h', |
| 'test/automation/automation_messages.h', |
| 'test/automation/automation_messages_internal.h', |
| 'test/automation/automation_proxy.cc', |
| 'test/automation/automation_proxy.h', |
| 'test/automation/browser_proxy.cc', |
| 'test/automation/browser_proxy.h', |
| 'test/automation/tab_proxy.cc', |
| 'test/automation/tab_proxy.h', |
| 'test/automation/window_proxy.cc', |
| 'test/automation/window_proxy.h', |
| ], |
| }, |
| { |
| # Windows-only for now; this has issues with scons |
| # regarding use of run_all_unittests.cc. |
| # TODO(zork): add target to linux build. |
| 'target_name': 'sync_integration_tests', |
| 'type': 'executable', |
| 'dependencies': [ |
| 'browser', |
| 'chrome', |
| 'chrome_resources', |
| 'common', |
| 'debugger', |
| 'renderer', |
| 'chrome_resources', |
| 'chrome_strings', |
| 'syncapi', |
| 'test_support_unit', |
| '../printing/printing.gyp:printing', |
| '../webkit/api/WebKit.gyp:webkit', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| '../third_party/libxml/libxml.gyp:libxml', |
| '../third_party/npapi/npapi.gyp:npapi', |
| ], |
| 'include_dirs': [ |
| '..', |
| '<(INTERMEDIATE_DIR)', |
| ], |
| # TODO(phajdan.jr): Only temporary, to make transition easier. |
| 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], |
| 'sources': [ |
| 'app/chrome_dll.rc', |
| 'app/chrome_dll_resource.h', |
| 'app/chrome_dll_version.rc.version', |
| 'test/in_process_browser_test.cc', |
| 'test/in_process_browser_test.h', |
| 'test/live_sync/bookmark_model_verifier.cc', |
| 'test/live_sync/bookmark_model_verifier.h', |
| 'test/live_sync/live_bookmarks_sync_test.cc', |
| 'test/live_sync/live_bookmarks_sync_test.h', |
| 'test/live_sync/profile_sync_service_test_harness.cc', |
| 'test/live_sync/profile_sync_service_test_harness.h', |
| 'test/live_sync/single_client_live_bookmarks_sync_unittest.cc', |
| 'test/live_sync/two_client_live_bookmarks_sync_test.cc', |
| 'test/test_launcher/run_all_unittests.cc', |
| 'test/test_notification_tracker.cc', |
| 'test/test_notification_tracker.h', |
| 'test/testing_browser_process.h', |
| 'test/ui_test_utils_linux.cc', |
| 'test/ui_test_utils_mac.cc', |
| 'test/ui_test_utils_win.cc', |
| 'test/data/resource.h', |
| 'test/data/resource.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
| ], |
| 'conditions': [ |
| # Plugin code. |
| ['OS=="linux" or OS=="win"', { |
| 'dependencies': [ |
| 'plugin', |
| ], |
| 'export_dependent_settings': [ |
| 'plugin', |
| ], |
| }], |
| # Linux-specific rules. |
| ['OS=="linux"', { |
| 'dependencies': [ |
| '../build/linux/system.gyp:gtk', |
| ], |
| }], |
| # Windows-specific rules. |
| ['OS=="win"', { |
| 'include_dirs': [ |
| 'third_party/wtl/include', |
| ], |
| 'dependencies': [ |
| 'chrome_dll_version', |
| 'installer/installer.gyp:installer_util_strings', |
| '../views/views.gyp:views', |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| 'configurations': { |
| 'Debug': { |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| }, |
| }, |
| }, |
| }, |
| }], |
| ], |
| }, |
| { |
| # Shared library used by the in-proc browser tests. |
| 'target_name': 'browser_tests_dll', |
| 'type': 'shared_library', |
| 'product_name': 'browser_tests', |
| 'msvs_guid': 'D7589D0D-304E-4589-85A4-153B7D84B07F', |
| 'dependencies': [ |
| 'chrome', |
| 'browser', |
| 'chrome_dll_version', |
| 'chrome_resources', |
| 'installer/installer.gyp:installer_util_strings', |
| 'debugger', |
| 'renderer', |
| 'syncapi', |
| '../base/base.gyp:test_support_base', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| '../third_party/icu/icu.gyp:icui18n', |
| '../third_party/icu/icu.gyp:icuuc', |
| ], |
| 'include_dirs': [ |
| '..', |
| 'third_party/wtl/include', |
| ], |
| 'configurations': { |
| 'Debug': { |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| }, |
| }, |
| }, |
| }, |
| 'defines': [ 'ALLOW_IN_PROC_BROWSER_TEST' ], |
| 'sources': [ |
| 'test/in_process_browser_test.cc', |
| 'test/in_process_browser_test.h', |
| 'test/test_launcher/run_all_unittests.cc', |
| 'test/unit/chrome_test_suite.h', |
| 'test/ui_test_utils.cc', |
| 'test/ui_test_utils_linux.cc', |
| 'test/ui_test_utils_mac.cc', |
| 'test/ui_test_utils_win.cc', |
| 'app/chrome_dll.rc', |
| 'app/chrome_dll_resource.h', |
| 'app/chrome_dll_version.rc.version', |
| '<(SHARED_INTERMEDIATE_DIR)/app/app_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
| # browser_tests_sources and browser_tests_source_win_specific are |
| # defined in 'variables' at the top of the file. |
| '<@(browser_tests_sources)', |
| '<@(browser_tests_sources_win_specific)', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| },], |
| ], |
| }, |
| { |
| # Executable that runs the browser tests in-process. |
| 'target_name': 'browser_tests', |
| 'type': 'executable', |
| 'msvs_guid': '9B87804D-2502-480B-95AE-5A572CE91809', |
| 'dependencies': [ |
| 'browser_tests_dll', |
| '../base/base.gyp:base', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/test_launcher/in_proc_test_runner.cc', |
| 'test/test_launcher/test_runner.cc', |
| 'test/test_launcher/test_runner.h', |
| ], |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| # Use a PDB name different than the one for the DLL. |
| 'ProgramDatabaseFile': '$(OutDir)\\browser_tests_exe.pdb', |
| }, |
| }, |
| }, |
| { |
| # Executable that runs the tests in-process (tests are bundled in a DLL). |
| 'target_name': 'test_launcher', |
| 'type': 'executable', |
| 'msvs_guid': 'FA94F5AA-BC73-4926-A189-71FAA986C905', |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/test_launcher/in_proc_test_runner.cc', |
| 'test/test_launcher/test_runner.cc', |
| 'test/test_launcher/test_runner.h', |
| ], |
| }, |
| { |
| 'target_name': 'crash_service', |
| 'type': 'executable', |
| 'msvs_guid': '89C1C190-A5D1-4EC4-BD6A-67FF2195C7CC', |
| 'dependencies': [ |
| 'common_constants', |
| '../base/base.gyp:base', |
| '../breakpad/breakpad.gyp:breakpad_handler', |
| '../breakpad/breakpad.gyp:breakpad_sender', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'tools/crash_service/crash_service.cc', |
| 'tools/crash_service/crash_service.h', |
| 'tools/crash_service/main.cc', |
| ], |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| }, |
| }, |
| }, |
| { |
| 'target_name': 'generate_profile', |
| 'type': 'executable', |
| 'msvs_guid': '2E969AE9-7B12-4EDB-8E8B-48C7AE7BE357', |
| 'dependencies': [ |
| 'browser', |
| 'debugger', |
| 'renderer', |
| 'syncapi', |
| '../base/base.gyp:base', |
| '../skia/skia.gyp:skia', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'tools/profiles/generate_profile.cc', |
| 'tools/profiles/thumbnail-inl.h', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| 'configurations': { |
| 'Debug': { |
| 'msvs_settings': { |
| 'VCLinkerTool': { |
| 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| }, |
| }, |
| }, |
| }, |
| }], |
| ], |
| }, |
| { |
| 'target_name': 'plugin_tests', |
| 'type': 'executable', |
| 'msvs_guid': 'A1CAA831-C507-4B2E-87F3-AEC63C9907F9', |
| 'dependencies': [ |
| 'chrome_resources', |
| 'chrome_strings', |
| 'security_tests', # run time dependency |
| 'test_support_common', |
| 'test_support_ui', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| '../third_party/libxml/libxml.gyp:libxml', |
| '../third_party/libxslt/libxslt.gyp:libxslt', |
| '../third_party/npapi/npapi.gyp:npapi', |
| ], |
| 'include_dirs': [ |
| '..', |
| 'third_party/wtl/include', |
| ], |
| 'sources': [ |
| 'test/plugin/plugin_test.cpp', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| },], |
| ], |
| }, |
| { |
| 'target_name': 'security_tests', |
| 'type': 'shared_library', |
| 'msvs_guid': 'E750512D-FC7C-4C98-BF04-0A0DAF882055', |
| 'include_dirs': [ |
| '..', |
| ], |
| 'sources': [ |
| 'test/injection_test_dll.h', |
| 'test/security_tests/ipc_security_tests.cc', |
| 'test/security_tests/ipc_security_tests.h', |
| 'test/security_tests/security_tests.cc', |
| '../sandbox/tests/validation_tests/commands.cc', |
| '../sandbox/tests/validation_tests/commands.h', |
| ], |
| }, |
| { |
| 'target_name': 'selenium_tests', |
| 'type': 'executable', |
| 'msvs_guid': 'E3749617-BA3D-4230-B54C-B758E56D9FA5', |
| 'dependencies': [ |
| 'chrome_resources', |
| 'chrome_strings', |
| 'test_support_common', |
| 'test_support_ui', |
| '../skia/skia.gyp:skia', |
| '../testing/gtest.gyp:gtest', |
| ], |
| 'include_dirs': [ |
| '..', |
| 'third_party/wtl/include', |
| ], |
| 'sources': [ |
| 'test/selenium/selenium_test.cc', |
| ], |
| 'conditions': [ |
| ['OS=="win"', { |
| 'dependencies': [ |
| '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
| ], |
| },], |
| ], |
| }, |
| { |
| 'target_name': 'test_chrome_plugin', |
| 'type': 'shared_library', |
| 'msvs_guid': '7F0A70F6-BE3F-4C19-B435-956AB8F30BA4', |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| '../build/temp_gyp/googleurl.gyp:googleurl', |
| ], |
| 'include_dirs': [ |
| '..', |
| ], |
| 'link_settings': { |
| 'libraries': [ |
| '-lwinmm.lib', |
| ], |
| }, |
| 'sources': [ |
| 'test/chrome_plugin/test_chrome_plugin.cc', |
| 'test/chrome_plugin/test_chrome_plugin.def', |
| 'test/chrome_plugin/test_chrome_plugin.h', |
| ], |
| }, |
| ]}, # 'targets' |
| ], # OS=="win" |
| # TODO(jrg): add in Windows code coverage targets. |
| ['coverage!=0', |
| { 'targets': [ |
| { |
| 'target_name': 'coverage', |
| # do NOT place this in the 'all' list; most won't want it. |
| # In gyp, booleans are 0/1 not True/False. |
| 'suppress_wildcard': 1, |
| 'type': 'none', |
| # If you add new tests here you may need to update the croc configs. |
| # E.g. build/{linux|mac}/chrome_linux.croc |
| 'dependencies': [ |
| 'automated_ui_tests', |
| '../app/app.gyp:app_unittests', |
| '../base/base.gyp:base_unittests', |
| '../ipc/ipc.gyp:ipc_tests', |
| '../media/media.gyp:media_unittests', |
| '../net/net.gyp:net_unittests', |
| '../printing/printing.gyp:printing_unittests', |
| 'ui_tests', |
| 'unit_tests', |
| ], |
| 'actions': [ |
| { |
| # 'message' for Linux/scons in particular. Scons |
| # requires the 'coverage' target be run from within |
| # src/chrome. |
| 'message': 'Running coverage_posix.py to generate coverage numbers', |
| # MSVS must have an input file and an output file. |
| 'inputs': [ '../tools/code_coverage/coverage_posix.py' ], |
| 'outputs': [ '<(PRODUCT_DIR)/coverage.info' ], |
| 'action_name': 'coverage', |
| 'action': [ 'python', |
| '../tools/code_coverage/coverage_posix.py', |
| '--directory', |
| '<(PRODUCT_DIR)', |
| '--src_root', |
| '..', |
| '--', |
| '<@(_dependencies)'], |
| # Use outputs of this action as inputs for the main target build. |
| # Seems as a misnomer but makes this happy on Linux (scons). |
| 'process_outputs_as_sources': 1, |
| }, |
| ], # 'actions' |
| }, |
| ] |
| }], |
| ], # 'conditions' |
| } |
| |
| # Local Variables: |
| # tab-width:2 |
| # indent-tabs-mode:nil |
| # End: |
| # vim: set expandtab tabstop=2 shiftwidth=2: |