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

Unified Diff: tools/gn/command_format_unittest.cc

Issue 2250623004: gn: make gn gen preserve import statements passed in --args (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 4 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
« no previous file with comments | « tools/gn/command_format.cc ('k') | tools/gn/setup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_format_unittest.cc
diff --git a/tools/gn/command_format_unittest.cc b/tools/gn/command_format_unittest.cc
index d753b339f826266c173207e6aa1882ee9f6f7533..802dfbda9985e113015e90862b78c2ac3d961dbf 100644
--- a/tools/gn/command_format_unittest.cc
+++ b/tools/gn/command_format_unittest.cc
@@ -6,16 +6,10 @@
#include "base/path_service.h"
#include "base/strings/string_util.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "tools/gn/command_format.h"
#include "tools/gn/commands.h"
#include "tools/gn/setup.h"
-namespace commands {
-bool FormatFileToString(Setup* setup,
- const SourceFile& file,
- bool dump_tree,
- std::string* output);
-} // namespace commands
-
#define FORMAT_TEST(n) \
TEST(Format, n) { \
::Setup setup; \
« no previous file with comments | « tools/gn/command_format.cc ('k') | tools/gn/setup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698