• Home
  • Raw
  • Download

Lines Matching full:setup

42   TestWithScope setup;  in TEST_F()  local
46 TestTarget a(setup, "//foo:a", Target::EXECUTABLE); in TEST_F()
47 TestTarget b(setup, "//foo:b", Target::STATIC_LIBRARY); in TEST_F()
48 TestTarget c(setup, "//foo:c", Target::STATIC_LIBRARY); in TEST_F()
53 Config config(setup.settings(), Label(SourceDir("//foo/"), "config")); in TEST_F()
59 Config all(setup.settings(), Label(SourceDir("//foo/"), "all")); in TEST_F()
65 Config direct(setup.settings(), Label(SourceDir("//foo/"), "direct")); in TEST_F()
87 TestTarget a_fwd(setup, "//foo:a_fwd", Target::EXECUTABLE); in TEST_F()
88 TestTarget b_fwd(setup, "//foo:b_fwd", Target::STATIC_LIBRARY); in TEST_F()
104 TestWithScope setup; in TEST_F() local
108 Toolchain other_toolchain(setup.settings(), in TEST_F()
114 Target a(setup.settings(), in TEST_F()
119 TestTarget b(setup, "//foo:b", Target::EXECUTABLE); in TEST_F()
120 TestTarget c(setup, "//foo:c", Target::SOURCE_SET); in TEST_F()
125 Config all_dependent(setup.settings(), Label(SourceDir("//foo/"), "all")); in TEST_F()
131 Config public_config(setup.settings(), Label(SourceDir("//foo/"), "public")); in TEST_F()
137 Config public_config2(setup.settings(), in TEST_F()
163 TestWithScope setup; in TEST_F() local
167 Toolchain other_toolchain(setup.settings(), in TEST_F()
174 TestTarget a(setup, "//foo:a", Target::EXECUTABLE); in TEST_F()
175 Target b(setup.settings(), in TEST_F()
184 Config all_dependent(setup.settings(), Label(SourceDir("//foo/"), "all")); in TEST_F()
190 Config public_config(setup.settings(), Label(SourceDir("//foo/"), "public")); in TEST_F()
207 TestWithScope setup; in TEST_F() local
212 TestTarget basic(setup, "//foo:bar", Target::EXECUTABLE); in TEST_F()
217 TestTarget with_name(setup, "//foo:bar", Target::EXECUTABLE); in TEST_F()
224 TestTarget with_prefix(setup, "//foo:bar", Target::STATIC_LIBRARY); in TEST_F()
230 TestTarget dup_prefix(setup, "//foo:bar", Target::STATIC_LIBRARY); in TEST_F()
236 TestTarget override_prefix(setup, "//foo:bar", Target::SHARED_LIBRARY); in TEST_F()
244 TestWithScope setup; in TEST_F() local
247 TestTarget b(setup, "//private:b", Target::STATIC_LIBRARY); in TEST_F()
253 TestTarget a(setup, "//app:a", Target::EXECUTABLE); in TEST_F()
262 TestWithScope setup; in TEST_F() local
266 Config config(setup.settings(), config_label); in TEST_F()
271 TestTarget a(setup, "//app:a", Target::EXECUTABLE); in TEST_F()
276 TestTarget b(setup, "//app:b", Target::EXECUTABLE); in TEST_F()
281 TestTarget c(setup, "//app:c", Target::EXECUTABLE); in TEST_F()
289 TestWithScope setup; in TEST_F() local
293 Config config(setup.settings(), config_label); in TEST_F()
298 TestTarget a(setup, "//a:a", Target::GROUP); in TEST_F()
303 TestTarget b(setup, "//app:b", Target::EXECUTABLE); in TEST_F()
310 TestWithScope setup; in TEST_F() local
313 TestTarget b(setup, "//public:b", Target::STATIC_LIBRARY); in TEST_F()
318 TestTarget a(setup, "//app:a", Target::EXECUTABLE); in TEST_F()
328 TestWithScope setup; in TEST_F() local
335 TestTarget b(setup, "//private:b", Target::STATIC_LIBRARY); in TEST_F()
340 TestTarget g(setup, "//public:g", Target::GROUP); in TEST_F()
346 TestTarget a(setup, "//app:a", Target::EXECUTABLE); in TEST_F()
356 TestWithScope setup; in TEST_F() local
360 TestTarget testlib(setup, "//test:testlib", Target::STATIC_LIBRARY); in TEST_F()
365 TestTarget test(setup, "//test:test", Target::EXECUTABLE); in TEST_F()
371 TestTarget product(setup, "//app:product", Target::EXECUTABLE); in TEST_F()
380 TestWithScope setup; in TEST_F() local
384 Config testconfig(setup.settings(), Label(SourceDir("//test/"), "config")); in TEST_F()
390 TestTarget test(setup, "//test:test", Target::EXECUTABLE); in TEST_F()
396 TestTarget product(setup, "//app:product", Target::EXECUTABLE); in TEST_F()
403 TestWithScope setup; in TEST_F() local
407 Config pub_config(setup.settings(), pub_config_label); in TEST_F()
414 TestTarget dest(setup, "//a:a", Target::SOURCE_SET); in TEST_F()
419 TestTarget pub(setup, "//a:pub", Target::SOURCE_SET); in TEST_F()
425 TestTarget dep_on_pub(setup, "//a:dop", Target::SOURCE_SET); in TEST_F()
439 TestTarget forward(setup, "//a:f", Target::SOURCE_SET); in TEST_F()
446 TestWithScope setup; in TEST_F() local
450 TestTarget dep1(setup, "//:dep1", Target::SOURCE_SET); in TEST_F()
452 Config dep1_all_config(setup.settings(), dep1_all_config_label); in TEST_F()
458 Config dep1_public_config(setup.settings(), dep1_public_config_label); in TEST_F()
465 TestTarget dep2(setup, "//:dep2", Target::SOURCE_SET); in TEST_F()
467 Config dep2_all_config(setup.settings(), dep2_all_config_label); in TEST_F()
473 Config dep2_public_config(setup.settings(), dep2_public_config_label); in TEST_F()
480 TestTarget target(setup, "//:foo", Target::SOURCE_SET); in TEST_F()
486 Config public_config(setup.settings(), public_config_label); in TEST_F()
492 Config private_config(setup.settings(), private_config_label); in TEST_F()
517 TestWithScope setup; in TEST_F() local
520 Toolchain toolchain(setup.settings(), Label(SourceDir("//tc/"), "tc")); in TEST_F()
544 Target target(setup.settings(), Label(SourceDir("//a/"), "a")); in TEST_F()
559 // Also tests GetOutputsAsSourceFiles() for binaries (the setup is the same).
561 TestWithScope setup; in TEST_F() local
564 Toolchain toolchain(setup.settings(), Label(SourceDir("//tc/"), "tc")); in TEST_F()
590 Target target(setup.settings(), Label(SourceDir("//a/"), "a")); in TEST_F()
615 TestWithScope setup; in TEST_F() local
617 Toolchain toolchain(setup.settings(), Label(SourceDir("//tc/"), "tc")); in TEST_F()
624 Target target(setup.settings(), Label(SourceDir("//a/"), "a")); in TEST_F()
651 TestWithScope setup; in TEST_F() local
653 Toolchain toolchain(setup.settings(), Label(SourceDir("//tc/"), "tc")); in TEST_F()
660 Target target(setup.settings(), Label(SourceDir("//a/"), "a")); in TEST_F()
684 TestWithScope setup; in TEST_F() local
686 TestTarget target(setup, "//a:a", Target::ACTION_FOREACH); in TEST_F()
722 TestWithScope setup; in TEST_F() local
724 TestTarget target(setup, "//a:a", Target::ACTION); in TEST_F()
771 TestWithScope setup; in TEST_F() local
777 TestTarget non_existent_generator(setup, "//foo:non_existent_generator", in TEST_F()
786 TestTarget generator(setup, "//foo:generator", Target::ACTION); in TEST_F()
794 TestTarget existent_generator(setup, "//foo:existent_generator", in TEST_F()
805 TestTarget indirect_private(setup, "//foo:indirect_private", in TEST_F()
815 TestTarget existent_public(setup, "//foo:existent_public", in TEST_F()
819 TestTarget indirect_public(setup, "//foo:indirect_public", in TEST_F()
829 TestWithScope setup; in TEST_F() local
835 TestTarget non_existent_generator(setup, "//foo:non_existent_generator", in TEST_F()
844 TestTarget existent_generator(setup, "//foo:existent_generator", in TEST_F()
855 TestWithScope setup; in TEST_F() local
859 OutputFile output_file(setup.build_settings(), source_file); in TEST_F()
861 TestTarget generator(setup, "//foo:generator", Target::EXECUTABLE); in TEST_F()
865 TestTarget middle_data_dep(setup, "//foo:middle", Target::EXECUTABLE); in TEST_F()
869 TestTarget dep_missing(setup, "//foo:no_dep", Target::EXECUTABLE); in TEST_F()
876 TestTarget dep_present(setup, "//foo:with_dep", Target::EXECUTABLE); in TEST_F()
884 TestTarget dep_indirect(setup, "//foo:with_dep", Target::EXECUTABLE); in TEST_F()
893 TestTarget data_dep_present(setup, "//foo:with_dep", Target::EXECUTABLE); in TEST_F()
905 TestWithScope setup; in TEST_F() local
910 TestTarget source_generator(setup, "//:source_target", Target::SOURCE_SET); in TEST_F()
917 TestTarget final_target(setup, "//:final", Target::ACTION); in TEST_F()
925 TestWithScope setup; in TEST_F() local
928 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar", in TEST_F()
936 setup.settings(), in TEST_F()
959 setup.settings(), in TEST_F()
987 TestWithScope setup; in TEST_F() local
991 TestTarget a(setup, "//a", Target::SHARED_LIBRARY); in TEST_F()
995 TestTarget b(setup, "//b", Target::SHARED_LIBRARY); in TEST_F()
1006 TestTarget c(setup, "//c", Target::EXECUTABLE); in TEST_F()
1023 TestTarget exe(setup, "//exe", Target::EXECUTABLE); in TEST_F()
1029 TestTarget d(setup, "//d", Target::EXECUTABLE); in TEST_F()
1036 TestTarget a2(setup, "//a:a2", Target::EXECUTABLE); in TEST_F()
1042 TestWithScope setup; in TEST_F() local
1050 TestTarget a(setup, "//foo:a", Target::CREATE_BUNDLE); in TEST_F()
1051 TestTarget b(setup, "//foo:b", Target::BUNDLE_DATA); in TEST_F()
1052 TestTarget c(setup, "//foo:c", Target::CREATE_BUNDLE); in TEST_F()
1053 TestTarget d(setup, "//foo:d", Target::BUNDLE_DATA); in TEST_F()
1054 TestTarget e(setup, "//foo:e", Target::GROUP); in TEST_F()
1055 TestTarget f(setup, "//foo:f", Target::BUNDLE_DATA); in TEST_F()
1123 TestWithScope setup; in TEST() local
1125 TestTarget one(setup, "//foo:one", Target::SOURCE_SET); in TEST()
1158 TestWithScope setup; in TEST() local
1160 TestTarget one(setup, "//foo:one", Target::SOURCE_SET); in TEST()
1171 TestTarget two(setup, "//foo:two", Target::SOURCE_SET); in TEST()
1200 TestWithScope setup; in TEST() local
1202 TestTarget one(setup, "//foo:one", Target::SOURCE_SET); in TEST()
1215 TestTarget two(setup, "//foo:two", Target::SOURCE_SET); in TEST()
1217 TestTarget three(setup, "//foo:three", Target::SOURCE_SET); in TEST()
1247 TestWithScope setup; in TEST() local
1249 TestTarget one(setup, "//foo:one", Target::SOURCE_SET); in TEST()
1260 TestTarget two(setup, "//foo/two:two", Target::SOURCE_SET); in TEST()
1266 TestTarget three(setup, "//foo:three", Target::SOURCE_SET); in TEST()
1295 TestWithScope setup; in TEST() local
1297 TestTarget one(setup, "//foo:one", Target::SOURCE_SET); in TEST()
1329 TestWithScope setup; in TEST_F() local
1333 OutputFile output_file(setup.build_settings(), source_file); in TEST_F()
1335 TestTarget generator(setup, "//foo:write", Target::GENERATED_FILE); in TEST_F()
1340 TestTarget middle_data_dep(setup, "//foo:middle", Target::EXECUTABLE); in TEST_F()
1345 TestTarget dep_missing(setup, "//foo:no_dep", Target::EXECUTABLE); in TEST_F()
1352 TestTarget dep_present(setup, "//foo:with_dep", Target::EXECUTABLE); in TEST_F()
1360 TestTarget dep_indirect(setup, "//foo:indirect_dep", Target::EXECUTABLE); in TEST_F()
1369 TestTarget data_dep_present(setup, "//foo:with_data_dep", Target::EXECUTABLE); in TEST_F()
1378 TestWithScope setup; in TEST_F() local
1380 Toolchain toolchain(setup.settings(), Label(SourceDir("//tc/"), "tc")); in TEST_F()
1388 Target target(setup.settings(), Label(SourceDir("//a/"), "a")); in TEST_F()