| # Copyright 2018 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| shared_library("empty_dll") { |
| sources = [ |
| "empty_dll.cc", |
| ] |
| } |
| |
| source_set("scoped_file") { |
| sources = [ |
| "scoped_file.cc", |
| "scoped_file.h", |
| ] |
| |
| deps = [ |
| "//base:base", |
| ] |
| } |
| |
| source_set("test_strings") { |
| testonly = true |
| |
| sources = [ |
| "test_strings.cc", |
| "test_strings.h", |
| ] |
| } |
| |
| static_library("test_util") { |
| testonly = true |
| |
| sources = [ |
| "test_file_util.cc", |
| "test_file_util.h", |
| "test_name_helper.cc", |
| "test_registry_util.cc", |
| "test_registry_util.h", |
| ] |
| |
| deps = [ |
| "//base:base", |
| "//chrome/chrome_cleaner/logging/proto:shared_data_proto", |
| "//chrome/chrome_cleaner/os:common_os", |
| "//chrome/chrome_cleaner/proto:shared_pup_enums_proto", |
| "//chrome/chrome_cleaner/pup_data:pup_data_base", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| } |
| |
| source_set("test_branding_header") { |
| # This is NOT testonly because it's used by RegistryOverrideManager, which is |
| # shipped on official builds. |
| sources = [ |
| "test_branding.h", |
| ] |
| } |
| |
| source_set("test_pup_data") { |
| testonly = true |
| |
| sources = [ |
| "test_pup_data.cc", |
| "test_pup_data.h", |
| "test_signatures.cc", |
| "test_uws_catalog.cc", |
| "test_uws_catalog.h", |
| ] |
| |
| deps = [ |
| "//base:base", |
| "//chrome/chrome_cleaner/logging/proto:shared_data_proto", |
| "//chrome/chrome_cleaner/proto:shared_pup_enums_proto", |
| "//chrome/chrome_cleaner/pup_data:dynamic_pup", |
| "//chrome/chrome_cleaner/pup_data:pup_data_base", |
| "//chrome/chrome_cleaner/pup_data:pup_data_base", |
| "//chrome/chrome_cleaner/pup_data:test_uws", |
| "//testing/gtest", |
| ] |
| } |