Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/chrome_build.gni") | |
|
brettw
2015/07/01 17:08:09
I don't think you depend on this, so you can remov
grt (UTC plus 2)
2015/07/01 17:38:57
Done.
| |
| 6 import("//testing/test.gni") | |
| 7 | |
| 8 if (is_win) { | |
| 9 test("setup_unittests") { | |
| 10 # TODO(robertshield): Move the items marked with "Move to lib" | |
| 11 # below into a separate lib and then link both setup.exe and | |
| 12 # setup_unittests.exe against that. | |
| 13 sources = [ | |
| 14 "../mini_installer/appid.h", | |
| 15 "../mini_installer/chrome.release", # Move to lib | |
| 16 "../mini_installer/chrome_appid.cc", | |
| 17 "../mini_installer/configuration.cc", | |
| 18 "../mini_installer/configuration.h", | |
| 19 "../mini_installer/configuration_test.cc", | |
| 20 "../mini_installer/decompress.cc", | |
| 21 "../mini_installer/decompress.h", | |
| 22 "../mini_installer/decompress_test.cc", | |
| 23 "../mini_installer/mini_string.cc", | |
| 24 "../mini_installer/mini_string.h", | |
| 25 "../mini_installer/mini_string_test.cc", | |
| 26 "app_launcher_installer.cc", # Move to lib | |
| 27 "app_launcher_installer.h", # Move to lib | |
| 28 "archive_patch_helper.cc", # Move to lib | |
| 29 "archive_patch_helper.h", # Move to lib | |
| 30 "archive_patch_helper_unittest.cc", | |
| 31 "install.cc", # Move to lib | |
| 32 "install.h", # Move to lib | |
| 33 "install_unittest.cc", | |
| 34 "install_worker.cc", # Move to lib | |
| 35 "install_worker.h", # Move to lib | |
| 36 "install_worker_unittest.cc", | |
| 37 "run_all_unittests.cc", | |
| 38 "setup_constants.cc", # Move to lib | |
| 39 "setup_constants.h", # Move to lib | |
| 40 "setup_util.cc", | |
| 41 "setup_util_unittest.cc", | |
| 42 "setup_util_unittest.h", | |
| 43 ] | |
| 44 | |
| 45 deps = [ | |
| 46 "//chrome/installer/util:strings", | |
|
brettw
2015/07/01 17:08:09
Sort these.
grt (UTC plus 2)
2015/07/01 17:38:57
Done.
| |
| 47 "//chrome/installer/util:util", | |
| 48 "//base", | |
| 49 "//base:i18n", | |
| 50 "//base/test:test_support", | |
| 51 "//testing/gmock", | |
| 52 "//testing/gtest", | |
| 53 ] | |
| 54 | |
| 55 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 56 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
| 57 } | |
| 58 } | |
| OLD | NEW |