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

Unified Diff: tools/gn/ninja_writer.h

Issue 2006923004: Add support for user defined "pool" to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: tools/gn/ninja_writer.h
diff --git a/tools/gn/ninja_writer.h b/tools/gn/ninja_writer.h
index fa4a433fbfdaf22fd6a80471afd18c5ecd4ffd8d..ea8fc4718838409f99ce2c02bef3eff8515e2141 100644
--- a/tools/gn/ninja_writer.h
+++ b/tools/gn/ninja_writer.h
@@ -14,6 +14,7 @@
class Builder;
class BuildSettings;
class Err;
+class Pool;
class Settings;
class Target;
@@ -36,12 +37,13 @@ class NinjaWriter {
NinjaWriter(const BuildSettings* build_settings, Builder* builder);
~NinjaWriter();
- bool WriteToolchains(
- std::vector<const Settings*>* all_settings,
- std::vector<const Target*>* default_targets,
- Err* err);
+ bool WriteToolchains(std::vector<const Settings*>* all_settings,
+ std::vector<const Target*>* default_targets,
+ std::vector<const Pool*>* all_pools,
+ Err* err);
bool WriteRootBuildfiles(const std::vector<const Settings*>& all_settings,
const std::vector<const Target*>& default_targets,
+ const std::vector<const Pool*>& all_pools,
Err* err);
const BuildSettings* build_settings_;

Powered by Google App Engine
This is Rietveld 408576698