blob: f8d9a098690b73bfa46bc8d285f58b6527031585 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TOOLS_GN_SOURCE_FILE_TYPE_H_
#define TOOLS_GN_SOURCE_FILE_TYPE_H_
class SourceFile;
enum SourceFileType {
SOURCE_UNKNOWN,
SOURCE_ASM,
SOURCE_C,
SOURCE_CC,
SOURCE_H,
SOURCE_M,
SOURCE_MM,
SOURCE_S,
SOURCE_RC,
SOURCE_O, // Object files can be inputs, too. Also counts .obj.
};
SourceFileType GetSourceFileType(const SourceFile& file);
#endif // TOOLS_GN_SOURCE_FILE_TYPE_H_