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

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

Issue 1291763002: Componentize kExperimentLabelSeparator & BuildExperimentDateString. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try moving kExperimentLabels into the component to fix the build on Windows Created 5 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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 static_library("util") { 8 static_library("util") {
9 deps = [ 9 deps = [
10 "//base", 10 "//base",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 "shell_util.h", 54 "shell_util.h",
55 "uninstall_metrics.cc", 55 "uninstall_metrics.cc",
56 "uninstall_metrics.h", 56 "uninstall_metrics.h",
57 "user_experiment.cc", 57 "user_experiment.cc",
58 "user_experiment.h", 58 "user_experiment.h",
59 ] 59 ]
60 deps += [ 60 deps += [
61 ":strings", 61 ":strings",
62 "//base/third_party/dynamic_annotations", 62 "//base/third_party/dynamic_annotations",
63 "//components/metrics", 63 "//components/metrics",
64 "//components/variations",
64 "//courgette:courgette_lib", 65 "//courgette:courgette_lib",
65 "//crypto", 66 "//crypto",
66 "//third_party/bspatch", 67 "//third_party/bspatch",
67 "//third_party/icu", 68 "//third_party/icu",
68 "//third_party/lzma_sdk", 69 "//third_party/lzma_sdk",
69 ] 70 ]
70 71
71 configs += [ 72 configs += [
72 "//build/config:precompiled_headers", 73 "//build/config:precompiled_headers",
73 74
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "duplicate_tree_detector.cc", 116 "duplicate_tree_detector.cc",
116 "duplicate_tree_detector.h", 117 "duplicate_tree_detector.h",
117 "firewall_manager_win.cc", 118 "firewall_manager_win.cc",
118 "firewall_manager_win.h", 119 "firewall_manager_win.h",
119 "google_chrome_binaries_distribution.cc", 120 "google_chrome_binaries_distribution.cc",
120 "google_chrome_binaries_distribution.h", 121 "google_chrome_binaries_distribution.h",
121 "google_chrome_sxs_distribution.cc", 122 "google_chrome_sxs_distribution.cc",
122 "google_chrome_sxs_distribution.h", 123 "google_chrome_sxs_distribution.h",
123 "google_update_constants.cc", 124 "google_update_constants.cc",
124 "google_update_constants.h", 125 "google_update_constants.h",
125 "google_update_experiment_util.cc",
126 "google_update_experiment_util.h",
127 "google_update_settings.cc", 126 "google_update_settings.cc",
128 "google_update_settings.h", 127 "google_update_settings.h",
129 "google_update_util.cc", 128 "google_update_util.cc",
130 "google_update_util.h", 129 "google_update_util.h",
131 "helper.cc", 130 "helper.cc",
132 "helper.h", 131 "helper.h",
133 "install_util.cc", 132 "install_util.cc",
134 "install_util.h", 133 "install_util.h",
135 "installation_state.cc", 134 "installation_state.cc",
136 "installation_state.h", 135 "installation_state.h",
(...skipping 23 matching lines...) Expand all
160 "util_constants.h", 159 "util_constants.h",
161 "wmi.cc", 160 "wmi.cc",
162 "wmi.h", 161 "wmi.h",
163 "work_item.cc", 162 "work_item.cc",
164 "work_item.h", 163 "work_item.h",
165 "work_item_list.cc", 164 "work_item_list.cc",
166 "work_item_list.h", 165 "work_item_list.h",
167 ] 166 ]
168 } else { 167 } else {
169 sources = [ 168 sources = [
170 "google_update_experiment_util.cc",
171 "google_update_experiment_util.h",
172 "master_preferences.cc", 169 "master_preferences.cc",
173 "master_preferences.h", 170 "master_preferences.h",
174 "master_preferences_constants.cc", 171 "master_preferences_constants.cc",
175 "master_preferences_constants.h", 172 "master_preferences_constants.h",
176 ] 173 ]
174 deps += [ "//components/variations" ]
177 } 175 }
178 } 176 }
179 177
180 action("generate_strings") { 178 action("generate_strings") {
181 visibility = [ ":strings" ] 179 visibility = [ ":strings" ]
182 script = "prebuild/create_string_rc.py" 180 script = "prebuild/create_string_rc.py"
183 181
184 if (is_chrome_branded) { 182 if (is_chrome_branded) {
185 grdfile = "//chrome/app/google_chrome_strings.grd" 183 grdfile = "//chrome/app/google_chrome_strings.grd"
186 } else { 184 } else {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 264
267 deps = [ 265 deps = [
268 ":strings", 266 ":strings",
269 ":util", 267 ":util",
270 "//base", 268 "//base",
271 "//base:i18n", 269 "//base:i18n",
272 "//base/test:test_support", 270 "//base/test:test_support",
273 "//chrome:other_version", 271 "//chrome:other_version",
274 "//chrome/common", 272 "//chrome/common",
275 "//chrome/installer/test:alternate_version_generator_lib", 273 "//chrome/installer/test:alternate_version_generator_lib",
274 "//components/variations",
276 "//content/public/common", 275 "//content/public/common",
277 276
278 # TODO(rockot): Remove this hack when we fix mojo environment deps. 277 # TODO(rockot): Remove this hack when we fix mojo environment deps.
279 # See http://crbug.com/501385 278 # See http://crbug.com/501385
280 "//mojo/environment:chromium", 279 "//mojo/environment:chromium",
281 "//testing/gmock", 280 "//testing/gmock",
282 "//testing/gtest", 281 "//testing/gtest",
283 ] 282 ]
284 283
285 # TODO(GYP) manifest: $(ProjectDir)\\installer\\mini_installer\\mini_install er.exe.manifest 284 # TODO(GYP) manifest: $(ProjectDir)\\installer\\mini_installer\\mini_install er.exe.manifest
286 } 285 }
287 } # is_win 286 } # is_win
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698