You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can divide butil into scripts instead and have GN call those since it's more flexible and some people may already have experience with it.
What's a bit tricky this repo is mounted at src/beacon after fetching chromium at src/ so chromium can depend on it internally using //beacon/... and this repo can depend on chromium libs.
Chromium builds work naturally this way (without Beacon):
Use gsync/fetch from depot tools to pull chromium at src/
gen gen out/Debug or whatever name. Set out/Debug/args.gn for the build
call autoninja -C out/Debug chrome
At step 3 beacon is mounted at src/beacon and some patches and overrides get applied that's what butil does. A patch applied by butil links our BUILD.gn to chromium's main BUILD.gn file so that it's possible to build beacon using autoninja -C out/Debug beacon
So we need to at least mount this repo at src/beacon and i suppose we can later link our GN file somehow. Perhaps we can have a repo similar to depot_tools with a script to do this initial dance but that may be overkill. @mdaniel may have some thoughts on this.
The text was updated successfully, but these errors were encountered:
We can divide butil into scripts instead and have GN call those since it's more flexible and some people may already have experience with it.
What's a bit tricky this repo is mounted at
src/beacon
after fetching chromium atsrc/
so chromium can depend on it internally using//beacon/...
and this repo can depend on chromium libs.Chromium builds work naturally this way (without Beacon):
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
src/
gen gen out/Debug
or whatever name. Set out/Debug/args.gn for the buildautoninja -C out/Debug chrome
At step 3 beacon is mounted at
src/beacon
and some patches and overrides get applied that's what butil does. A patch applied by butil links our BUILD.gn to chromium's main BUILD.gn file so that it's possible to build beacon usingautoninja -C out/Debug beacon
So we need to at least mount this repo at src/beacon and i suppose we can later link our GN file somehow. Perhaps we can have a repo similar to depot_tools with a script to do this initial dance but that may be overkill. @mdaniel may have some thoughts on this.
The text was updated successfully, but these errors were encountered: