From a98da076b9e5a6bdc1ea309d75bbb8eb939445a5 Mon Sep 17 00:00:00 2001 From: Mathieu Binette Date: Sat, 3 Nov 2018 00:25:48 +0000 Subject: [PATCH] Add CELab gclient config Change-Id: I97fc6e677cdbab0e2bd74b5b04a74badbd1b0b1e Reviewed-on: https://chromium-review.googlesource.com/c/1313232 Commit-Queue: Mathieu Binette Reviewed-by: Jao-ke Chin-Lee Reviewed-by: Robbie Iannucci --- recipes/recipe_modules/gclient/config.py | 8 ++++++++ recipes/recipe_modules/gclient/examples/full.py | 1 + 2 files changed, 9 insertions(+) diff --git a/recipes/recipe_modules/gclient/config.py b/recipes/recipe_modules/gclient/config.py index c383d695a..c43edf7df 100644 --- a/recipes/recipe_modules/gclient/config.py +++ b/recipes/recipe_modules/gclient/config.py @@ -418,3 +418,11 @@ def dawn(c): soln.name = 'dawn' soln.url = 'https://dawn.googlesource.com/dawn.git' c.got_revision_mapping['dawn'] = 'got_revision' + +@config_ctx() +def celab(c): + soln = c.solutions.add() + # soln.name must match the repo name for `dep` to work properly + soln.name = 'cel' + soln.url = 'https://chromium.googlesource.com/enterprise/cel.git' + c.got_revision_mapping['cel'] = 'got_revision' diff --git a/recipes/recipe_modules/gclient/examples/full.py b/recipes/recipe_modules/gclient/examples/full.py index e95adb8ea..1721b0374 100644 --- a/recipes/recipe_modules/gclient/examples/full.py +++ b/recipes/recipe_modules/gclient/examples/full.py @@ -18,6 +18,7 @@ TEST_CONFIGS = [ 'build_internal', 'build_internal_scripts_slave', 'catapult', + 'celab', 'crashpad', 'custom_tabs_client', 'dart',