Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: third_party/protobuf/protobuf.gyp

Issue 14597007: Support target/host architecture with ninja iOS builds (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/protobuf/protobuf.gyp
diff --git a/third_party/protobuf/protobuf.gyp b/third_party/protobuf/protobuf.gyp
index 772bc1060e329ba4014f2aa7e26574b3f9d08f10..73c23ccae81bfe3180873fad7b413099f9606956 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': [
« third_party/mach_override/mach_override.gyp ('K') | « third_party/mach_override/mach_override.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698