diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-02 16:42:56 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-02 16:42:56 +0000 |
commit | 600ee6d286f0d390bf32bf7bb7f0eaf07a6d4f19 (patch) | |
tree | 984105ea1dbd9e03e1211e95cca7f733fba3f46d /tools/gn/filesystem_utils.h | |
parent | 944d53bea47b91007ec7cad035dd9fcc9caffe5a (diff) | |
download | chromium_src-600ee6d286f0d390bf32bf7bb7f0eaf07a6d4f19.zip chromium_src-600ee6d286f0d390bf32bf7bb7f0eaf07a6d4f19.tar.gz chromium_src-600ee6d286f0d390bf32bf7bb7f0eaf07a6d4f19.tar.bz2 |
Pass object files through to linker in GN.
Previously .o files in the sources of a target would be ignored. This patch passes them through unchanged. This allows intermediate tools executed via actions to generate object files that can then be linked with the rest of the build.
R=scottmg@chromium.org
Review URL: https://codereview.chromium.org/260903014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267812 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gn/filesystem_utils.h')
-rw-r--r-- | tools/gn/filesystem_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gn/filesystem_utils.h b/tools/gn/filesystem_utils.h index cb5fbfd..09451a5 100644 --- a/tools/gn/filesystem_utils.h +++ b/tools/gn/filesystem_utils.h @@ -26,6 +26,7 @@ enum SourceFileType { SOURCE_MM, SOURCE_S, SOURCE_RC, + SOURCE_O, // Object files can be inputs, too. Also counts .obj. }; SourceFileType GetSourceFileType(const SourceFile& file); |