diff options
author | Corentin Wallez <cwallez@chromium.org> | 2018-08-02 18:48:03 +0200 |
---|---|---|
committer | David Neto <dneto@google.com> | 2018-08-03 10:06:11 -0400 |
commit | 2d9a325264e3fc81317acc0a68a098f0546c352d (patch) | |
tree | d6b1345fd2a41bf472b4690d67ab8bc5d737087d /DEPS | |
parent | c8e7bb1d1a77bc4f2ab170d86ee54a4049531549 (diff) |
Refactor BUILD.gn so can easily be embedded in other projects
1.
BUILD.gn: Don't use the extra Chromium clang warnings
Also removes the unused .gn secondary_sources.
2.
Move fuzzers in test/ instead of testing/
This frees up testing/ to be the git subtree of Chromium's src/testing/
that contains test.gni, gtest, gmock and libfuzzer
3.
DEPS: get the whole testing/ subtree of Chromium
4.
BUILD.gn: Simplify the standalone gtest targets
These targets definitions are inspired from ANGLE's and add a variable
that is the path of the googletest directory so that it can be made
overridable in future commits.
6.
BUILD.gn: Add overridable variables for deps dirs
This avoids hardcoded paths to dependencies that make it hard to
integrate SPIRV-Tools in other GN projects.
Diffstat (limited to 'DEPS')
-rw-r--r-- | DEPS | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -9,7 +9,7 @@ vars = { 'clang_revision': 'abe5e4f9dc0f1df848c7a0efa05256253e77a7b7', 'effcee_revision': '04b624799f5a9dbaf3fa1dbed2ba9dce2fc8dcf2', 'googletest_revision': '98a0d007d7092b72eea0e501bb9ad17908a1a036', - 'libfuzzer_revision': 'c24c2cd3f4d6130e815b6baff8165e4df440d442', + 'testing_revision': '340252637e2e7c72c0901dcbeeacfff419e19b59', 're2_revision': '6cf8ccd82dbaab2668e9b13596c68183c9ecd13f', 'spirv_headers_revision': 'ff684ffc6a35d2a58f0f63108877d0064ea33feb', } @@ -35,9 +35,9 @@ deps = { 'external/re2': Var('github') + '/google/re2.git@' + Var('re2_revision'), - 'testing/libfuzzer': - Var('chromium_git') + '/chromium/src/testing/libfuzzer@' + - Var('libfuzzer_revision'), + 'testing': + Var('chromium_git') + '/chromium/src/testing@' + + Var('testing_revision'), 'tools/clang': Var('chromium_git') + '/chromium/src/tools/clang@' + Var('clang_revision') |