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

Side by Side 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: format tweak 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 unified diff | Download patch
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 executable("disable_outdated_build_detector") {
10 sources = [
11 "disable_outdated_build_detector_exe_version.rc.version",
Dirk Pranke 2016/08/02 17:27:41 I don't think the .version file needs to be (or sh
grt (UTC plus 2) 2016/08/03 14:14:25 Thanks. Yes, the target is rebuilt after changes t
12 "disable_outdated_build_detector_main.cc",
13 ]
14
15 configs -= [ "//build/config/win:console" ]
16 configs += [ "//build/config/win:windowed" ]
17
18 deps = [
19 ":disable_outdated_build_detector_exe_version",
20 ":lib",
21 "//base",
22 "//build/win:default_exe_manifest",
23 ]
24 }
25
26 process_version("disable_outdated_build_detector_exe_version") {
27 template_file = "disable_outdated_build_detector_exe_version.rc.version"
28 output = "$target_gen_dir/disable_outdated_build_detector_exe_version.rc"
29 }
30
31 source_set("lib") {
32 sources = [
33 "constants.cc",
34 "constants.h",
35 "disable_outdated_build_detector.cc",
36 "disable_outdated_build_detector.h",
37 "google_update_integration.cc",
38 "google_update_integration.h",
39 ]
40
41 public_deps = [
42 "//base",
43 ]
44 }
45
46 test("disable_outdated_build_detector_unittests") {
47 sources = [
48 "disable_outdated_build_detector_unittest.cc",
49 "google_update_integration_unittest.cc",
50 "run_all_unittests.cc",
51 ]
52
53 deps = [
54 ":lib",
55 "//base",
56 "//base/test:test_support",
57 "//chrome/installer/util:with_no_strings",
58 "//testing/gmock",
59 "//testing/gtest",
60 ]
61 }
62 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698