Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: build/get_sdk_extras_packages.py

Issue 838733002: Install sdk extras packages using android to prompt for ToS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/install-build-deps-android.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 # Declare this so we can execfile(DEPS), which uses Var function
7 def Var(str):
8 return str
9
10 def get_sdk_extras(hooks):
navabi 2015/01/07 03:25:38 Need some comments here about how I am looking in
cjhopman 2015/01/07 03:57:49 What about maintaining the list of these packages
navabi 2015/01/07 16:41:18 That's a good suggestion, because I don't like tha
11 sdk_extras_lists = [hook['action'][2:] for hook in hooks
12 if hook['name'] == 'sdkextras']
13 sdk_extras = [sdk_extra[sdk_extra.index('_')+1:
14 sdk_extra.rindex('_')].replace('_', ' ')
15 for sublst in sdk_extras_lists
16 for sdk_extra in sublst]
17 for sdk_extra in sdk_extras:
18 print sdk_extra
OLDNEW
« no previous file with comments | « no previous file | build/install-build-deps-android.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698