зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1527796 - Part 4. Convert file separator to slash. r=nalexander
The file separator of Windows is backslash, not slash. So we have to convert it to slash if necessary. Differential Revision: https://phabricator.services.mozilla.com/D20453 --HG-- extra : rebase_source : 68db0c1fc2870a605aa3d9ed34163ba20bbe6f90
This commit is contained in:
Родитель
bbb7f9d8a9
Коммит
2a4158c8eb
|
@ -32,7 +32,7 @@ android {
|
|||
testApplicationId 'org.mozilla.roboexample.test'
|
||||
testInstrumentationRunner 'org.mozilla.gecko.FennecInstrumentationTestRunner'
|
||||
// Used by Robolectric based tests; see TestRunner.
|
||||
buildConfigField 'String', 'BUILD_DIR', "\"${project.buildDir}\""
|
||||
buildConfigField 'String', 'BUILD_DIR', "\"${project.buildDir}\"".tr(File.separator, "/")
|
||||
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
multiDexEnabled true
|
||||
|
|
|
@ -91,7 +91,7 @@ ext.configureLibraryVariantWithJNIWrappers = { variant, module ->
|
|||
// JNI wrappers is the moz.build system, which always builds geckoview to
|
||||
// consume from Fennec, so that dependency likely adds less to the build time.
|
||||
def jarTask = tasks["transformClassesAndResourcesWithPrepareIntermediateJarsFor${variant.name.capitalize()}"]
|
||||
def bundleJar = jarTask.outputs.files.find({ it.absolutePath.contains('/classes.jar') })
|
||||
def bundleJar = jarTask.outputs.files.find({ it.name == 'classes.jar' })
|
||||
|
||||
def annotationProcessorsJarTask = project(':annotations').jar
|
||||
|
||||
|
@ -140,7 +140,7 @@ ext.configureLibraryVariantWithJNIWrappers = { variant, module ->
|
|||
|
||||
ext.configureApplicationVariantWithJNIWrappers = { variant, module ->
|
||||
def jarTask = tasks["bundleAppClasses${variant.name.capitalize()}"]
|
||||
def bundleJar = jarTask.outputs.files.find({ it.absolutePath.contains('/classes.jar') })
|
||||
def bundleJar = jarTask.outputs.files.find({ it.name == 'classes.jar' })
|
||||
|
||||
def annotationProcessorsJarTask = project(':annotations').jar
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче