Index: gyp/jsoncpp.gyp |
diff --git a/gyp/jsoncpp.gyp b/gyp/jsoncpp.gyp |
index 0507ed06a1629332da5eb020b51b1b771f4fd6b9..337f716a180e521e1932d268748321b3b203725b 100644 |
--- a/gyp/jsoncpp.gyp |
+++ b/gyp/jsoncpp.gyp |
@@ -18,9 +18,16 @@ |
'targets': [ |
{ |
'target_name': 'jsoncpp', |
- 'type': 'static_library', |
'conditions': [ |
- ['skia_build_json_writer', { |
+ ['skia_use_system_json', { |
+ 'type': 'none', |
+ 'direct_dependent_settings': { |
+ 'libraries': [ |
+ 'jsoncpp.a', |
+ ], |
+ }, |
+ }, { |
+ 'type': 'static_library', |
'defines': [ |
'JSON_USE_EXCEPTION=0', |
], |