Make gypi_to_gn skip target_defaults sections.

Add 'target_defaults' to the list of top level keys ignored by gypi_to_gn.py
so it can process files that contain that.

BUG=795329

Change-Id: I3733a7efb97366827febf87ec1be95ad8723be23
Reviewed-on: https://chromium-review.googlesource.com/830114
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#524449}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f1d7d41d5aec7d6562f94544675f90eb4e915f44
This commit is contained in:
Frank Henigman 2017-12-15 20:19:18 +00:00 коммит произвёл Commit Bot
Родитель 85765be335
Коммит 2f3b6e8ce9
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -117,6 +117,7 @@ def LoadPythonDictionary(path):
elements_to_strip = [
'conditions',
'target_conditions',
'target_defaults',
'targets',
'includes',
'actions',