bump double conversion to 1.1.6 (#19885)

Summary:
bump double conversion to 1.1.6.

Version 1.1.2 added ARM 64 support, so it's a step to add support for 64bit in RN.
Closes https://github.com/facebook/react-native/pull/19885

Differential Revision: D8662108

Pulled By: hramos

fbshipit-source-id: 446d83eab4df90efed9c08eac912e7f857b7f253
This commit is contained in:
Dulmandakh 2018-06-27 11:42:53 -07:00 committed by Facebook Github Bot
parent 770dd38bbb
commit f32032e460
1 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ def thirdPartyNdkDir = new File("$buildDir/third-party-ndk")
// You need to have following folders in this directory: // You need to have following folders in this directory:
// - boost_1_63_0 // - boost_1_63_0
// - double-conversion-1.1.1 // - double-conversion-1.1.6
// - folly-deprecate-dynamic-initializer // - folly-deprecate-dynamic-initializer
// - glog-0.3.3 // - glog-0.3.3
// - jsc-headers // - jsc-headers
@ -57,16 +57,16 @@ task prepareBoost(dependsOn: boostPath ? [] : [downloadBoost], type: Copy) {
} }
task downloadDoubleConversion(dependsOn: createNativeDepsDirectories, type: Download) { task downloadDoubleConversion(dependsOn: createNativeDepsDirectories, type: Download) {
src 'https://github.com/google/double-conversion/archive/v1.1.1.tar.gz' src 'https://github.com/google/double-conversion/archive/v1.1.6.tar.gz'
onlyIfNewer true onlyIfNewer true
overwrite false overwrite false
dest new File(downloadsDir, 'double-conversion-1.1.1.tar.gz') dest new File(downloadsDir, 'double-conversion-1.1.6.tar.gz')
} }
task prepareDoubleConversion(dependsOn: dependenciesPath ? [] : [downloadDoubleConversion], type: Copy) { task prepareDoubleConversion(dependsOn: dependenciesPath ? [] : [downloadDoubleConversion], type: Copy) {
from dependenciesPath ?: tarTree(downloadDoubleConversion.dest) from dependenciesPath ?: tarTree(downloadDoubleConversion.dest)
from 'src/main/jni/third-party/double-conversion/Android.mk' from 'src/main/jni/third-party/double-conversion/Android.mk'
include 'double-conversion-1.1.1/src/**/*', 'Android.mk' include 'double-conversion-1.1.6/src/**/*', 'Android.mk'
filesMatching('*/src/**/*', {fname -> fname.path = "double-conversion/${fname.name}"}) filesMatching('*/src/**/*', {fname -> fname.path = "double-conversion/${fname.name}"})
includeEmptyDirs = false includeEmptyDirs = false
into "$thirdPartyNdkDir/double-conversion" into "$thirdPartyNdkDir/double-conversion"