Skip to content

Commit 48845ff

Browse files
Skip syntax validation for DEPS file (google#1399)
The DEPS file includes plain Python code to retrieve platform & num CPUs. The DEPS syntax checker does not allow this, as of: https://chromium-review.googlesource.com/c/497848/ So disable the validation option. Fixes google#1398.
1 parent b74e790 commit 48845ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ install:
102102
- ln -s ../certificate-transparency certificate-transparency
103103
- |-
104104
gclient config --spec "solutions=[{\"name\": \"certificate-transparency\", \"url\": \"https://github.com/google/certificate-transparency.git\", \"deps_file\": \"DEPS\", \"managed\": False, \"custom_deps\": {}, \"safesync_url\": \"\", \"custom_vars\": { \"ssl_impl\": \"${SSL}\" } },]"
105-
- gclient sync
105+
- gclient sync --disable-syntax-validation
106106
- popd
107107
- export PYTHONPATH=$(python -m site --user-site)
108108
- pip install --user --upgrade -r python/requirements.txt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export CXX=clang++ CC=clang
5959
mkdir ct # or whatever directory you prefer
6060
cd ct
6161
gclient config --name="certificate-transparency" https://github.com/google/certificate-transparency.git
62-
gclient sync # retrieve and build dependencies
62+
gclient sync --disable-syntax-validation # retrieve and build dependencies
6363
# substitute gmake or gnumake below if that's what your platform calls it:
6464
make -C certificate-transparency check # build the CT software & self-test
6565
```

0 commit comments

Comments
 (0)