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

Side by Side Diff: chrome/installer/setup/BUILD.gn

Issue 2338093003: Revert of gn: Generalize process_version() and move it to build/util (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/installer/mini_installer/BUILD.gn ('k') | chrome/process_version_rc_template.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//chrome/process_version_rc_template.gni") 5 import("//chrome/version.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_win) { 8 if (is_win) {
9 executable("setup") { 9 executable("setup") {
10 sources = [ 10 sources = [
11 "setup.ico", 11 "setup.ico",
12 "setup.rc", 12 "setup.rc",
13 "setup_exe_version.rc.version", 13 "setup_exe_version.rc.version",
14 "setup_main.cc", 14 "setup_main.cc",
15 "setup_main.h", 15 "setup_main.h",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 "//components/crash/content/app:lib", 71 "//components/crash/content/app:lib",
72 "//components/crash/core/common", 72 "//components/crash/core/common",
73 "//content/public/common:static_switches", 73 "//content/public/common:static_switches",
74 "//courgette:courgette_lib", 74 "//courgette:courgette_lib",
75 "//rlz:rlz_lib", 75 "//rlz:rlz_lib",
76 "//third_party/bspatch", 76 "//third_party/bspatch",
77 "//third_party/zlib", 77 "//third_party/zlib",
78 ] 78 ]
79 } 79 }
80 80
81 process_version_rc_template("setup_exe_version") { 81 process_version("setup_exe_version") {
82 template_file = "setup_exe_version.rc.version" 82 template_file = "setup_exe_version.rc.version"
83 output = "$target_gen_dir/setup_exe_version.rc" 83 output = "$target_gen_dir/setup_exe_version.rc"
84 } 84 }
85 85
86 # This test covers the mini installer and setup tests. 86 # This test covers the mini installer and setup tests.
87 test("setup_unittests") { 87 test("setup_unittests") {
88 sources = [ 88 sources = [
89 "archive_patch_helper_unittest.cc", 89 "archive_patch_helper_unittest.cc",
90 "install_unittest.cc", 90 "install_unittest.cc",
91 "install_worker_unittest.cc", 91 "install_worker_unittest.cc",
(...skipping 16 matching lines...) Expand all
108 "//testing/gmock", 108 "//testing/gmock",
109 "//testing/gtest", 109 "//testing/gtest",
110 ] 110 ]
111 111
112 data = [ 112 data = [
113 "//chrome/installer/test/data/", 113 "//chrome/installer/test/data/",
114 "//chrome/test/data/installer/", 114 "//chrome/test/data/installer/",
115 ] 115 ]
116 } 116 }
117 } 117 }
OLDNEW
« no previous file with comments | « chrome/installer/mini_installer/BUILD.gn ('k') | chrome/process_version_rc_template.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698