Update Boost dependency on Android to 1.63
Summary: We use this version internally. Closes https://github.com/facebook/react-native/pull/12837 Differential Revision: D4688986 Pulled By: mkonicek fbshipit-source-id: 93d9dedb51a56d6104aae443e939455c44397e88
This commit is contained in:
parent
0c46953ad0
commit
193afff926
|
@ -35,16 +35,16 @@ task createNativeDepsDirectories {
|
|||
}
|
||||
|
||||
task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) {
|
||||
src 'https://github.com/react-native-community/boost-for-react-native/releases/download/v1.57.0-1/boost_1_57_0.tar.gz'
|
||||
src 'https://github.com/react-native-community/boost-for-react-native/releases/download/v1.63.0-0/boost_1_63_0.tar.gz'
|
||||
onlyIfNewer true
|
||||
overwrite false
|
||||
dest new File(downloadsDir, 'boost_1_57_0.tar.gz')
|
||||
dest new File(downloadsDir, 'boost_1_63_0.tar.gz')
|
||||
}
|
||||
|
||||
task prepareBoost(dependsOn: boostPath ? [] : [downloadBoost], type: Copy) {
|
||||
from boostPath ?: tarTree(resources.gzip(downloadBoost.dest))
|
||||
from 'src/main/jni/third-party/boost/Android.mk'
|
||||
include 'boost_1_57_0/boost/**/*.hpp', 'Android.mk'
|
||||
include 'Android.mk', 'boost_1_63_0/boost/**/*.hpp'
|
||||
includeEmptyDirs = false
|
||||
into "$thirdPartyNdkDir/boost"
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/boost_1_57_0
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/boost_1_57_0
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/boost_1_63_0
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/boost_1_63_0
|
||||
CXX11_FLAGS := -std=gnu++11
|
||||
LOCAL_EXPORT_CPPFLAGS := $(CXX11_FLAGS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue