diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-20 04:26:55 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-20 04:26:55 +0000 |
commit | 7f2b78edada2c31a6d08875698e32aa3f5439b9a (patch) | |
tree | f6a153433649f8c971eb9020f916eae002a740a4 /build/gypi_to_gn.py | |
parent | 89e4b74283b868d3343a9dc981a8c2eff662b0bf (diff) | |
download | chromium_src-7f2b78edada2c31a6d08875698e32aa3f5439b9a.zip chromium_src-7f2b78edada2c31a6d08875698e32aa3f5439b9a.tar.gz chromium_src-7f2b78edada2c31a6d08875698e32aa3f5439b9a.tar.bz2 |
Work toward a chrome/common GN target.
This adds more of the chrome/common target. The sources don't all compile yet so this is commented out.
Add many resources targets required my chrome/common.
R=thestig@chromium.org
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/348663003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278586 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/gypi_to_gn.py')
-rw-r--r-- | build/gypi_to_gn.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/gypi_to_gn.py b/build/gypi_to_gn.py index d52e3a0..a107f94 100644 --- a/build/gypi_to_gn.py +++ b/build/gypi_to_gn.py @@ -96,6 +96,11 @@ def LoadPythonDictionary(path): if 'target_conditions' in file_data: del file_data['target_conditions'] + # Strip targets in the toplevel, since some files define these and we can't + # slurp them in. + if 'targets' in file_data: + del file_data['targets'] + return file_data |