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

Unified Diff: tools/gn/secondary/skia/BUILD.gn

Issue 156563002: Redefine is_linux to not include Android in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « tools/gn/secondary/chrome/BUILD.gn ('k') | tools/gn/secondary/third_party/libxml/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/skia/BUILD.gn
diff --git a/tools/gn/secondary/skia/BUILD.gn b/tools/gn/secondary/skia/BUILD.gn
index 4643cdc8842cbd9ec628655ed1359b83531a591f..e13bb5f46d239733699eedc816114c31d3adacbf 100644
--- a/tools/gn/secondary/skia/BUILD.gn
+++ b/tools/gn/secondary/skia/BUILD.gn
@@ -1238,8 +1238,7 @@ if (component_mode == "static_library") {
}
-if (is_linux && !is_android) {
- # TODO(brettw) && arch != "arm" && arch != "mipsel"
+if (is_linux && (cpu_arch == "x86" || cpu_arch == "x64")) {
sse_cflags = [ "-msse2" ]
} else {
sse_cflags = []
« no previous file with comments | « tools/gn/secondary/chrome/BUILD.gn ('k') | tools/gn/secondary/third_party/libxml/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698