Skip to content

Commit

Permalink
Merge pull request android#373 from googlesamples/clang-update
Browse files Browse the repository at this point in the history
Use clang to build teapot samples
  • Loading branch information
ggfan authored Mar 30, 2017
2 parents 6fd4907 + d4eca62 commit becff48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion teapots/choreographer-30fps/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'com.android.application'

defaultConfig {
applicationId 'com.sample.choreographer'
minSdkVersion 16
minSdkVersion 21
targetSdkVersion 25
ndk {
abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'
Expand Down
6 changes: 3 additions & 3 deletions teapots/more-teapots/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ android {

defaultConfig {
applicationId 'com.sample.moreteapots'
minSdkVersion 17
minSdkVersion 21
targetSdkVersion 25
ndk {
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a','x86'
}
externalNativeBuild {
cmake {
arguments '-DANDROID_PLATFORM=android-22',
'-DANDROID_TOOLCHAIN=gcc', '-DANDROID_STL=c++_static'
arguments '-DANDROID_PLATFORM=android-21',
'-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=c++_static'
}
}
}
Expand Down

0 comments on commit becff48

Please sign in to comment.