OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 if (is_win) { | 7 if (is_win) { |
8 test("setup_unittests") { | 8 test("setup_unittests") { |
9 # TODO(robertshield): Move the items marked with "Move to lib" | 9 # TODO(robertshield): Move the items marked with "Move to lib" |
10 # below into a separate lib and then link both setup.exe and | 10 # below into a separate lib and then link both setup.exe and |
11 # setup_unittests.exe against that. | 11 # setup_unittests.exe against that. |
12 sources = [ | 12 sources = [ |
13 "../mini_installer/appid.h", | 13 "../mini_installer/appid.h", |
14 "../mini_installer/chrome.release", # Move to lib | 14 "../mini_installer/chrome.release", # Move to lib |
15 "../mini_installer/chrome_appid.cc", | 15 "../mini_installer/chrome_appid.cc", |
16 "../mini_installer/configuration.cc", | 16 "../mini_installer/configuration.cc", |
17 "../mini_installer/configuration.h", | 17 "../mini_installer/configuration.h", |
18 "../mini_installer/configuration_test.cc", | 18 "../mini_installer/configuration_test.cc", |
19 "../mini_installer/decompress.cc", | 19 "../mini_installer/decompress.cc", |
20 "../mini_installer/decompress.h", | 20 "../mini_installer/decompress.h", |
21 "../mini_installer/decompress_test.cc", | 21 "../mini_installer/decompress_test.cc", |
22 "../mini_installer/mini_string.cc", | 22 "../mini_installer/mini_string.cc", |
23 "../mini_installer/mini_string.h", | 23 "../mini_installer/mini_string.h", |
24 "../mini_installer/mini_string_test.cc", | 24 "../mini_installer/mini_string_test.cc", |
25 "../mini_installer/regkey.cc", | |
26 "../mini_installer/regkey.h", | |
27 "app_launcher_installer.cc", # Move to lib | 25 "app_launcher_installer.cc", # Move to lib |
28 "app_launcher_installer.h", # Move to lib | 26 "app_launcher_installer.h", # Move to lib |
29 "archive_patch_helper.cc", # Move to lib | 27 "archive_patch_helper.cc", # Move to lib |
30 "archive_patch_helper.h", # Move to lib | 28 "archive_patch_helper.h", # Move to lib |
31 "archive_patch_helper_unittest.cc", | 29 "archive_patch_helper_unittest.cc", |
32 "install.cc", # Move to lib | 30 "install.cc", # Move to lib |
33 "install.h", # Move to lib | 31 "install.h", # Move to lib |
34 "install_unittest.cc", | 32 "install_unittest.cc", |
35 "install_worker.cc", # Move to lib | 33 "install_worker.cc", # Move to lib |
36 "install_worker.h", # Move to lib | 34 "install_worker.h", # Move to lib |
(...skipping 16 matching lines...) Expand all Loading... |
53 "//chrome/installer/util:strings", | 51 "//chrome/installer/util:strings", |
54 "//chrome/installer/util:util", | 52 "//chrome/installer/util:util", |
55 "//testing/gmock", | 53 "//testing/gmock", |
56 "//testing/gtest", | 54 "//testing/gtest", |
57 ] | 55 ] |
58 | 56 |
59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
60 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 58 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
61 } | 59 } |
62 } | 60 } |
OLD | NEW |