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

Unified Diff: skia/BUILD.gn

Issue 343413002: [MIPS] Add MIPS Android related changes to gn build system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correct indentation. Created 6 years, 6 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 | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »
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 c6890d2b4dff55bd9ec40d1c6c0675af8ff40c5a..4dd3ef8f39aa9f8f178e0cd67f9bb8b813488a6b 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -631,9 +631,19 @@ source_set("skia_opts") {
]
}
-
+ } else if (cpu_arch == "mipsel") {
+ cflags += [ "-fomit-frame-pointer" ]
+ sources = [
+ "//third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp",
+ "//third_party/skia/src/opts/SkBlitMask_opts_none.cpp",
+ "//third_party/skia/src/opts/SkBlitRow_opts_none.cpp",
+ "//third_party/skia/src/opts/SkUtils_opts_none.cpp",
+ "//third_party/skia/src/opts/SkXfermode_opts_none.cpp",
+ "//third_party/skia/src/opts/SkMorphology_opts_none.cpp",
+ "//third_party/skia/src/opts/SkBlurImage_opts_none.cpp",
+ ]
} else {
- assert(false, "Need to port MIPS stuff from skia_library_opts.gyp")
+ assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp")
}
configs -= [ "//build/config/compiler:chromium_code" ]
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698