Don't fetch ninja, the depot_tools already ships it.
This commit is contained in:
Родитель
b6a0d851db
Коммит
7392c93518
|
@ -1,3 +0,0 @@
|
|||
[submodule "vendor/ninja"]
|
||||
path = vendor/ninja
|
||||
url = https://github.com/martine/ninja
|
|
@ -6,12 +6,9 @@ cd "$(dirname $0)/.."
|
|||
SOURCE_ROOT=$(pwd -P)
|
||||
VENDOR_DIR="${SOURCE_ROOT}/vendor"
|
||||
DEPOT_TOOLS_DIR="${VENDOR_DIR}/depot_tools"
|
||||
NINJA_DIR="${VENDOR_DIR}/ninja"
|
||||
|
||||
git submodule sync
|
||||
git submodule update --init --recursive
|
||||
test -d "${DEPOT_TOOLS_DIR}" || git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "${DEPOT_TOOLS_DIR}"
|
||||
|
||||
"${NINJA_DIR}/bootstrap.py"
|
||||
|
||||
"${SOURCE_ROOT}/script/update"
|
||||
|
|
|
@ -5,8 +5,9 @@ set -e
|
|||
cd "$(dirname $0)/.."
|
||||
SOURCE_ROOT=$(pwd -P)
|
||||
VENDOR_DIR="${SOURCE_ROOT}/vendor"
|
||||
NINJA_DIR="${VENDOR_DIR}/ninja"
|
||||
DEPOT_TOOLS_DIR="${VENDOR_DIR}/depot_tools"
|
||||
NINJA="${DEPOT_TOOLS_DIR}/ninja"
|
||||
CHROMIUM_DIR="${VENDOR_DIR}/chromium"
|
||||
|
||||
"${NINJA_DIR}/ninja" -C "${CHROMIUM_DIR}/src/out/Debug" chromiumcontent
|
||||
"${NINJA_DIR}/ninja" -C "${CHROMIUM_DIR}/src/out/Release" chromiumcontent
|
||||
"${NINJA}" -C "${CHROMIUM_DIR}/src/out/Debug" chromiumcontent
|
||||
"${NINJA}" -C "${CHROMIUM_DIR}/src/out/Release" chromiumcontent
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 2c953d1501de5195e2485185fa24a2ebfd76bbb5
|
Загрузка…
Ссылка в новой задаче