Home
last modified time | relevance | path

Searched refs:own_values (Results 1 – 9 of 9) sorted by relevance

/third_party/gn/src/gn/
Dconfig_values_extractors_unittest.cc40 dep2_all.own_values().cflags().push_back("--dep2-all"); in TEST()
41 dep2_all.own_values().cflags().push_back("--dep2-all"); in TEST()
42 dep2_all.own_values().include_dirs().push_back(SourceDir("//dep2/all/")); in TEST()
43 dep2_all.own_values().include_dirs().push_back(SourceDir("//dep2/all/")); in TEST()
48 dep2_direct.own_values().cflags().push_back("--dep2-direct"); in TEST()
49 dep2_direct.own_values().include_dirs().push_back( in TEST()
64 dep1_all_sub.own_values().cflags().push_back("--dep1-all-sub"); in TEST()
69 dep1_all.own_values().cflags().push_back("--dep1-all"); in TEST()
70 dep1_all.own_values().include_dirs().push_back(SourceDir("//dep1/all/")); in TEST()
76 dep1_direct.own_values().cflags().push_back("--dep1-direct"); in TEST()
[all …]
Dconfig_unittest.cc16 config.own_values().defines().push_back("FOO"); in TEST()
26 EXPECT_TRUE(&config.own_values() == &config.resolved_values()); in TEST()
35 sub1.own_values().defines().push_back("ONE"); in TEST()
39 sub2.own_values().defines().push_back("TWO"); in TEST()
43 config.own_values().defines().push_back("FOO"); in TEST()
56 ASSERT_EQ(1u, config.own_values().defines().size()); in TEST()
57 EXPECT_EQ("FOO", config.own_values().defines()[0]); in TEST()
67 last.own_values().defines().push_back("LAST"); in TEST()
71 middle.own_values().defines().push_back("MIDDLE"); in TEST()
76 first.own_values().defines().push_back("FIRST"); in TEST()
Dconfig.h37 ConfigValues& own_values() { return own_values_; } in own_values() function
38 const ConfigValues& own_values() const { return own_values_; } in own_values() function
Dfunctions_target_rust_unittest.cc219 EXPECT_EQ(item_collector.back()->AsConfig()->own_values().rustflags().size(), in TEST_F()
221 EXPECT_EQ(item_collector.back()->AsConfig()->own_values().rustflags()[0], in TEST_F()
223 EXPECT_EQ(item_collector.back()->AsConfig()->own_values().rustenv().size(), in TEST_F()
225 EXPECT_EQ(item_collector.back()->AsConfig()->own_values().rustenv()[0], in TEST_F()
Dninja_action_target_writer_unittest.cc499 farcfg.own_values().defines().push_back("MY_DEFINE2"); in TEST()
500 farcfg.own_values().cflags().push_back("-isysroot=baz"); in TEST()
505 cfgdep.own_values().rustenv().push_back("my_rustenv"); in TEST()
506 cfgdep.own_values().include_dirs().push_back(SourceDir("//my_inc_dir/")); in TEST()
507 cfgdep.own_values().defines().push_back("MY_DEFINE"); in TEST()
Dtarget_unittest.cc664 pub_config.own_values().libs().push_back(lib_name); in TEST_F()
1231 config_1.own_values().set_precompiled_header(pch_1); in TEST_F()
1232 config_1.own_values().set_precompiled_source(pcs_1); in TEST_F()
1252 config_2.own_values().set_precompiled_header(pch_2); in TEST_F()
1253 config_2.own_values().set_precompiled_source(pcs_2); in TEST_F()
Danalyzer_unittest.cc212 c->own_values().inputs().push_back(extra_input);
Dninja_c_binary_target_writer_unittest.cc554 framework_config.own_values().frameworks().push_back("Bar.framework"); in TEST_F()
555 framework_config.own_values().framework_dirs().push_back( in TEST_F()
1291 far_config.own_values().inputs().push_back(SourceFile("//foo/input3.data")); in TEST_F()
1296 config.own_values().inputs().push_back(SourceFile("//foo/input2.data")); in TEST_F()
Dfunctions.cc379 ConfigValuesGenerator gen(&config->own_values(), scope, input_dir, err); in RunConfig()