Home
last modified time | relevance | path

Searched refs:no_pch_target (Results 1 – 2 of 2) sorted by relevance

/third_party/gn/src/gn/
Dcompile_commands_writer_unittest.cc292 Target no_pch_target(&pch_settings, in TEST_F() local
294 no_pch_target.set_output_type(Target::SOURCE_SET); in TEST_F()
295 no_pch_target.visibility().SetPublic(); in TEST_F()
296 no_pch_target.sources().push_back(SourceFile("//foo/input1.cc")); in TEST_F()
297 no_pch_target.sources().push_back(SourceFile("//foo/input2.c")); in TEST_F()
298 no_pch_target.config_values().cflags_c().push_back("-std=c99"); in TEST_F()
299 no_pch_target.SetToolchain(&pch_toolchain); in TEST_F()
300 ASSERT_TRUE(no_pch_target.OnResolved(&err)); in TEST_F()
301 targets.push_back(&no_pch_target); in TEST_F()
441 Target no_pch_target(&pch_settings, in TEST_F() local
[all …]
Dninja_c_binary_target_writer_unittest.cc897 Target no_pch_target(&pch_settings, in TEST_F() local
899 no_pch_target.set_output_type(Target::SOURCE_SET); in TEST_F()
900 no_pch_target.visibility().SetPublic(); in TEST_F()
901 no_pch_target.sources().push_back(SourceFile("//foo/input1.cc")); in TEST_F()
902 no_pch_target.sources().push_back(SourceFile("//foo/input2.c")); in TEST_F()
903 no_pch_target.source_types_used().Set(SourceFile::SOURCE_CPP); in TEST_F()
904 no_pch_target.source_types_used().Set(SourceFile::SOURCE_C); in TEST_F()
905 no_pch_target.config_values().cflags_c().push_back("-std=c99"); in TEST_F()
906 no_pch_target.SetToolchain(&pch_toolchain); in TEST_F()
907 ASSERT_TRUE(no_pch_target.OnResolved(&err)); in TEST_F()
[all …]