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

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

Issue 489223002: Add chrome, installer_util targets to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 static_library("util") {
6 deps = [
7 "//base",
8 "//chrome:resources",
9 "//chrome:strings",
10 ]
11
12 if (is_win) {
13 # TODO(GYP) installer_util on Windows.
14 # This is a bit tricky. It seems that what's currently called
15 # installer_util_nacl_win64 should be a different target with a different
16 # name ("installer_util_minimal"?) since it's not strictly the 64-bit build
17 # of that target.
18 } else {
19 sources = [
20 "google_update_experiment_util.cc",
21 "google_update_experiment_util.h",
22 "master_preferences.cc",
23 "master_preferences.h",
24 "master_preferences_constants.cc",
25 "master_preferences_constants.h",
26 ]
27 }
28 }
29
30 action("strings") {
31 script = "prebuild/create_string_rc.py"
32
33 if (is_chrome_branded) {
34 grdfile = "//chrome/app/google_chrome_strings.grd"
35 } else {
36 grdfile = "//chrome/app/chromium_strings.grd"
37 }
38
39 inputs = [ grdfile ]
40
41 # TODO(brettw) move to target_gen_dir
42 outdir = "$root_gen_dir/installer_util_strings"
43 outputs = [
44 "$outdir/installer_util_strings.h",
45 "$outdir/installer_util_strings.rc",
46 ]
47
48 args = [
49 "-i", rebase_path(grdfile, root_build_dir) + ":resources",
50 "-n", "installer_util_strings",
51 "-o", rebase_path(outdir, root_build_dir),
52 ]
53 }
OLDNEW
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/renderer/BUILD.gn » ('j') | chrome/version.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698