Fix Android roll
- only depend on cpu-features when we know we have an NDK
- disable SkSplicer
Change-Id: I89e4cc70d6ddf0ebb7005d1cb453768d946cd205
Reviewed-on: https://skia-review.googlesource.com/7060
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index ddc884b..390f136 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -646,10 +646,10 @@
}
if (is_android) {
- deps += [
- "//third_party/cpu-features",
- "//third_party/expat",
- ]
+ deps += [ "//third_party/expat" ]
+ if (is_skia_standalone && ndk != "") {
+ deps += [ "//third_party/cpu-features" ]
+ }
sources += [ "src/ports/SkDebug_android.cpp" ]
libs += [
"EGL",