Remove root dir from protoc.gypi include paths.

This include directory doesn't seem to be needed and is causing
problems in some downstream projects.

NOTRY=True

Review URL: https://codereview.webrtc.org/1903553005

Cr-Commit-Position: refs/heads/master@{#12445}
This commit is contained in:
kjellander 2016-04-20 06:22:20 -07:00 committed by Commit bot
parent 1edb7ab7bd
commit 40bebd3c11

View File

@ -12,6 +12,11 @@
# build/common.gypi is different for the standalone and Chromium builds. Gyp
# doesn't permit conditional inclusion or variable expansion in include paths.
# http://code.google.com/p/gyp/wiki/InputFormatReference#Including_Other_Files
#
# Local changes:
# * Removed <(DEPTH) from include_dir due to difficulties with generated
# downstream code.
# This file is meant to be included into a target to provide a rule
# to invoke protoc in a consistent manner. For Java-targets, see
@ -111,12 +116,10 @@
],
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)/protoc_out',
'<(DEPTH)',
],
'direct_dependent_settings': {
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)/protoc_out',
'<(DEPTH)',
]
},
# This target exports a hard dependency because it generates header