Index: third_party/protobuf/protobuf.gyp |
diff --git a/third_party/protobuf/protobuf.gyp b/third_party/protobuf/protobuf.gyp |
index 772bc1060e329ba4014f2aa7e26574b3f9d08f10..df0f6e5b2f64a6e371e5c4a1be150c361e0e62c2 100644 |
--- a/third_party/protobuf/protobuf.gyp |
+++ b/third_party/protobuf/protobuf.gyp |
@@ -28,7 +28,7 @@ |
], |
}, |
}], |
- ['OS=="ios"', { |
+ ['OS=="ios" and "<(GENERATOR)"!="ninja"', { |
'variables': { |
'ninja_output_dir': 'ninja-protoc', |
'ninja_product_dir': |
@@ -205,7 +205,7 @@ |
{ |
'target_name': 'protoc', |
'conditions': [ |
- ['OS!="ios"', { |
+ ['OS!="ios" or "<(GENERATOR)"=="ninja"', { |
'type': 'executable', |
'toolsets': ['host'], |
'sources': [ |
@@ -273,7 +273,7 @@ |
'<(config_h_dir)', |
'src/src', |
], |
- }, { # else, OS=="ios" |
+ }, { # else, OS=="ios" and "<(GENERATOR)"!="ninja" |
'type': 'none', |
'dependencies': [ |
'compile_protoc', |