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

Unified Diff: chrome/tools/disable_outdated_build_detector/BUILD.gn

Issue 2193823002: A tool to disable the outdated build detector for organic installs of Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromium.fyi.json 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
« no previous file with comments | « chrome/browser/google/google_brand.cc ('k') | chrome/tools/disable_outdated_build_detector/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/disable_outdated_build_detector/BUILD.gn
diff --git a/chrome/tools/disable_outdated_build_detector/BUILD.gn b/chrome/tools/disable_outdated_build_detector/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..4b4415ba487afaa3e080a89ea030a6bf963c4948
--- /dev/null
+++ b/chrome/tools/disable_outdated_build_detector/BUILD.gn
@@ -0,0 +1,61 @@
+# 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.
+
+import("//chrome/version.gni")
+import("//testing/test.gni")
+
+if (is_win) {
+ executable("disable_outdated_build_detector") {
+ sources = [
+ "disable_outdated_build_detector_main.cc",
+ ]
+
+ configs -= [ "//build/config/win:console" ]
+ configs += [ "//build/config/win:windowed" ]
+
+ deps = [
+ ":disable_outdated_build_detector_exe_version",
+ ":lib",
+ "//base",
+ "//build/win:default_exe_manifest",
+ ]
+ }
+
+ process_version("disable_outdated_build_detector_exe_version") {
+ template_file = "disable_outdated_build_detector_exe_version.rc.version"
+ output = "$target_gen_dir/disable_outdated_build_detector_exe_version.rc"
+ }
+
+ source_set("lib") {
+ sources = [
+ "constants.cc",
+ "constants.h",
+ "disable_outdated_build_detector.cc",
+ "disable_outdated_build_detector.h",
+ "google_update_integration.cc",
+ "google_update_integration.h",
+ ]
+
+ public_deps = [
+ "//base",
+ ]
+ }
+
+ test("disable_outdated_build_detector_unittests") {
+ sources = [
+ "disable_outdated_build_detector_unittest.cc",
+ "google_update_integration_unittest.cc",
+ "run_all_unittests.cc",
+ ]
+
+ deps = [
+ ":lib",
+ "//base",
+ "//base/test:test_support",
+ "//chrome/installer/util:with_no_strings",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+ }
+}
« no previous file with comments | « chrome/browser/google/google_brand.cc ('k') | chrome/tools/disable_outdated_build_detector/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698