blob: 477bcb2115c53f68ca25e6b7dd906cefac9f0747 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
#
# Copyright 2016 Google Inc. All Rights Reserved.
#
# This is the setup script for generating and installing the ndk app.
#
# This script is intended to be used by binary_search_state.py, as
# part of the binary search triage on the Android source tree. It should
# return '0' if the setup succeeds; and '1' if the setup fails (the image
# could not build or be flashed).
#
echo
echo "INSTALLATION BEGIN"
echo
# This normally shouldn't be hardcoded, but this is a sample bisection.
# Also keep in mind that the bisection tool mandates all paths are
# relative to binary_search_state.py
cd ndk/Teapot
echo "BUILDING APP"
./gradlew installArm7Debug
gradle_status=$?
exit ${gradle_status}
|