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

Unified Diff: BUILD.gn

Issue 2279703003: GN: mac host and armv7 target (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: mips for real Created 4 years, 4 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 | gn/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 8c053cfbb96697865b4c91ba81ec9788e01105f3..02cb350d57e14b4c6b174f82723dbb38e1beed3f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -215,6 +215,12 @@ opts("avx") {
cflags = [ "-mavx" ]
}
+opts("dsp") {
+ enabled = current_cpu == "mipsel"
+ sources = opts_gypi.mips_dsp_sources
+ cflags = [ "-Wno-deprecated-register" ] # FIXME
+}
+
# Any feature of Skia that requires third-party code should be optional and use this template.
template("optional") {
if (invoker.enabled) {
@@ -334,6 +340,7 @@ component("skia") {
":armv7",
":avx",
":crc32",
+ ":dsp",
":gif",
":jpeg",
":none",
« no previous file with comments | « no previous file | gn/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698