aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-08-25 14:50:44 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-25 14:50:44 -0700
commit7d6fb2c92d096ac3630e23d561a4077a974a815c (patch)
tree73f270ac1a7fb82e00ef08b3f5615a46b99bf312 /src/core
parent44df651ebefc284acc2f66425dff3ea0b0e14b36 (diff)
GN: Android
Once you have downloaded an android NDK, you can set the ndk GN arg to use it. E.g. my gn.args looks like: is_debug = false ndk = "/opt/android-ndk" This should be enough to get you going for an arm64 build. You ought to be able to tweak that to other architectures by changing target_cpu to "arm", "x86", "x86-64", etc. That won't quite work until I follow this up a bit, but the skeleton is there. This is enough to get me compiled, linked, and running to completion on my N5x. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2275983004 Review-Url: https://codereview.chromium.org/2275983004
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkCpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkCpu.cpp b/src/core/SkCpu.cpp
index 0f1c7511a6..24333b767c 100644
--- a/src/core/SkCpu.cpp
+++ b/src/core/SkCpu.cpp
@@ -59,7 +59,7 @@
#elif defined(SK_CPU_ARM32) && \
defined(SK_BUILD_FOR_ANDROID) && \
!defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
- #include <cpu-features.h>
+ #include "cpu-features.h"
static uint32_t read_cpu_features() {
uint32_t features = 0;
@@ -74,7 +74,7 @@
#elif defined(SK_CPU_ARM64) && \
defined(SK_BUILD_FOR_ANDROID) && \
!defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
- #include <cpu-features.h>
+ #include "cpu-features.h"
static uint32_t read_cpu_features() {
uint32_t features = 0;