OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef TOOLS_GN_RUNTIME_DEPS_H |
| 6 #define TOOLS_GN_RUNTIME_DEPS_H |
| 7 |
| 8 #include <utility> |
| 9 #include <vector> |
| 10 |
| 11 class Builder; |
| 12 class Err; |
| 13 class OutputFile; |
| 14 class Target; |
| 15 |
| 16 extern const char kRuntimeDeps_Help[]; |
| 17 |
| 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); |
| 23 |
| 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); |
| 27 |
| 28 #endif // TOOLS_GN_RUNTIME_DEPS_H |
OLD | NEW |