| Index: chrome/install_static/BUILD.gn
 | 
| diff --git a/chrome/install_static/BUILD.gn b/chrome/install_static/BUILD.gn
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..25687d277d1b518c79dc65e98259fd5646883997
 | 
| --- /dev/null
 | 
| +++ b/chrome/install_static/BUILD.gn
 | 
| @@ -0,0 +1,38 @@
 | 
| +# Copyright 2016 The Chromium Authors. All rights reserved.
 | 
| +# Use of this source code is governed by a BSD-style license that can be
 | 
| +# found in the LICENSE file.
 | 
| +
 | 
| +import("//build/config/chrome_build.gni")
 | 
| +import("//testing/test.gni")
 | 
| +
 | 
| +# This file only contains utility functions which must only depend on kernel32
 | 
| +# and advapi32. Please don't add dependencies on other system libraries.
 | 
| +static_library("install_static_util") {
 | 
| +  deps = [
 | 
| +    "//base",
 | 
| +  ]
 | 
| +
 | 
| +  if (is_win) {
 | 
| +    # TODO(GYP) install_static_util on Windows.
 | 
| +    # This is a bit tricky. It seems that what's currently called
 | 
| +    # install_static_nacl_win64 should be a different target with a different
 | 
| +    # name ("installer_static_minimal"?) since it's not strictly the 64-bit
 | 
| +    # build of that target.
 | 
| +    sources = [
 | 
| +      "install_util.cc",
 | 
| +      "install_util.h",
 | 
| +    ]
 | 
| +
 | 
| +    libs = [
 | 
| +      "kernel32.lib",
 | 
| +      "advapi32.lib",
 | 
| +    ]
 | 
| +
 | 
| +    configs += [
 | 
| +      "//build/config:precompiled_headers",
 | 
| +
 | 
| +      # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
 | 
| +      "//build/config/compiler:no_size_t_to_int_warning",
 | 
| +    ]
 | 
| +  }
 | 
| +}
 | 
| 
 |