@@ -10,9 +10,18 @@ index c649018a7a0aeb20caeb2bf37c60d57c48630f1b..9a320d8b5f46f2c7f2d269b7a1cc3b2c
10
10
+ branding_path_component = "brave"
11
11
}
12
12
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
13
- index 5d0274b0424ecfd527962c5116370a7593d10d15..1328c557c15354b0505e294b6142b83354a53ddc 100644
13
+ index 5d0274b0424ecfd527962c5116370a7593d10d15..7ac0fbca6097048f8011a60fed753740c427de3e 100644
14
14
--- a/chrome/BUILD.gn
15
15
+++ b/chrome/BUILD.gn
16
+ @@ -54,7 +54,7 @@ if (is_win) {
17
+ "$root_out_dir/initialexe/chrome.exe",
18
+ ]
19
+ outputs = [
20
+ - "$root_out_dir/chrome.exe",
21
+ + "$root_out_dir/brave.exe",
22
+ ]
23
+ if (symbol_level != 0) {
24
+ outputs += [ "$root_out_dir/chrome.exe.pdb" ]
16
25
@@ -238,6 +238,8 @@ if (!is_android && !is_mac) {
17
26
"app/chrome_main.cc",
18
27
"app/chrome_main_delegate.cc",
@@ -22,6 +31,15 @@ index 5d0274b0424ecfd527962c5116370a7593d10d15..1328c557c15354b0505e294b6142b833
22
31
]
23
32
24
33
deps += [
34
+ @@ -308,7 +310,7 @@ if (!is_android && !is_mac) {
35
+ if (is_win) {
36
+ output_name = "initialexe/chrome"
37
+ } else {
38
+ - output_name = "chrome"
39
+ + output_name = "brave"
40
+ }
41
+
42
+ sources = []
25
43
@@ -357,6 +359,8 @@ if (is_win) {
26
44
"app/chrome_main.cc",
27
45
"app/chrome_main_delegate.cc",
@@ -94,6 +112,15 @@ index 5d0274b0424ecfd527962c5116370a7593d10d15..1328c557c15354b0505e294b6142b833
94
112
]
95
113
96
114
include_dirs = [ android_ndk_include_dir ]
115
+ @@ -1770,7 +1784,7 @@ if (is_linux) {
116
+ dump_syms_binary =
117
+ get_label_info(dump_syms_label, "root_out_dir") + "/" + "dump_syms"
118
+
119
+ - chrome_binary = "$root_out_dir/chrome"
120
+ + chrome_binary = "$root_out_dir/brave"
121
+ if (current_cpu == "x86") {
122
+ # GYP used "ia32" so keep that naming for back-compat.
123
+ symbol_file = "$root_out_dir/chrome.breakpad.ia32"
97
124
diff --git a/chrome/app/BUILD.gn b/chrome/app/BUILD.gn
98
125
index 8896752d5b9faacff253afa54ae264417dbe3372..18c4df2427bb3ed0dffdf20faeeb71322200ed7c 100644
99
126
--- a/chrome/app/BUILD.gn
@@ -426,6 +453,28 @@ index 816c6d90b3f8da1a6fe8b515be2bec0e76e99b8e..e2067d6d42bd85f40c7a1487d09feda5
426
453
427
454
const size_t kProductPathNameLength = _countof(kProductPathName) - 1;
428
455
456
+ diff --git a/chrome/installer/linux/BUILD.gn b/chrome/installer/linux/BUILD.gn
457
+ index 615f286e96f7adef5e713c31ed6abd26cf643bc7..e97ccd6744c2985e93badf50924addbe3d0d87a3 100644
458
+ --- a/chrome/installer/linux/BUILD.gn
459
+ +++ b/chrome/installer/linux/BUILD.gn
460
+ @@ -19,7 +19,7 @@ if (current_cpu == "x86" || current_cpu == "x64") {
461
+ assert(is_linux)
462
+
463
+ packaging_files_executables = [
464
+ - "$root_out_dir/chrome",
465
+ + "$root_out_dir/brave",
466
+ "$root_out_dir/chrome_sandbox",
467
+ ]
468
+ packaging_files_shlibs = []
469
+ @@ -153,7 +153,7 @@ action("merge_rpm_dependencies") {
470
+ }
471
+
472
+ action("strip_chrome_binary") {
473
+ - prog_name = "$root_out_dir/chrome"
474
+ + prog_name = "$root_out_dir/brave"
475
+ debug_file = prog_name + ".debug"
476
+ stripped_file = prog_name + ".stripped"
477
+ deps = [
429
478
diff --git a/chrome/installer/util/prebuild/create_string_rc.py b/chrome/installer/util/prebuild/create_string_rc.py
430
479
index d7734d8883c3e438ece3d509b7bb331931831178..6e6cdda19c271de7e5429db02b3e17b2d676b46f 100755
431
480
--- a/chrome/installer/util/prebuild/create_string_rc.py
0 commit comments