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:
Martin Konicek 2017-03-10 05:12:27 -08:00 committed by Facebook Github Bot
parent 0c46953ad0
commit 193afff926
2 changed files with 6 additions and 6 deletions

View File

@ -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"
}

View File

@ -1,11 +1,11 @@
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)
LOCAL_MODULE := boost
include $(BUILD_STATIC_LIBRARY)
include $(BUILD_STATIC_LIBRARY)