diff options
author | Austin Anderson <angerson@google.com> | 2017-12-06 17:35:59 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-12-06 17:39:14 -0800 |
commit | 80375ffd9a564fb8b6afd8c6860fe9148b8f6704 (patch) | |
tree | a13c0b08ffc4ec284bd1132c7d5ddaa7768bfdac /tensorflow | |
parent | 9244afcbfe54bc621eb99035dc0d8528a2bf731d (diff) |
Make note of configure script's WORKSPACE-updating ability
A recent change taught the configure script how to create WORKSPACE rules for the Android SDK and NDK. This CL adds a note about this functionality to the build instructions for the TF & TF Lite Android Demo apps.
PiperOrigin-RevId: 178178825
Diffstat (limited to 'tensorflow')
-rw-r--r-- | tensorflow/contrib/lite/java/demo/README.md | 4 | ||||
-rw-r--r-- | tensorflow/examples/android/README.md | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/java/demo/README.md b/tensorflow/contrib/lite/java/demo/README.md index 5d13a798e2..2e818f728e 100644 --- a/tensorflow/contrib/lite/java/demo/README.md +++ b/tensorflow/contrib/lite/java/demo/README.md @@ -21,6 +21,10 @@ 2. [Edit your `WORKSPACE`](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android#edit-workspace) to add SDK and NDK targets. + NOTE: As long as you have the SDK and NDK installed, the `./configure` + script will create these rules for you. Answer "Yes" when the script asks + to automatically configure the `./WORKSPACE`. + - Make sure the `api_level` in `WORKSPACE` is set to an SDK version that you have installed. - By default, Android Studio will install the SDK to `~/Android/Sdk` and diff --git a/tensorflow/examples/android/README.md b/tensorflow/examples/android/README.md index 881a975e60..51621d51ef 100644 --- a/tensorflow/examples/android/README.md +++ b/tensorflow/examples/android/README.md @@ -143,6 +143,10 @@ the Android NDK and SDK must be installed on your system. ##### Edit WORKSPACE +NOTE: As long as you have the SDK and NDK installed, the `./configure` script +will create these rules for you. Answer "Yes" when the script asks to +automatically configure the `./WORKSPACE`. + The Android entries in [`<workspace_root>/WORKSPACE`](../../../WORKSPACE#L19-L36) must be uncommented with the paths filled in appropriately depending on where you installed the NDK |