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.
5 static_library("util") {
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
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",
31 script = "prebuild/create_string_rc.py"
33 if (is_chrome_branded) {
34 grdfile = "//chrome/app/google_chrome_strings.grd"
36 grdfile = "//chrome/app/chromium_strings.grd"
41 # TODO(brettw) move to target_gen_dir
42 outdir = "$root_gen_dir/installer_util_strings"
44 "$outdir/installer_util_strings.h",
45 "$outdir/installer_util_strings.rc",
49 "-i", rebase_path(grdfile, root_build_dir) + ":resources",
50 "-n", "installer_util_strings",
51 "-o", rebase_path(outdir, root_build_dir),