Home
last modified time | relevance | path

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

/third_party/gn/src/gn/
Dcompile_commands_writer_unittest.cc158 Target stlib_target(settings(), Label(SourceDir("//foo/"), "stlib")); in TEST_F() local
159 stlib_target.sources().push_back(SourceFile("//foo/input4.cc")); in TEST_F()
160 stlib_target.set_output_type(Target::STATIC_LIBRARY); in TEST_F()
161 stlib_target.public_deps().push_back(LabelTargetPair(&target)); in TEST_F()
162 stlib_target.SetToolchain(toolchain()); in TEST_F()
163 ASSERT_TRUE(stlib_target.OnResolved(&err)); in TEST_F()
164 targets.push_back(&stlib_target); in TEST_F()
Dninja_c_binary_target_writer_unittest.cc105 Target stlib_target(setup.settings(), Label(SourceDir("//foo/"), "stlib")); in TEST_F() local
106 stlib_target.set_output_type(Target::STATIC_LIBRARY); in TEST_F()
107 stlib_target.public_deps().push_back(LabelTargetPair(&target)); in TEST_F()
108 stlib_target.SetToolchain(setup.toolchain()); in TEST_F()
109 ASSERT_TRUE(stlib_target.OnResolved(&err)); in TEST_F()
113 NinjaCBinaryTargetWriter writer(&stlib_target, out); in TEST_F()
135 stlib_target.set_complete_static_lib(true); in TEST_F()
138 NinjaCBinaryTargetWriter writer(&stlib_target, out); in TEST_F()