gn: fix sandbox build
This commit is contained in:
parent
6e8b89157f
commit
24ab22bea8
@ -44,6 +44,10 @@ in
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
# Patch shebands (for sandbox build)
|
||||||
|
chmod u+w -R build
|
||||||
|
patchShebangs build
|
||||||
|
|
||||||
# Patch out Chromium-bundled libevent
|
# Patch out Chromium-bundled libevent
|
||||||
chmod u+w tools/gn/bootstrap tools/gn/bootstrap/bootstrap.py
|
chmod u+w tools/gn/bootstrap tools/gn/bootstrap/bootstrap.py
|
||||||
sed -i -e '/static_libraries.*libevent/,/^ *\]\?[})]$/d' \
|
sed -i -e '/static_libraries.*libevent/,/^ *\]\?[})]$/d' \
|
||||||
|
Loading…
Reference in New Issue
Block a user