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

Unified Diff: chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.gyp

Issue 2255783003: Make the outdated build detector disabler load and run on XP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: suppress wstring warnings Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.gyp
diff --git a/chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.gyp b/chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.gyp
deleted file mode 100644
index 2dadd0f0d7ab07a48ae62c7874b30d4ffad1bfd2..0000000000000000000000000000000000000000
--- a/chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.gyp
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright (c) 2016 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,
- 'branding_dir': '../../../chrome/app/theme/<(branding_path_component)',
- },
- 'includes': [
- '../../../build/util/version.gypi',
- ],
- 'targets': [{
- 'target_name': 'disable_outdated_build_detector_lib',
- 'type': 'static_library',
- 'dependencies': [
- '../../../base/base.gyp:base',
- ],
- 'include_dirs': [
- '../../..',
- ],
- 'sources': [
- 'constants.cc',
- 'constants.h',
- 'disable_outdated_build_detector.cc',
- 'disable_outdated_build_detector.h',
- 'google_update_integration.cc',
- 'google_update_integration.h',
- ],
- },{
- 'target_name': 'disable_outdated_build_detector',
- 'type': 'executable',
- 'dependencies': [
- '../../../base/base.gyp:base',
- 'disable_outdated_build_detector_lib',
- ],
- 'include_dirs': [
- '../../..',
- ],
- 'sources': [
- 'disable_outdated_build_detector_exe_version.rc.version',
- 'disable_outdated_build_detector_main.cc',
- ],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
- },
- 'VCManifestTool': {
- 'AdditionalManifestFiles': [
- '$(ProjectDir)\\disable_outdated_build_detector.exe.manifest',
- ],
- },
- },
- 'rules': [
- {
- 'rule_name': 'disable_outdated_build_detector_version',
- 'extension': 'version',
- 'variables': {
- 'version_py_path': '<(DEPTH)/build/util/version.py',
- 'template_input_path': '../../../chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector_exe_version.rc.version',
- },
- 'inputs': [
- '<(template_input_path)',
- '<(version_path)',
- '<(lastchange_path)',
- '<(branding_dir)/BRANDING',
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector_exe_version.rc',
- ],
- 'action': [
- 'python', '<(version_py_path)',
- '-f', '<(version_path)',
- '-f', '<(lastchange_path)',
- '-f', '<(branding_dir)/BRANDING',
- '<(template_input_path)',
- '<@(_outputs)',
- ],
- 'process_outputs_as_sources': 1,
- 'message': 'Generating version information'
- },
- ],
- 'conditions': [
- ['target_arch=="ia32"', {
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableEnhancedInstructionSet': '4', # NoExtensions
- },
- },
- }],
- ],
- },{
- 'target_name': 'disable_outdated_build_detector_unittests',
- 'type': '<(gtest_target_type)',
- 'dependencies': [
- 'disable_outdated_build_detector_lib',
- '../../../base/base.gyp:base',
- '../../../base/base.gyp:test_support_base',
- '../../../chrome/chrome.gyp:installer_util',
- '../../../testing/gmock.gyp:gmock',
- '../../../testing/gtest.gyp:gtest',
- ],
- 'include_dirs': [
- '../../..',
- ],
- 'sources': [
- 'disable_outdated_build_detector_unittest.cc',
- 'google_update_integration_unittest.cc',
- 'run_all_unittests.cc',
- ],
- },{
- 'target_name': 'disable_outdated_build_detector_unittests_run',
- 'type': 'none',
- 'dependencies': [
- 'disable_outdated_build_detector_unittests',
- ],
- 'includes': [
- '../../../build/isolate.gypi',
- ],
- 'sources': [
- 'disable_outdated_build_detector_unittests.isolate',
- ],
- }],
-}

Powered by Google App Engine
This is Rietveld 408576698