Skip to content

Commit

Permalink
Define ANDROID_ABI in Cobalt
Browse files Browse the repository at this point in the history
b/385380562
  • Loading branch information
haozheng-cobalt committed Dec 27, 2024
1 parent 7fce4a7 commit e06f09a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
8 changes: 8 additions & 0 deletions cobalt/user_agent/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@ static_library("user_agent") {
"//starboard/common",
"//v8:v8_version",
]

if (is_android) {
import("//build/config/android/abi.gni")
defines = [
# Enable compile-time decisions based on the ABI
"ANDROID_ABI=$android_app_abi",
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import("//starboard/android/shared/platform_configuration/configuration.gni")

android_abi = "armeabi-v7a"
arm_float_abi = "softfp"

sb_evergreen_compatible_package = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@

import("//starboard/android/shared/platform_configuration/configuration.gni")

android_abi = "arm64-v8a"
sabi_path = "//starboard/sabi/arm64/sabi-v$sb_api_version.json"
sb_evergreen_compatible_package = true
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import("//starboard/android/shared/platform_configuration/configuration.gni")

android_abi = "x86"
sabi_path = "//starboard/sabi/x86/sabi-v$sb_api_version.json"

sb_enable_opus_sse = false

0 comments on commit e06f09a

Please sign in to comment.