1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# 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/buildflag_header.gni")
import("//build/config/allocator.gni")
import("//build/config/clang/clang.gni")
import("//build/config/compiler/compiler.gni")
import("//build/config/dcheck_always_on.gni")
import("//build/nocompile.gni")
import("//chrome/process_version_rc_template.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
import("//testing/test.gni")
process_version_rc_template("version") {
template_file = "gcp_setup.rc.version"
output = "$root_out_dir/gcp_setup_version.rc"
}
source_set("common") {
sources = [
"setup_lib.cc",
"setup_lib.h",
]
public_deps = [
"//base:base",
]
deps = [
":version",
"../gaiacp:common",
"//chrome/installer/util:with_no_strings",
]
}
# Builds a self extracting 7-zip binary using the 7-zip SFX sources but with
# the credential provider's version resources.
executable("gcp_sfx") {
deps = [
":version",
"//third_party/lzma_sdk/Util/SfxSetup:7zS2_source",
]
configs += [ "//build/config/win:windowed" ]
}
executable("gcp_setup") {
sources = [
"gcp_installer_crash_reporting.cc",
"gcp_installer_crash_reporting.h",
"setup.cc",
]
deps = [
":common",
"../eventlog:gcp_eventlog_messages",
"../gaiacp:common",
"//chrome/common:version_header",
"//components/crash/content/app:app",
"//components/crash/content/app:crash_export_thunks",
"//components/crash/content/app:run_as_crashpad_handler",
"//components/crash/core/common",
"//content/public/common:static_switches",
]
configs += [ "//build/config/win:windowed" ]
}
|