blob: 1fa6b1c73efeeada17bd2f56eef5fd4cbaa690b9 [file]
# 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.
import("//build/util/process_version.gni")
import("//chrome/chrome_cleaner/constants/args.gni")
process_version("version_header") {
sources = [
cleaner_branding_path,
version_path,
]
template_file = "version.h.in"
output = "$target_gen_dir/version.h"
}
process_version("chrome_cleanup_tool_branding_header") {
sources = [
cleaner_branding_path,
]
template_file = "branding.h.in"
output = "$target_gen_dir/chrome_cleanup_tool_branding.h"
}
process_version("software_reporter_tool_branding_header") {
sources = [
reporter_branding_path,
]
template_file = "branding.h.in"
output = "$target_gen_dir/software_reporter_tool_branding.h"
}
process_version("chrome_cleaner_version_resource") {
template_file = "chrome_cleaner.rc.version"
sources = [
"chrome_cleanup_tool_exe.ver",
cleaner_branding_path,
version_path,
]
output = "$target_gen_dir/chrome_cleaner.rc"
}
process_version("reporter_version_resource") {
template_file = "chrome_cleaner.rc.version"
sources = [
"software_reporter_tool_exe.ver",
reporter_branding_path,
version_path,
]
output = "$target_gen_dir/chrome_reporter.rc"
}
source_set("common_strings") {
sources = [
"chrome_cleaner_switches.cc",
"chrome_cleaner_switches.h",
"common_registry_names.cc",
"common_registry_names.h",
]
}
source_set("uws_id") {
sources = [
"uws_id.h",
]
}
source_set("quarantine_constants") {
sources = [
"quarantine_constants.cc",
"quarantine_constants.h",
]
}