File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -906,7 +906,7 @@ def add_parser(*args, **kwargs):
906906 help = "Delete build directories for the selected target"
907907 )
908908
909- add_parser ("build-testbed" , help = "Build the testbed app" )
909+ build_testbed = add_parser ("build-testbed" , help = "Build the testbed app" )
910910 test = add_parser ("test" , help = "Run the testbed app" )
911911 package = add_parser ("package" , help = "Make a release package" )
912912 ci = add_parser ("ci" , help = "Run build, package and test" )
@@ -922,6 +922,7 @@ def add_parser(*args, **kwargs):
922922 make_host ,
923923 build ,
924924 package ,
925+ build_testbed ,
925926 test ,
926927 ci ,
927928 ]:
Original file line number Diff line number Diff line change @@ -8,8 +8,9 @@ plugins {
88
99val ANDROID_DIR = file(" ../.." )
1010val PYTHON_DIR = ANDROID_DIR .parentFile!!
11+ val CROSS_BUILD_DIR = System .getenv(" CROSS_BUILD_DIR" ) ? : " cross-build"
1112val PYTHON_CROSS_DIR = file(
12- " $PYTHON_DIR / " + ( System .getenv( " CROSS_BUILD_DIR" ) ? : " cross-build " )
13+ if (( File ( CROSS_BUILD_DIR )).isAbsolute) CROSS_BUILD_DIR else " $PYTHON_DIR / $CROSS_BUILD_DIR "
1314)
1415val inSourceTree = (
1516 ANDROID_DIR .name == " Android" && file(" $PYTHON_DIR /pyconfig.h.in" ).exists()
You can’t perform that action at this time.
0 commit comments