Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: tools/gn/runtime_deps.h

Issue 1130183007: Add runtime dependency extraction for GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make msvc happy Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/gn/ninja_target_writer.cc ('k') | tools/gn/runtime_deps.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « tools/gn/ninja_target_writer.cc ('k') | tools/gn/runtime_deps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698