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

Unified Diff: tools/gn/ninja_binary_target_writer_unittest.cc

Issue 1207903002: Windows precompiled header support in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_binary_target_writer_unittest.cc
diff --git a/tools/gn/ninja_binary_target_writer_unittest.cc b/tools/gn/ninja_binary_target_writer_unittest.cc
index f4e4065f3a63381a2653bdf9b29ebea22387f2a3..d88247856469914fd525e26bf21d8fa2cf3ce663 100644
--- a/tools/gn/ninja_binary_target_writer_unittest.cc
+++ b/tools/gn/ninja_binary_target_writer_unittest.cc
@@ -38,10 +38,7 @@ TEST(NinjaBinaryTargetWriter, SourceSet) {
"defines =\n"
"include_dirs =\n"
"cflags =\n"
- "cflags_c =\n"
"cflags_cc =\n"
- "cflags_objc =\n"
- "cflags_objcc =\n"
"root_out_dir = .\n"
"target_out_dir = obj/foo\n"
"target_output_name = bar\n"
@@ -70,11 +67,6 @@ TEST(NinjaBinaryTargetWriter, SourceSet) {
const char expected[] =
"defines =\n"
"include_dirs =\n"
- "cflags =\n"
- "cflags_c =\n"
- "cflags_cc =\n"
- "cflags_objc =\n"
- "cflags_objcc =\n"
"root_out_dir = .\n"
"target_out_dir = obj/foo\n"
"target_output_name = libshlib\n"
@@ -108,11 +100,6 @@ TEST(NinjaBinaryTargetWriter, SourceSet) {
const char expected[] =
"defines =\n"
"include_dirs =\n"
- "cflags =\n"
- "cflags_c =\n"
- "cflags_cc =\n"
- "cflags_objc =\n"
- "cflags_objcc =\n"
"root_out_dir = .\n"
"target_out_dir = obj/foo\n"
"target_output_name = libstlib\n"
@@ -138,11 +125,6 @@ TEST(NinjaBinaryTargetWriter, SourceSet) {
const char expected[] =
"defines =\n"
"include_dirs =\n"
- "cflags =\n"
- "cflags_c =\n"
- "cflags_cc =\n"
- "cflags_objc =\n"
- "cflags_objcc =\n"
"root_out_dir = .\n"
"target_out_dir = obj/foo\n"
"target_output_name = libstlib\n"
@@ -196,10 +178,7 @@ TEST(NinjaBinaryTargetWriter, ProductExtensionAndInputDeps) {
"defines =\n"
"include_dirs =\n"
"cflags =\n"
- "cflags_c =\n"
"cflags_cc =\n"
- "cflags_objc =\n"
- "cflags_objcc =\n"
"root_out_dir = .\n"
"target_out_dir = obj/foo\n"
"target_output_name = libshlib\n"
@@ -249,10 +228,7 @@ TEST(NinjaBinaryTargetWriter, EmptyProductExtension) {
"defines =\n"
"include_dirs =\n"
"cflags =\n"
- "cflags_c =\n"
"cflags_cc =\n"
- "cflags_objc =\n"
- "cflags_objcc =\n"
"root_out_dir = .\n"
"target_out_dir = obj/foo\n"
"target_output_name = libshlib\n"
@@ -305,10 +281,7 @@ TEST(NinjaBinaryTargetWriter, SourceSetDataDeps) {
"defines =\n"
"include_dirs =\n"
"cflags =\n"
- "cflags_c =\n"
"cflags_cc =\n"
- "cflags_objc =\n"
- "cflags_objcc =\n"
"root_out_dir = .\n"
"target_out_dir = obj/foo\n"
"target_output_name = inter\n"
@@ -340,10 +313,7 @@ TEST(NinjaBinaryTargetWriter, SourceSetDataDeps) {
"defines =\n"
"include_dirs =\n"
"cflags =\n"
- "cflags_c =\n"
"cflags_cc =\n"
- "cflags_objc =\n"
- "cflags_objcc =\n"
"root_out_dir = .\n"
"target_out_dir = obj/foo\n"
"target_output_name = exe\n"
@@ -380,10 +350,7 @@ TEST(NinjaBinaryTargetWriter, SharedLibraryModuleDefinitionFile) {
"defines =\n"
"include_dirs =\n"
"cflags =\n"
- "cflags_c =\n"
"cflags_cc =\n"
- "cflags_objc =\n"
- "cflags_objcc =\n"
"root_out_dir = .\n"
"target_out_dir = obj/foo\n"
"target_output_name = libbar\n"

Powered by Google App Engine
This is Rietveld 408576698