gn: fix sandbox build

This commit is contained in:
Stefan Siegl
2017-09-24 19:23:20 +02:00
parent 6e8b89157f
commit 24ab22bea8

View File

@@ -44,6 +44,10 @@ in
'';
postPatch = ''
# Patch shebands (for sandbox build)
chmod u+w -R build
patchShebangs build
# Patch out Chromium-bundled libevent
chmod u+w tools/gn/bootstrap tools/gn/bootstrap/bootstrap.py
sed -i -e '/static_libraries.*libevent/,/^ *\]\?[})]$/d' \