Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Fix android compile problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen committed May 28, 2019
1 parent 01f964e commit 734b282
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ if(file('../license/LICENSE').exists()){
'Source/android/jniprebuild/jniheader/*.h',
'Source/base/Compatible.cpp',
'Source/IPC/**/*.h','Source/IPC/**/*.cpp', 'Source/IPC/**/*.c',
'weex_core/Source/android/jsengine/dependence/**/*.h',
'weex_core/Source/android/jsengine/dependence/**/*.cpp',
'weex_core/Source/include/wtf/Optional.h',
'weex_core/Source/include/wtf/Brigand.h',
'weex_core/Source/include/wtf/Variant.h'])
'Source/android/jsengine/dependence/**/*.h',
'Source/android/jsengine/dependence/**/*.cpp',
'Source/include/wtf/Optional.h',
'Source/include/wtf/Brigand.h',
'Source/include/wtf/Variant.h'])
}
preBuild.dependsOn licenseFormat
}
Expand Down
1 change: 1 addition & 0 deletions weex_core/Source/base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ set(${BASE_LIBRARY_NAME}_SOURCES
)

if (ANDROID)
add_definitions(-DOS_ANDROID=1)
if ("${ANDROID_ABI}" STREQUAL "x86")
else ()
list(APPEND ${BASE_LIBRARY_NAME}_SOURCES
Expand Down

0 comments on commit 734b282

Please sign in to comment.