android_build_app: fixes
Change-Id: I2b643de2ede46472940da83d16cf9f8ebacc96db Reviewed-on: https://skia-review.googlesource.com/80600 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
parent
6f3eac9b5d
commit
a2e7f5ae10
@ -50,9 +50,9 @@ else:
|
||||
# build the apk using gradle
|
||||
try:
|
||||
subprocess.check_call(['./apps/gradlew',
|
||||
':viewer:assemble' + android_variant + android_buildtype,
|
||||
':' + args.app_name + ':assemble' + android_variant + android_buildtype,
|
||||
'-papps/' + args.app_name,
|
||||
'-P' + target_cpu + '.out.dir=' + args.output_dir,
|
||||
'-P' + target_cpu + '.out.dir=' + os.path.abspath(args.output_dir),
|
||||
'--daemon'], cwd=os.path.join(os.path.dirname(__file__), ".."))
|
||||
except subprocess.CalledProcessError as error:
|
||||
print error
|
||||
|
Loading…
Reference in New Issue
Block a user