File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
extension/android/executorch_android Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ # All rights reserved.
4
+ #
5
+ # This source code is licensed under the BSD-style license found in the
6
+ # LICENSE file in the root directory of this source tree.
7
+
8
+ set -ex
9
+
10
+ if [[ -z " ${PYTHON_EXECUTABLE:- } " ]]; then
11
+ PYTHON_EXECUTABLE=python3
12
+ fi
13
+ which " ${PYTHON_EXECUTABLE} "
14
+
15
+ cp ../../../extension/module/test/resources/add.pte src/androidTest/resources
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ android {
36
36
}
37
37
}
38
38
39
+ task copyTestRes (type : Exec ) {
40
+ commandLine ' sh' , ' android_test_setup.sh'
41
+ }
42
+
39
43
dependencies {
40
44
implementation ' com.facebook.fbjni:fbjni:0.5.1'
41
45
implementation ' com.facebook.soloader:nativeloader:0.10.5'
You can’t perform that action at this time.
0 commit comments