Skip to content

Commit 8c76e75

Browse files
Reverted local changes to build.gradle
1 parent b3fd659 commit 8c76e75

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

NativeApp/Android/build.gradle

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ apply from: "android_common.gradle"
44
// The arcore aar library contains the native shared libraries. These are
55
// extracted before building to a temporary directory.
66
def arcore_libpath = "${buildDir}/arcore-native"
7-
def ndk_dir = android.ndkDirectory
87

98
android {
109
defaultConfig {
@@ -14,7 +13,7 @@ android {
1413
}
1514
externalNativeBuild {
1615
cmake {
17-
arguments "-DANDROID_TOOLCHAIN=clang", "-DANDROID_STL=c++_static", "-DARCORE_LIBPATH=${arcore_libpath}/jni", "-DARCORE_INCLUDE=${project.projectDir}/arcore_sdk/include", "-DPYTHON_EXECUTABLE=C:/Users/Egor/AppData/Local/Programs/Python/Python36/python.exe"
16+
arguments "-DANDROID_TOOLCHAIN=clang", "-DANDROID_STL=c++_static", "-DARCORE_LIBPATH=${arcore_libpath}/jni", "-DARCORE_INCLUDE=${project.projectDir}/arcore_sdk/include"
1817
}
1918
}
2019
}
@@ -30,12 +29,6 @@ android {
3029
sourceSets {
3130
main {
3231
java.srcDirs = ['src/main/java', 'ndk_helper/src/java']
33-
jniLibs {
34-
// Gradle includes libraries in the following path as dependencies
35-
// of your CMake or ndk-build project so that they are packaged in
36-
// your app's APK.
37-
srcDir "${ndk_dir}/sources/third_party/vulkan/src/build-android/jniLibs"
38-
}
3932
}
4033
}
4134

0 commit comments

Comments
 (0)