-
Notifications
You must be signed in to change notification settings - Fork 870
/
chrome-installer-linux-BUILD.gn.patch
61 lines (54 loc) · 2.41 KB
/
chrome-installer-linux-BUILD.gn.patch
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
diff --git a/chrome/installer/linux/BUILD.gn b/chrome/installer/linux/BUILD.gn
index ce94b6fb4aa55af63cb6736bae0f8a22f7d6939c..3dca622f293c9a65cc37a7db1eff0df0d77af079 100644
--- a/chrome/installer/linux/BUILD.gn
+++ b/chrome/installer/linux/BUILD.gn
@@ -60,6 +60,7 @@ if (build_with_internal_optimization_guide) {
[ "$root_out_dir/liboptimization_guide_internal.so" ]
}
+packaging_files_executables -= excluded_packaging_files_executables packaging_files_executables += brave_packaging_files_executables
packaging_files_binaries = packaging_files_executables + packaging_files_shlibs
# TODO(mmoss) Any convenient way to get all the relevant build files?
@@ -162,6 +163,7 @@ action("merge_rpm_dependencies") {
strip_binary("strip_chrome_binary") {
binary_input = "$root_out_dir/chrome"
deps = [ "//chrome" ]
+ binary_input = "$root_out_dir/brave" symbol_output = "$root_out_dir/brave.debug" stripped_binary_output = "$root_out_dir/brave.stripped" deps += strip_chrome_binary_deps
}
strip_binary("strip_chrome_crashpad_handler") {
@@ -177,6 +179,7 @@ strip_binary("strip_chrome_management_service") {
strip_binary("strip_chrome_sandbox") {
binary_input = "$root_out_dir/chrome_sandbox"
deps = [ "//sandbox/linux:chrome_sandbox" ]
+ binary_input = "$root_out_dir/brave_sandbox" symbol_output = "$root_out_dir/brave_sandbox.debug" stripped_binary_output = "$root_out_dir/brave_sandbox.stripped" deps += strip_chrome_sandbox_deps
}
strip_binary("strip_libEGL_shlib") {
@@ -269,6 +272,7 @@ copy("common_packaging_files") {
}
sources += [ "//buildtools/third_party/eu-strip/bin/eu-strip" ]
+ sources -= common_packaging_files_excluded_sources sources += common_packaging_files_sources
outputs = [ "$root_out_dir/installer/common/{{source_file_part}}" ]
}
@@ -381,6 +385,7 @@ group("installer_deps") {
"//third_party/angle:libEGL",
"//third_party/angle:libGLESv2",
]
+ public_deps += brave_installer_deps
if (bundle_widevine_cdm) {
public_deps += [ "//third_party/widevine/cdm" ]
}
@@ -427,6 +432,9 @@ group("installer_deps") {
template("linux_package") {
assert(defined(invoker.channel))
channel = invoker.channel
+ if (channel == "unstable" ) {
+ channel = "dev"
+ }
if (is_chrome_branded) {
package = "google-chrome"
@@ -559,3 +567,6 @@ linux_package("unstable") {
linux_package("canary") {
channel = "canary"
}
+linux_package("nightly") {
+ channel = "nightly"
+}