| Index: libadblockplus-android/build.gradle |
| diff --git a/libadblockplus-android/build.gradle b/libadblockplus-android/build.gradle |
| index 069c44cf739f2aac8e3843c5d92bd7b4f7ee2e61..f8159101066630b283980377f5cec97a7ae7356e 100644 |
| --- a/libadblockplus-android/build.gradle |
| +++ b/libadblockplus-android/build.gradle |
| @@ -29,4 +29,21 @@ android { |
| jni.srcDirs = ['jni'] |
| } |
| } |
| + |
| + def sharedV8LibFiles = System.getenv('SHARED_V8_LIB_FILENAMES') |
| + if (sharedV8LibFiles != null) { |
| + def sharedV8LibFilesSet = [] |
| + def sharedV8LibFilesArray = sharedV8LibFiles.split(' ') |
| + sharedV8LibFilesArray.each { eachFileName -> |
| + sharedV8LibFilesSet.add("**/" + eachFileName) |
| + println "[Configuration] Excluding shared v8 library " + eachFileName + " from AAR" |
| + } |
| + |
| + packagingOptions { |
| + excludes = sharedV8LibFilesSet |
|
diegocarloslima
2017/11/08 13:25:55
I think we weren't in the same page in my last com
anton
2017/11/08 13:28:25
It's equal to what we had before last patch set. I
|
| + } |
| + } else { |
| + println "[Configuration] No shared v8 libraries excluded from AAR" |
| + } |
| + |
| } |