OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 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 import("//build/config/chrome_build.gni") |
| 6 import("//testing/test.gni") |
| 7 |
| 8 # This file only contains utility functions which must only depend on kernel32 |
| 9 # and advapi32. Please don't add dependencies on other system libraries. |
| 10 static_library("install_static_util") { |
| 11 deps = [ |
| 12 "//base", |
| 13 ] |
| 14 |
| 15 if (is_win) { |
| 16 # TODO(GYP) install_static_util on Windows. |
| 17 # This is a bit tricky. It seems that what's currently called |
| 18 # install_static_nacl_win64 should be a different target with a different |
| 19 # name ("installer_static_minimal"?) since it's not strictly the 64-bit |
| 20 # build of that target. |
| 21 sources = [ |
| 22 "install_util.cc", |
| 23 "install_util.h", |
| 24 ] |
| 25 |
| 26 libs = [ |
| 27 "kernel32.lib", |
| 28 "advapi32.lib", |
| 29 ] |
| 30 |
| 31 configs += [ |
| 32 "//build/config:precompiled_headers", |
| 33 |
| 34 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 35 "//build/config/compiler:no_size_t_to_int_warning", |
| 36 ] |
| 37 } |
| 38 } |
OLD | NEW |