Index: build/config/sysroot.gni |
diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni |
index 941c77aabd8b3f93a59b41eafff592d8507a0f16..057971d69c4282d0336fd51b2d0c31453b8c2abc 100644 |
--- a/build/config/sysroot.gni |
+++ b/build/config/sysroot.gni |
@@ -15,22 +15,18 @@ if (current_toolchain == default_toolchain && target_sysroot != "") { |
sysroot = target_sysroot |
} else if (is_android) { |
import("//build/config/android/config.gni") |
- if (!is_android_webview_build) { |
- if (current_cpu == "x86") { |
- sysroot = rebase_path("$android_ndk_root/$x86_android_sysroot_subdir") |
- } else if (current_cpu == "arm") { |
- sysroot = rebase_path("$android_ndk_root/$arm_android_sysroot_subdir") |
- } else if (current_cpu == "mipsel") { |
- sysroot = rebase_path("$android_ndk_root/$mips_android_sysroot_subdir") |
- } else if (current_cpu == "x64") { |
- sysroot = rebase_path("$android_ndk_root/$x86_64_android_sysroot_subdir") |
- } else if (current_cpu == "arm64") { |
- sysroot = rebase_path("$android_ndk_root/$arm64_android_sysroot_subdir") |
- } else if (current_cpu == "mips64") { |
- sysroot = rebase_path("$android_ndk_root/$mips64_android_sysroot_subdir") |
- } else { |
- sysroot = "" |
- } |
+ if (current_cpu == "x86") { |
+ sysroot = rebase_path("$android_ndk_root/$x86_android_sysroot_subdir") |
+ } else if (current_cpu == "arm") { |
+ sysroot = rebase_path("$android_ndk_root/$arm_android_sysroot_subdir") |
+ } else if (current_cpu == "mipsel") { |
+ sysroot = rebase_path("$android_ndk_root/$mips_android_sysroot_subdir") |
+ } else if (current_cpu == "x64") { |
+ sysroot = rebase_path("$android_ndk_root/$x86_64_android_sysroot_subdir") |
+ } else if (current_cpu == "arm64") { |
+ sysroot = rebase_path("$android_ndk_root/$arm64_android_sysroot_subdir") |
+ } else if (current_cpu == "mips64") { |
+ sysroot = rebase_path("$android_ndk_root/$mips64_android_sysroot_subdir") |
} else { |
sysroot = "" |
} |