aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorClay Murphy <claym@google.com>2016-10-13 11:28:47 -0700
committerClay Murphy <claym@google.com>2016-10-14 10:47:02 -0700
commitd7df784011e1ed6505f958b58a0bae58c17f2964 (patch)
treed5e377228b56785238e8ac4f3d34cd0c065baeba /scripts
parenta8894ffa665e7545b94734b51fe9510ad0d0eceb (diff)
downloadsource.android.com-d7df784011e1ed6505f958b58a0bae58c17f2964.tar.gz
Docs: Add lunch command, update setup script path, remove separate Java step
Test: make-online-sac-docs and staged on instance #3 Bug: 26906934 Change-Id: Ib47c1f45380f93ef7377c7d8da93400b5c939294
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build2stage.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/build2stage.sh b/scripts/build2stage.sh
index eff0bd77..a142c771 100755
--- a/scripts/build2stage.sh
+++ b/scripts/build2stage.sh
@@ -22,14 +22,10 @@ cd ../../..
rm -rf out/target/common/docs/online-sac*
# Initialize the environment
-source build/envsetup.sh
+source build/make/envsetup.sh
-# Set up the Java environment
-set_stuff_for_environment
-
-# Note: if that stops working, try the lunch command with any build target,
-# For example:
-# lunch aosp_arm-eng
+# Select a target and finish setting up the environment
+lunch aosp_arm-eng
# Make the docs
make online-sac-docs