-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1152 from tangrams/android-cmake
Build Android native libraries through Gradle
- Loading branch information
Showing
47 changed files
with
108 additions
and
2,042 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,7 @@ proguard/ | |
# Log Files | ||
*.log | ||
|
||
*.externalNativeBuild | ||
|
||
### Xcode ### | ||
*.pbxuser | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,29 @@ | ||
buildscript { | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.1.3' | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 24 | ||
buildToolsVersion '24.0.2' | ||
compileSdkVersion 25 | ||
buildToolsVersion '25.0.0' | ||
|
||
defaultConfig { | ||
minSdkVersion 15 | ||
targetSdkVersion 24 | ||
targetSdkVersion 25 | ||
} | ||
|
||
sourceSets.main { | ||
manifest.srcFile 'AndroidManifest.xml' | ||
java.srcDirs = ['src'] | ||
resources.srcDirs = ['src'] | ||
res.srcDirs = ['res'] | ||
assets.srcDirs = ['../../scenes'] | ||
} | ||
|
||
aaptOptions.ignoreAssetsPattern "!*.ttf" | ||
|
||
buildTypes { | ||
debug { | ||
// applicationIdSuffix ".debug" | ||
debuggable true | ||
jniDebuggable true | ||
} | ||
} | ||
|
||
aaptOptions.ignoreAssetsPattern "!*.ttf" | ||
} | ||
|
||
dependencies { | ||
compile project(":tangram") | ||
debugCompile project(path: ':tangram', configuration: 'slimDebug') | ||
releaseCompile project(path: ':tangram', configuration: 'slimRelease') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
org.gradle.daemon=true | ||
org.gradle.parallel=true | ||
org.gradle.jvmargs=-Xmx2048m |
Oops, something went wrong.