mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
android: add support for x86_64 images (#31725)
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
b2f2ae61db
commit
4bca55e27a
7 changed files with 57 additions and 5 deletions
|
@ -76,6 +76,12 @@ android {
|
|||
x86Release {
|
||||
initWith(release)
|
||||
}
|
||||
x64Debug {
|
||||
initWith(debug)
|
||||
}
|
||||
x64Release {
|
||||
initWith(release)
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
@ -99,6 +105,12 @@ android {
|
|||
x86Release {
|
||||
jniLibs.srcDirs = [getJniLibsPath(false, 'x86')]
|
||||
}
|
||||
x64Debug {
|
||||
jniLibs.srcDirs = [getJniLibsPath(true, 'x64')]
|
||||
}
|
||||
x64Release {
|
||||
jniLibs.srcDirs = [getJniLibsPath(false, 'x64')]
|
||||
}
|
||||
}
|
||||
|
||||
// Ignore default 'debug' and 'release' build types
|
||||
|
@ -183,7 +195,7 @@ dependencies {
|
|||
]
|
||||
// Iterate all build types and dependencies
|
||||
// For each dependency call the proper implementation command and set the correct dependency path
|
||||
def list = ['armv7', 'arm64', 'x86']
|
||||
def list = ['armv7', 'arm64', 'x86', 'x64']
|
||||
for (arch in list) {
|
||||
for (debug in [true, false]) {
|
||||
String basePath = getTargetDir(debug, arch) + "/build"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue