Consume new `substitute-local-geckoview.gradle` script from Bug 1533465.
parent
df3e1bf9d3
commit
23b9a41059
|
@ -582,3 +582,11 @@ afterEvaluate {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (gradle.hasProperty('localProperties.dependencySubstitutions.geckoviewTopsrcdir')) {
|
||||||
|
if (gradle.hasProperty('localProperties.dependencySubstitutions.geckoviewTopobjdir')) {
|
||||||
|
ext.topobjdir = gradle."localProperties.dependencySubstitutions.geckoviewTopobjdir"
|
||||||
|
}
|
||||||
|
ext.topsrcdir = gradle."localProperties.dependencySubstitutions.geckoviewTopsrcdir"
|
||||||
|
apply from: "${topsrcdir}/substitute-local-geckoview.gradle"
|
||||||
|
}
|
||||||
|
|
|
@ -16,6 +16,10 @@ if (file('local.properties').canRead()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (localProperties != null) {
|
if (localProperties != null) {
|
||||||
|
localProperties.each { prop ->
|
||||||
|
gradle.ext.set("localProperties.${prop.key}", prop.value)
|
||||||
|
}
|
||||||
|
|
||||||
String appServicesLocalPath = localProperties.getProperty(settingAppServicesPath);
|
String appServicesLocalPath = localProperties.getProperty(settingAppServicesPath);
|
||||||
|
|
||||||
if (appServicesLocalPath != null) {
|
if (appServicesLocalPath != null) {
|
||||||
|
|
Loading…
Reference in New Issue