From 4f140d7e018b70c875246da1f50868719287d0d5 Mon Sep 17 00:00:00 2001 From: John Budorick Date: Thu, 1 Dec 2016 15:58:49 -0800 Subject: [PATCH] recipes: add ndk_next gclient config. This adds an ndk_next gclient configuration to allow bots to use the upcoming version of the Android NDK. BUG=668202 Change-Id: I403e398094f4215cdb3783b68f465323264ca1ee Reviewed-on: https://chromium-review.googlesource.com/414184 Commit-Queue: John Budorick Reviewed-by: Stephen Martinis Reviewed-by: Mike Stipicevic --- recipe_modules/gclient/config.py | 5 +++++ recipe_modules/gclient/example.py | 1 + 2 files changed, 6 insertions(+) diff --git a/recipe_modules/gclient/config.py b/recipe_modules/gclient/config.py index 408e9abf7..a6f746716 100644 --- a/recipe_modules/gclient/config.py +++ b/recipe_modules/gclient/config.py @@ -591,3 +591,8 @@ def chromedriver(c): c.solutions[0].custom_deps[ 'src/chrome/test/chromedriver/third_party/java_tests'] = ( ChromiumGitURL(c, 'chromium', 'deps', 'webdriver')) + +@config_ctx() +def ndk_next(c): + c.revisions['src/third_party/android_tools/ndk'] = 'origin/next' + diff --git a/recipe_modules/gclient/example.py b/recipe_modules/gclient/example.py index 50d4df5fd..d7f5264b7 100644 --- a/recipe_modules/gclient/example.py +++ b/recipe_modules/gclient/example.py @@ -42,6 +42,7 @@ TEST_CONFIGS = [ 'master_deps', 'mojo', 'nacl', + 'ndk_next', 'pdfium', 'perf', 'recipes_py',