I have been trying to change the branding of Chromium in MacOS. I have tried editing theses file:
src/chrome/app/theme/chromium/BRANDING
chrome/app/general_resources.grd
chrome/app/settings_strings.grdp
chrome/app/chromium_strings.grd
chtome/common/chrome_paths_mac.mm
chtome/common/chrome_constants.cc
After trying all the permutations and combinations of making changes in the above files, whenever I try building from source, the directories that are created are all named @PRODUCT_FULLNAME@
(eg: @PRODUCT_FULLNAME@ Framework.framework
, @PRODUCT_FULLNAME@ Helper
, etc.).
I tried launching the file
out/MyBuild/@PRODUCT_FULLNAME@.app/Contents/MacOS/@PRODUCT_FULLNAME@
, but it crashed and threw an error. After some research, I came to know that the full name is set in the file build/util/branding.gni
. I tried changing the full name from that file directly and it worked, the directories were titled with the name given by me instead of @PRODUCT_FULLNAME@
. Yet, when I tried launching the browser, it crashed again.
Please tell me what I am doing wrong here, I tried referring to the below questions:
- Change Chromium Branding (MacOS)
- "icudtl.dat not found in bundle" when launching custom branded Chromium build on Mac? (I tried making changes in the file mentioned in this link, but it still ends up as
@PRODUCT_FULLNAME@
) - Chromium - mini_installer ignores branding.