OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 assert(is_win) | 8 assert(is_win) |
9 | 9 |
10 # This file only contains utility functions which must only depend on kernel32 | 10 # This file only contains utility functions which must only depend on kernel32 |
(...skipping 11 matching lines...) Expand all Loading... |
22 libs = [ | 22 libs = [ |
23 "kernel32.lib", | 23 "kernel32.lib", |
24 "advapi32.lib", | 24 "advapi32.lib", |
25 ] | 25 ] |
26 | 26 |
27 configs += [ | 27 configs += [ |
28 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 28 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
29 "//build/config/compiler:no_size_t_to_int_warning", | 29 "//build/config/compiler:no_size_t_to_int_warning", |
30 ] | 30 ] |
31 } | 31 } |
| 32 |
| 33 test("install_static_unittests") { |
| 34 output_name = "install_static_unittests" |
| 35 sources = [ |
| 36 "install_util_unittest.cc", |
| 37 ] |
| 38 include_dirs = [ "$target_gen_dir" ] |
| 39 deps = [ |
| 40 "//base", |
| 41 "//base/test:run_all_unittests", |
| 42 "//base/test:test_support", |
| 43 "//chrome/install_static:install_static_util", |
| 44 "//testing/gmock", |
| 45 "//testing/gtest", |
| 46 ] |
| 47 } |
OLD | NEW |