aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn19
1 files changed, 16 insertions, 3 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 97cbf731f6..f10d232fcc 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1551,9 +1551,13 @@ if (skia_enable_tools) {
":xml",
"modules/sksg:samples",
"modules/skshaper",
- "//third_party/Nima-Cpp",
]
+ # NIMA does not build on Windows clang
+ if (!is_win || !is_clang) {
+ deps += [ "//third_party/Nima-Cpp" ]
+ }
+
if (skia_use_lua) {
sources += [ "samplecode/SampleLua.cpp" ]
deps += [
@@ -1581,10 +1585,14 @@ if (skia_enable_tools) {
":tool_utils",
"modules/skottie",
"modules/sksg",
- "//third_party/Nima-Cpp",
"//third_party/jsoncpp",
"//third_party/libpng",
]
+
+ # NIMA does not build on Windows clang
+ if (!is_win || !is_clang) {
+ deps += [ "//third_party/Nima-Cpp" ]
+ }
}
}
@@ -2005,9 +2013,14 @@ if (skia_enable_tools) {
":views",
"modules/skottie",
"modules/sksg",
- "//third_party/Nima-Cpp",
"//third_party/imgui",
]
+
+ # NIMA does not build on Windows clang
+ if (!is_win || !is_clang) {
+ sources += [ "tools/viewer/NIMASlide.cpp" ]
+ deps += [ "//third_party/Nima-Cpp" ]
+ }
}
if (is_android) {