| 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("//testing/test.gni") | 
|  | 6 | 
|  | 7 if (is_win) { | 
|  | 8   test("setup_unittests") { | 
|  | 9     # TODO(robertshield): Move the items marked with "Move to lib" | 
|  | 10     # below into a separate lib and then link both setup.exe and | 
|  | 11     # setup_unittests.exe against that. | 
|  | 12     sources = [ | 
|  | 13       "../mini_installer/appid.h", | 
|  | 14       "../mini_installer/chrome.release",  # Move to lib | 
|  | 15       "../mini_installer/chrome_appid.cc", | 
|  | 16       "../mini_installer/configuration.cc", | 
|  | 17       "../mini_installer/configuration.h", | 
|  | 18       "../mini_installer/configuration_test.cc", | 
|  | 19       "../mini_installer/decompress.cc", | 
|  | 20       "../mini_installer/decompress.h", | 
|  | 21       "../mini_installer/decompress_test.cc", | 
|  | 22       "../mini_installer/mini_string.cc", | 
|  | 23       "../mini_installer/mini_string.h", | 
|  | 24       "../mini_installer/mini_string_test.cc", | 
|  | 25       "app_launcher_installer.cc",  # Move to lib | 
|  | 26       "app_launcher_installer.h",  # Move to lib | 
|  | 27       "archive_patch_helper.cc",  # Move to lib | 
|  | 28       "archive_patch_helper.h",  # Move to lib | 
|  | 29       "archive_patch_helper_unittest.cc", | 
|  | 30       "install.cc",  # Move to lib | 
|  | 31       "install.h",  # Move to lib | 
|  | 32       "install_unittest.cc", | 
|  | 33       "install_worker.cc",  # Move to lib | 
|  | 34       "install_worker.h",  # Move to lib | 
|  | 35       "install_worker_unittest.cc", | 
|  | 36       "run_all_unittests.cc", | 
|  | 37       "setup_constants.cc",  # Move to lib | 
|  | 38       "setup_constants.h",  # Move to lib | 
|  | 39       "setup_util.cc", | 
|  | 40       "setup_util_unittest.cc", | 
|  | 41       "setup_util_unittest.h", | 
|  | 42     ] | 
|  | 43 | 
|  | 44     deps = [ | 
|  | 45       "//base", | 
|  | 46       "//base:i18n", | 
|  | 47       "//base/test:test_support", | 
|  | 48       "//chrome/installer/util:strings", | 
|  | 49       "//chrome/installer/util:util", | 
|  | 50       "//testing/gmock", | 
|  | 51       "//testing/gtest", | 
|  | 52     ] | 
|  | 53 | 
|  | 54     # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 
|  | 55     configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 
|  | 56   } | 
|  | 57 } | 
| OLD | NEW | 
|---|