Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: skia/BUILD.gn

Issue 430253002: Update NEON compiler flags for Skia to use the SK_ prefix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | skia/skia_common.gypi » ('j') | skia/skia_library_opts.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 162a0531caa915073bcdb1b915b6dd472793a418..67862921a65c66d7d323799d33076d8ae04ddd04 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -182,10 +182,10 @@ config("skia_library_config") {
if (cpu_arch == "arm") {
if (arm_use_neon) {
- defines += [ "__ARM_HAVE_NEON" ]
+ defines += [ "SK_ARM_HAS_NEON", "__ARM_HAVE_NEON" ]
}
if (arm_optionally_use_neon) {
- defines += [ "__ARM_HAVE_OPTIONAL_NEON_SUPPORT" ]
+ defines += [ "SK_ARM_HAS_OPTIONAL_NEON", "__ARM_HAVE_OPTIONAL_NEON_SUPPORT" ]
}
}
« no previous file with comments | « no previous file | skia/skia_common.gypi » ('j') | skia/skia_library_opts.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698