-
Notifications
You must be signed in to change notification settings - Fork 15
/
BUILD.gn
67 lines (54 loc) · 1.38 KB
/
BUILD.gn
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
64
65
66
67
import("//beacon/build/config.gni")
import("//build/util/process_version.gni")
if (is_mac) {
import("//beacon/build/mac/tweak_info_plist.gni")
}
group("browser_dependencies") {
deps = [
"browser",
"chromium_src:browser",
]
public_deps = [
"//beacon/services/trust"
]
}
group("resources") { }
group("beacon") {
deps = [ "build/$target_os:beacon" ]
if (!is_android && !is_ios) {
deps += [
"//chrome"
]
}
}
if (is_mac) {
group("beacon_app") {
deps = [ ":beacon_app_plist" ]
}
beacon_tweak_info_plist("beacon_app_plist") {
info_plist = "$root_gen_dir/chrome/chrome_app_plist_tweaked.plist"
args = [
"--beacon_channel=" + beacon_channel,
"--beacon_product_dir_name=" + beacon_product_dir_name,
"--beacon_version=" + beacon_version,
]
if (skip_signing) {
args += [ "--skip_signing" ]
}
deps = [ "//chrome:chrome_app_plist" ]
}
beacon_tweak_info_plist("beacon_helper_plist") {
info_plist = "$root_gen_dir/chrome/chrome_helper_plist_tweaked.plist"
args = [
"--beacon_channel=" + beacon_channel,
"--beacon_product_dir_name=" + beacon_product_dir_name,
"--beacon_version=" + beacon_version,
]
deps = [ "//chrome:chrome_helper_plist" ]
}
}
group("installer") {
if (is_mac) {
public_deps = [ "installer/mac" ]
}
}