Skip to content

Commit

Permalink
Remove Android debug configs (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
matteblair committed Dec 19, 2016
1 parent 4534136 commit b859576
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
6 changes: 0 additions & 6 deletions android/demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ android {
res.srcDirs = ['res']
assets.srcDirs = ['../../scenes']
}
buildTypes {
debug {
// applicationIdSuffix ".debug"
jniDebuggable true
}
}

aaptOptions.ignoreAssetsPattern "!*.ttf"
}
Expand Down
7 changes: 0 additions & 7 deletions android/tangram/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ android {
}
}

// Add gdb server to apk
afterEvaluate {
Sync packageTask = project.getTasks().findByName("packageReleaseJniLibs")
if (packageTask) { packageTask.include(['**/gdbserver', '**/gdb.setup']) }

packageTask = project.getTasks().findByName("packageDebugJniLibs")
if (packageTask) { packageTask.include(['**/gdbserver', '**/gdb.setup']) }
}

dependencies {
Expand Down
12 changes: 0 additions & 12 deletions toolchains/android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ add_subdirectory(${PROJECT_SOURCE_DIR}/core)

set(ANDROID_PROJECT_DIR ${PROJECT_SOURCE_DIR}/android/tangram)

if(CMAKE_BUILD_TYPE MATCHES Debug)
if(POLICY CMP0026)
cmake_policy(SET CMP0026 OLD)
endif()
include(toolchains/android.gdb.cmake)
android_ndk_gdb_enable()
endif()

set(LIB_NAME tangram) # in order to have libtangram.so

add_library(${LIB_NAME} SHARED
Expand All @@ -42,10 +34,6 @@ target_compile_options(${LIB_NAME}
PUBLIC
-fPIC)

if(CMAKE_BUILD_TYPE MATCHES Debug)
android_ndk_gdb_debuggable(${LIB_NAME})
endif()

# install to android library dir
set(LIB_INSTALLATION_PATH ${CMAKE_SOURCE_DIR}/android/tangram/libs/${ANDROID_ABI})

Expand Down

0 comments on commit b859576

Please sign in to comment.