Partially fix compilation of media_unittests with Xcode 7 (OS X 10.11 SDK).
[chromium-blink-merge.git] / tools / gn / runtime_deps.h
blob8592677b6dd4b2198382dd7b6c21af5f6f99d214
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef TOOLS_GN_RUNTIME_DEPS_H
6 #define TOOLS_GN_RUNTIME_DEPS_H
8 #include <utility>
9 #include <vector>
11 class Builder;
12 class Err;
13 class OutputFile;
14 class Target;
16 extern const char kRuntimeDeps_Help[];
18 // Computes the runtime dependencies of the given target. The result is a list
19 // of pairs listing the runtime dependency and the target that the runtime
20 // dependency is from (for blaming).
21 std::vector<std::pair<OutputFile, const Target*>> ComputeRuntimeDeps(
22 const Target* target);
24 // Writes all runtime deps files requested on the command line, or does nothing
25 // if no files were specified.
26 bool WriteRuntimeDepsFilesIfNecessary(const Builder& builder, Err* err);
28 #endif // TOOLS_GN_RUNTIME_DEPS_H