Package generate_scorer_package on Android
This commit is contained in:
parent
6618148e9b
commit
5039fb51d5
@ -2,7 +2,7 @@ LOCAL_PATH := $(call my-dir)
|
|||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE := deepspeech-prebuilt
|
LOCAL_MODULE := deepspeech-prebuilt
|
||||||
LOCAL_SRC_FILES := $(TFDIR)/bazel-bin/native_client/libdeepspeech.so $(TFDIR)/bazel-bin/native_client/generate_scorer_package
|
LOCAL_SRC_FILES := $(TFDIR)/bazel-bin/native_client/libdeepspeech.so
|
||||||
include $(PREBUILT_SHARED_LIBRARY)
|
include $(PREBUILT_SHARED_LIBRARY)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
@ -35,6 +35,7 @@ package_native_client()
|
|||||||
package_native_client_ndk()
|
package_native_client_ndk()
|
||||||
{
|
{
|
||||||
deepspeech_dir=${DS_DSDIR}
|
deepspeech_dir=${DS_DSDIR}
|
||||||
|
tensorflow_dir=${DS_TFDIR}
|
||||||
artifacts_dir=${TASKCLUSTER_ARTIFACTS}
|
artifacts_dir=${TASKCLUSTER_ARTIFACTS}
|
||||||
artifact_name=$1
|
artifact_name=$1
|
||||||
arch_abi=$2
|
arch_abi=$2
|
||||||
@ -57,7 +58,7 @@ package_native_client_ndk()
|
|||||||
tar -cf - \
|
tar -cf - \
|
||||||
-C ${deepspeech_dir}/native_client/libs/${arch_abi}/ deepspeech \
|
-C ${deepspeech_dir}/native_client/libs/${arch_abi}/ deepspeech \
|
||||||
-C ${deepspeech_dir}/native_client/libs/${arch_abi}/ libdeepspeech.so \
|
-C ${deepspeech_dir}/native_client/libs/${arch_abi}/ libdeepspeech.so \
|
||||||
-C ${deepspeech_dir}/native_client/libs/${arch_abi}/ generate_scorer_package \
|
-C ${tensorflow_dir}/bazel-bin/native_client/ generate_scorer_package \
|
||||||
-C ${deepspeech_dir}/native_client/libs/${arch_abi}/ libc++_shared.so \
|
-C ${deepspeech_dir}/native_client/libs/${arch_abi}/ libc++_shared.so \
|
||||||
-C ${deepspeech_dir}/native_client/ deepspeech.h \
|
-C ${deepspeech_dir}/native_client/ deepspeech.h \
|
||||||
-C ${deepspeech_dir}/ LICENSE \
|
-C ${deepspeech_dir}/ LICENSE \
|
||||||
|
Loading…
Reference in New Issue
Block a user