Created
January 22, 2016 21:52
-
-
Save eseidelGoogle/562149103441a1f4ee8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2014 The Chromium Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
DEPS = [ | |
'recipe_engine/path', | |
'recipe_engine/step', | |
'build/git', | |
'build/gclient', | |
] | |
def RunSteps(api): | |
print "FOO" | |
print api.path['depot_tools'] | |
# api.git.checkout('https://chromium.googlesource.com/chromium/tools/depot_tools.git', recursive=True) | |
src_cfg = api.gclient.make_config(GIT_MODE=True) | |
soln = src_cfg.solutions.add() | |
soln.name = 'src' | |
soln.url = 'https://github.com/flutter/engine.git' | |
# TODO(eseidel): What does parent_got_revision_mapping do? Do I care? | |
src_cfg.parent_got_revision_mapping['parent_got_revision'] = 'got_revision' | |
api.gclient.c = src_cfg | |
api.gclient.checkout() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment