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
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