summaryrefslogtreecommitdiffstats
path: root/tools/grit/grit_info.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/grit/grit_info.py')
-rwxr-xr-xtools/grit/grit_info.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/grit/grit_info.py b/tools/grit/grit_info.py
index cf80954..9bb7c430 100755
--- a/tools/grit/grit_info.py
+++ b/tools/grit/grit_info.py
@@ -83,6 +83,9 @@ def main(argv):
parser.add_option("--inputs", action="store_true", dest="inputs")
parser.add_option("--outputs", action="store_true", dest="outputs")
parser.add_option("-D", action="append", dest="defines", default=[])
+ # grit build also supports '-E KEY=VALUE', support that to share command
+ # line flags.
+ parser.add_option("-E", action="append", dest="build_env", default=[])
options, args = parser.parse_args()