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

Unified Diff: BUILD.gn

Issue 2248323002: Fix BUILD.gn for arch other then x86 and x64 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixed accoring to mtklein's comments 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 | no next file » | 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 1f43ca1c5892f0246750d64f8f8de0d62d922165..f068b3152c5248572b4d81017d966073e1a6f6c3 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -144,6 +144,11 @@ utils_gypi = exec_script("gn/gypi_to_gn.py",
"scope",
[ "gyp/utils.gypi" ])
+source_set("opts_none") {
+ configs += skia_library_configs
+ sources = opts_gypi.none_sources
+}
+
is_x86 = current_cpu == "x64" || current_cpu == "x86"
if (is_x86) {
@@ -199,6 +204,8 @@ component("skia") {
":opts_sse42",
":opts_ssse3",
]
+ } else {
+ deps += [ ":opts_none" ]
}
if (!is_win) {
@@ -530,8 +537,8 @@ test_lib("experimental_svg_model") {
sources = [
"experimental/svg/model/SkSVGAttribute.cpp",
"experimental/svg/model/SkSVGAttributeParser.cpp",
- "experimental/svg/model/SkSVGContainer.cpp",
"experimental/svg/model/SkSVGCircle.cpp",
+ "experimental/svg/model/SkSVGContainer.cpp",
"experimental/svg/model/SkSVGDOM.cpp",
"experimental/svg/model/SkSVGEllipse.cpp",
"experimental/svg/model/SkSVGNode.cpp",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698