1# Copyright 2019 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 5import("//testing/test.gni") 6 7source_set("test_strings") { 8 testonly = true 9 10 sources = [ 11 "test_strings.cc", 12 "test_strings.h", 13 ] 14} 15 16source_set("test_common") { 17 testonly = true 18 19 sources = [ 20 "test_inheritable_event.cc", 21 "test_inheritable_event.h", 22 "test_initializer.cc", 23 "test_initializer.h", 24 ] 25 26 deps = [ 27 "//base", 28 "//chrome/updater:base", 29 "//chrome/updater/win:app_install_controller", 30 "//chrome/updater/win:lib", 31 ] 32} 33 34source_set("test_executables") { 35 testonly = true 36 37 sources = [ 38 "test_executables.cc", 39 "test_executables.h", 40 ] 41 42 data_deps = [ ":updater_test_process" ] 43 44 deps = [ 45 ":test_common", 46 ":test_strings", 47 "//base", 48 "//chrome/updater:base", 49 ] 50} 51 52executable("updater_test_process") { 53 testonly = true 54 55 sources = [ "test_process_main.cc" ] 56 57 deps = [ 58 ":test_common", 59 ":test_strings", 60 "//base", 61 "//base/test:test_support", 62 "//build/win:default_exe_manifest", 63 "//chrome/updater:lib", 64 ] 65} 66