| Index: build/config/sysroot.gni
|
| diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni
|
| index 2bcd6caae1e9a468e7b39f3613c41d2eac5b6ea9..54ae08bde71b3ab12d5b7435b870229c82b6dbb2 100644
|
| --- a/build/config/sysroot.gni
|
| +++ b/build/config/sysroot.gni
|
| @@ -104,6 +104,17 @@ if (is_linux && target_sysroot_dir != "") {
|
| } else if (is_ios) {
|
| import("//build/config/ios/ios_sdk.gni")
|
| sysroot = ios_sdk_path
|
| +} else if (current_os == "fuchsia") {
|
| + import("//build/config/fuchsia/config.gni")
|
| + if (current_cpu == "arm64") {
|
| + sysroot = fuchsia_sysroot_location + "/aarch64-fuchsia"
|
| + } else if (current_cpu == "x64") {
|
| + sysroot = fuchsia_sysroot_location + "/x86_64-fuchsia"
|
| + } else {
|
| + sysroot = ""
|
| + }
|
| + sysroot_stamp = rebase_path("$sysroot/.stamp")
|
| + sysroot_version = read_file(sysroot_stamp, "trim string")
|
| } else {
|
| sysroot = ""
|
| }
|
|
|