Index: third_party/protobuf/protobuf.gyp |
diff --git a/third_party/protobuf/protobuf.gyp b/third_party/protobuf/protobuf.gyp |
index 25ddbae670173d419ad9d6fc151ebd2930c947e9..7417eecc8915165e77acbd30a01826fe14708122 100644 |
--- a/third_party/protobuf/protobuf.gyp |
+++ b/third_party/protobuf/protobuf.gyp |
@@ -29,7 +29,7 @@ |
], |
}, |
}], |
- ['OS=="ios" and "<(GENERATOR)"!="ninja"', { |
+ ['OS=="ios" and "<(GENERATOR)"=="xcode" and "<(GENERATOR_FLAVOR)"!="ninja"', { |
'variables': { |
'ninja_output_dir': 'ninja-protoc', |
'ninja_product_dir': |
@@ -170,7 +170,7 @@ |
{ |
'target_name': 'protoc', |
'conditions': [ |
- ['OS!="ios" or "<(GENERATOR)"=="ninja"', { |
+ ['OS!="ios" or "<(GENERATOR)"!="xcode" or "<(GENERATOR_FLAVOR)"=="ninja"', { |
'type': 'executable', |
'toolsets': ['host'], |
'sources': [ |
@@ -238,7 +238,7 @@ |
'<(config_h_dir)', |
'src/src', |
], |
- }, { # else, OS=="ios" and "<(GENERATOR)"!="ninja" |
+ }, { # else, OS=="ios" and "<(GENERATOR)"=="xcode" and "<(GENERATOR_FLAVOR)"!="ninja" |
'type': 'none', |
'toolsets': ['host'], |
'dependencies': [ |