| 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_installer_constants.cc", | 
|  | 23       "../mini_installer/mini_installer_constants.h", | 
| 22       "../mini_installer/mini_string.cc", | 24       "../mini_installer/mini_string.cc", | 
| 23       "../mini_installer/mini_string.h", | 25       "../mini_installer/mini_string.h", | 
| 24       "../mini_installer/mini_string_test.cc", | 26       "../mini_installer/mini_string_test.cc", | 
|  | 27       "../mini_installer/regkey.cc", | 
|  | 28       "../mini_installer/regkey.h", | 
| 25       "app_launcher_installer.cc",  # Move to lib | 29       "app_launcher_installer.cc",  # Move to lib | 
| 26       "app_launcher_installer.h",  # Move to lib | 30       "app_launcher_installer.h",  # Move to lib | 
| 27       "archive_patch_helper.cc",  # Move to lib | 31       "archive_patch_helper.cc",  # Move to lib | 
| 28       "archive_patch_helper.h",  # Move to lib | 32       "archive_patch_helper.h",  # Move to lib | 
| 29       "archive_patch_helper_unittest.cc", | 33       "archive_patch_helper_unittest.cc", | 
| 30       "install.cc",  # Move to lib | 34       "install.cc",  # Move to lib | 
| 31       "install.h",  # Move to lib | 35       "install.h",  # Move to lib | 
| 32       "install_unittest.cc", | 36       "install_unittest.cc", | 
| 33       "install_worker.cc",  # Move to lib | 37       "install_worker.cc",  # Move to lib | 
| 34       "install_worker.h",  # Move to lib | 38       "install_worker.h",  # Move to lib | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 51       "//chrome/installer/util:strings", | 55       "//chrome/installer/util:strings", | 
| 52       "//chrome/installer/util:util", | 56       "//chrome/installer/util:util", | 
| 53       "//testing/gmock", | 57       "//testing/gmock", | 
| 54       "//testing/gtest", | 58       "//testing/gtest", | 
| 55     ] | 59     ] | 
| 56 | 60 | 
| 57     # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 61     # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 
| 58     configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 62     configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 
| 59   } | 63   } | 
| 60 } | 64 } | 
| OLD | NEW | 
|---|