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

Side by Side Diff: build/android/gyp/push_libraries.py

Issue 1399273002: [Android] Add a configurable environment for devil/. (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android_any -> android_host Created 5 years, 2 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 | « build/android/gyp/get_device_configuration.py ('k') | build/android/gyp/util/build_device.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2013 The Chromium Authors. All rights reserved. 3 # Copyright 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Pushes native libraries to a device. 7 """Pushes native libraries to a device.
8 8
9 """ 9 """
10 10
11 import optparse 11 import optparse
12 import os 12 import os
13 import sys 13 import sys
14 14
15 BUILD_ANDROID_DIR = os.path.join(os.path.dirname(__file__), os.pardir) 15 BUILD_ANDROID_DIR = os.path.abspath(
16 os.path.join(os.path.dirname(__file__), os.pardir))
16 sys.path.append(BUILD_ANDROID_DIR) 17 sys.path.append(BUILD_ANDROID_DIR)
17 18
18 from pylib import constants 19 from pylib import constants
19 20
20 from util import build_device 21 from util import build_device
21 from util import build_utils 22 from util import build_utils
22 from util import md5_check 23 from util import md5_check
23 24
24 def DoPush(options): 25 def DoPush(options):
25 libraries = build_utils.ParseGypList(options.libraries) 26 libraries = build_utils.ParseGypList(options.libraries)
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 constants.SetBuildType(options.configuration_name) 72 constants.SetBuildType(options.configuration_name)
72 73
73 DoPush(options) 74 DoPush(options)
74 75
75 if options.stamp: 76 if options.stamp:
76 build_utils.Touch(options.stamp) 77 build_utils.Touch(options.stamp)
77 78
78 79
79 if __name__ == '__main__': 80 if __name__ == '__main__':
80 sys.exit(main(sys.argv[1:])) 81 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « build/android/gyp/get_device_configuration.py ('k') | build/android/gyp/util/build_device.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698