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", |