summaryrefslogtreecommitdiffstats
path: root/tools/gn/gyp_target_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gn/gyp_target_writer.cc')
-rw-r--r--tools/gn/gyp_target_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gn/gyp_target_writer.cc b/tools/gn/gyp_target_writer.cc
index 1c1a6a5..0f362d4 100644
--- a/tools/gn/gyp_target_writer.cc
+++ b/tools/gn/gyp_target_writer.cc
@@ -102,7 +102,7 @@ void GypTargetWriter::WriteFile(const SourceFile& gyp_file,
file << " ],\n}\n";
std::string contents = file.str();
- file_util::WriteFile(gyp_file_path, contents.c_str(),
+ base::WriteFile(gyp_file_path, contents.c_str(),
static_cast<int>(contents.size()));
}