added patch to depot tools

This commit is contained in:
Your Name 2021-05-27 14:53:00 +00:00
parent 9b3dc051cb
commit ad75ab97d8
2 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,4 @@
diff --git a/gclient_scm.py b/gclient_scm.py
index 8a3410a8..f94af977 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -1012,28 +1012,35 @@ class GitWrapper(SCMWrapper):

View File

@ -19,6 +19,12 @@ echo -e ${RED} -------- lastest version is: $VERSION ${NC}
cd ..
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
# apply patchs
cd depot_tools/
git apply ../bromite-buildtools/depot_tools.diff
cd ..
PATH=$PWD/chromium/src/third_party/llvm-build/Release+Asserts/bin:$PWD/depot_tools/:/usr/local/go/bin:$PATH
env