Index: base/json/BUILD.gn |
diff --git a/base/json/BUILD.gn b/base/json/BUILD.gn |
index 70830c15e55d583b71bd25de188855edee898914..5cb42a3249ad569ed6895a84340b21482a354d07 100644 |
--- a/base/json/BUILD.gn |
+++ b/base/json/BUILD.gn |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/nacl/config.gni") |
+ |
source_set("json") { |
sources = [ |
"json_file_value_serializer.cc", |
@@ -20,7 +22,7 @@ source_set("json") { |
"string_escape.h", |
] |
- if (is_nacl) { |
+ if (is_nacl && !is_nacl_nonsfi) { |
sources -= [ |
"json_file_value_serializer.cc", |
"json_file_value_serializer.h", |