diff --git a/BUILD.gn b/BUILD.gn index 94c590d9451..f1ae4eaeced 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1845,17 +1845,3 @@ group("angle_static") { ":translator", ] } - -# GN evaluates each .gn file once per toolchain, so restricting to default -# toolchain will ensure write_file() is called only once. -if (current_toolchain == default_toolchain) { - import("//build/gn_logs.gni") - - # Write debug logs to gn_logs.txt. - _lines = [ - "Generated during 'gn gen' by //BUILD.gn.", - "", - ] + build_gn_logs - - write_file("$root_build_dir/gn_logs.txt", _lines) -}