Index: build/protoc.gypi |
diff --git a/build/protoc.gypi b/build/protoc.gypi |
index d5df91f094ea4eadc296191eba2604a16c8ea966..555c5be45d29f3e0866eddc6aa996ec6a8a675ad 100644 |
--- a/build/protoc.gypi |
+++ b/build/protoc.gypi |
@@ -81,6 +81,11 @@ |
'<(SHARED_INTERMEDIATE_DIR)/protoc_out', |
] |
}, |
+ 'export_dependent_settings': [ |
+ # The generated headers reference headers within protobuf_lite, |
+ # so dependencies must be able to find those headers too. |
+ '<(DEPTH)/third_party/protobuf/protobuf.gyp:protobuf_lite', |
+ ], |
# This target exports a hard dependency because it generates header |
# files. |
'hard_dependency': 1, |