Skip to content

Commit

Permalink
Reverts changelist 506335783
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 619350353
  • Loading branch information
fergushenderson authored and tensorflow-jenkins committed Apr 12, 2024
1 parent 5bc9d26 commit 397aebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.py
Expand Up @@ -759,7 +759,7 @@ def get_ndk_api_level(environ_cp, android_ndk_home_path):
android_ndk_api_level = prompt_loop_or_load_from_env(
environ_cp,
var_name='ANDROID_NDK_API_LEVEL',
var_default='26', # 26 is required to support AHardwareBuffer.
var_default='21', # 21 is required for ARM64 support.
ask_for_var=(
'Please specify the (min) Android NDK API level to use. '
'[Available levels: %s]'
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/lite/g3doc/android/lite_build.md
Expand Up @@ -123,7 +123,7 @@ in the `.tf_configure.bazelrc` file in the root folder:

```shell
build --action_env ANDROID_NDK_HOME="/usr/local/android/android-ndk-r25b"
build --action_env ANDROID_NDK_API_LEVEL="26"
build --action_env ANDROID_NDK_API_LEVEL="21"
build --action_env ANDROID_BUILD_TOOLS_VERSION="30.0.3"
build --action_env ANDROID_SDK_API_LEVEL="30"
build --action_env ANDROID_SDK_HOME="/usr/local/android/android-sdk-linux"
Expand Down

0 comments on commit 397aebd

Please sign in to comment.