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

Side by Side Diff: chrome/tools/disable_outdated_build_detector/BUILD.gn

Issue 2328493002: Remove the tool to disable the outdated build detector for organic installs of Chrome. (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/tools/build/win/FILES.cfg ('k') | chrome/tools/disable_outdated_build_detector/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//chrome/version.gni")
6 import("//testing/test.gni")
7
8 if (is_win) {
9 config("xp") {
10 # Target low-end CPUs on XP.
11 cflags = [ "/arch:IA32" ]
12 defines = [
13 "NTDDI_VERSION=0x05010200",
14 "WINVER=0x0501",
15 "_WIN32_WINNT=0x0501",
16 ]
17 }
18
19 executable("disable_outdated_build_detector") {
20 sources = [
21 "disable_outdated_build_detector_main.cc",
22 ]
23
24 configs -= [
25 "//build/config/win:console",
26 "//build/config/win:winver",
27 ]
28 configs += [
29 "//build/config/win:windowed",
30 ":xp",
31 ]
32
33 deps = [
34 ":disable_outdated_build_detector_exe_version",
35 ":lib",
36 "//build/win:default_exe_manifest",
37 ]
38 }
39
40 process_version("disable_outdated_build_detector_exe_version") {
41 template_file = "disable_outdated_build_detector_exe_version.rc.version"
42 output = "$target_gen_dir/disable_outdated_build_detector_exe_version.rc"
43 }
44
45 source_set("lib") {
46 sources = [
47 "constants.cc",
48 "constants.h",
49 "disable_outdated_build_detector.cc",
50 "disable_outdated_build_detector.h",
51 "google_update_integration.cc",
52 "google_update_integration.h",
53 ]
54 configs -= [ "//build/config/win:winver" ]
55 configs += [ ":xp" ]
56 }
57
58 test("disable_outdated_build_detector_unittests") {
59 sources = [
60 "disable_outdated_build_detector_unittest.cc",
61 "google_update_integration_unittest.cc",
62 "run_all_unittests.cc",
63 ]
64
65 deps = [
66 ":lib",
67 "//base",
68 "//base/test:test_support",
69 "//chrome/installer/util:with_no_strings",
70 "//testing/gmock",
71 "//testing/gtest",
72 ]
73 }
74 }
OLDNEW
« no previous file with comments | « chrome/tools/build/win/FILES.cfg ('k') | chrome/tools/disable_outdated_build_detector/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698