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 |
(...skipping 21 matching lines...) Expand all Loading... |
32 "install_unittest.cc", | 32 "install_unittest.cc", |
33 "install_worker.cc", # Move to lib | 33 "install_worker.cc", # Move to lib |
34 "install_worker.h", # Move to lib | 34 "install_worker.h", # Move to lib |
35 "install_worker_unittest.cc", | 35 "install_worker_unittest.cc", |
36 "run_all_unittests.cc", | 36 "run_all_unittests.cc", |
37 "setup_constants.cc", # Move to lib | 37 "setup_constants.cc", # Move to lib |
38 "setup_constants.h", # Move to lib | 38 "setup_constants.h", # Move to lib |
39 "setup_util.cc", | 39 "setup_util.cc", |
40 "setup_util_unittest.cc", | 40 "setup_util_unittest.cc", |
41 "setup_util_unittest.h", | 41 "setup_util_unittest.h", |
| 42 "update_active_setup_version_work_item.cc", # Move to lib |
| 43 "update_active_setup_version_work_item.h", # Move to lib |
| 44 "update_active_setup_version_work_item_unittest.cc", |
42 ] | 45 ] |
43 | 46 |
44 deps = [ | 47 deps = [ |
45 "//base", | 48 "//base", |
46 "//base:i18n", | 49 "//base:i18n", |
47 "//base/test:test_support", | 50 "//base/test:test_support", |
48 "//chrome/installer/util:strings", | 51 "//chrome/installer/util:strings", |
49 "//chrome/installer/util:util", | 52 "//chrome/installer/util:util", |
50 "//testing/gmock", | 53 "//testing/gmock", |
51 "//testing/gtest", | 54 "//testing/gtest", |
52 ] | 55 ] |
53 | 56 |
54 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
55 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 58 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
56 } | 59 } |
57 } | 60 } |
OLD | NEW |