Case sensitive path

This commit is contained in:
Pritesh Nandgaonkar
2018-06-19 18:28:36 +01:00
parent 88a6cff373
commit 3a6d7928be

View File

@@ -97,7 +97,7 @@ task downloadFolly(dependsOn: createNativeDepsDirectories, type: Download) {
task prepareFolly(dependsOn: [downloadFolly], type: Copy) { task prepareFolly(dependsOn: [downloadFolly], type: Copy) {
from tarTree(downloadFolly.dest) from tarTree(downloadFolly.dest)
from './third-party/folly/' from './third-party/Folly/'
include 'folly-2018.06.18.00/folly/**/*', 'build.gradle', 'CMakeLists.txt', 'ApplicationManifest.xml' include 'folly-2018.06.18.00/folly/**/*', 'build.gradle', 'CMakeLists.txt', 'ApplicationManifest.xml'
eachFile {fname -> fname.path = (fname.path - "folly-2018.06.18.00/")} eachFile {fname -> fname.path = (fname.path - "folly-2018.06.18.00/")}
includeEmptyDirs = false includeEmptyDirs = false
@@ -106,7 +106,7 @@ task prepareFolly(dependsOn: [downloadFolly], type: Copy) {
//TODO: Get rid off this hack. //TODO: Get rid off this hack.
task finalizeFolly(dependsOn: [prepareFolly], type: Copy) { task finalizeFolly(dependsOn: [prepareFolly], type: Copy) {
from './third-party/folly/' from './third-party/Folly/'
include 'AsyncServerSocket.cpp' include 'AsyncServerSocket.cpp'
into "$thirdPartyNdkDir/folly/folly/io/async/" into "$thirdPartyNdkDir/folly/folly/io/async/"
} }