Home
last modified time | relevance | path

Searched refs:generated_file (Results 1 – 16 of 16) sorted by relevance

/third_party/gn/src/gn/
Dtarget.h193 const GeneratedFile& generated_file() const;
194 GeneratedFile& generated_file();
197 const Value& contents() const { return generated_file().contents_; } in contents()
198 void set_contents(const Value& value) { generated_file().contents_ = value; } in set_contents()
200 return generated_file().output_conversion_; in output_conversion()
203 generated_file().output_conversion_ = value; in set_output_conversion()
206 const SourceDir& rebase() const { return generated_file().rebase_; } in rebase()
207 void set_rebase(const SourceDir& value) { generated_file().rebase_ = value; } in set_rebase()
209 return generated_file().data_keys_; in data_keys()
211 std::vector<std::string>& data_keys() { return generated_file().data_keys_; } in data_keys()
[all …]
Dfunctions_target.cc970 generated_file target is defined:
972 generated_file("my_files_metadata") {
988 If `rebase` is used in the following generated_file target:
990 generated_file("my_files_metadata") {
Dtarget_unittest.cc1068 SourceFile generated_file("//out/Debug/generated.cc"); in TEST_F() local
1073 non_existent_generator.sources().push_back(generated_file); in TEST_F()
1076 generated_file); in TEST_F()
1082 SubstitutionList::MakeForTest(generated_file.value().c_str()); in TEST_F()
1090 existent_generator.sources().push_back(generated_file); in TEST_F()
1101 indirect_private.sources().push_back(generated_file); in TEST_F()
1105 AssertSchedulerHasOneUnknownFileMatching(&indirect_private, generated_file); in TEST_F()
1115 indirect_public.sources().push_back(generated_file); in TEST_F()
1126 SourceFile generated_file("//out/Debug/generated.data"); in TEST_F() local
1131 non_existent_generator.sources().push_back(generated_file); in TEST_F()
[all …]
Dfunction_get_target_outputs.cc39 action, copy, and generated_file targets: this will just return the files
Dmetadata.cc24 "gn help generated_file" for more detail.
Dvariables.cc2176 If no walk_keys are specified for a generated_file target (i.e. "[""]"), the
2209 The contents of the file for a generated_file target.
2215 "output_conversion: Data format for generated_file targets.";
2217 R"(output_conversion: Data format for generated_file targets.
2219 Controls how the "contents" of a generated_file target is formatted.
Dtarget.cc393 const Target::GeneratedFile& Target::generated_file() const { in generated_file() function in Target
397 Target::GeneratedFile& Target::generated_file() { in generated_file() function in Target
Dninja_c_binary_target_writer_unittest.cc370 SourceFile generated_file("//out/Debug/generated.cc"); in TEST_F() local
387 gen_obj.sources().push_back(generated_file); in TEST_F()
/third_party/mindspore/cmake/external_libs/
Dflatbuffers.cmake59 set(generated_file ${generated_output_dir}/${filename}_generated.h) variable
61 OUTPUT ${generated_file}
69 list(APPEND total_generated_files ${generated_file})
97 set(generated_file ${generated_output_dir}/${filename}_generated.h) variable
100 OUTPUT ${generated_file}
110 OUTPUT ${generated_file}
118 list(APPEND total_generated_files ${generated_file})
/third_party/grpc/test/cpp/codegen/
Dgolden_file_test.cc42 void run_test(const std::basic_string<char>& generated_file, in run_test() argument
44 std::ifstream generated(generated_file); in run_test()
/third_party/skia/build/fuchsia/skqp/
DBUILD.gn39 # TODO(rosasco): Convert this group() to generated_file() when a
92 # TODO(rosasco): Add 2 lines when generated_file() switch is implemented
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc597 const FileDescriptor* generated_file = NULL; in AddSerializedFile() local
599 generated_file = self->underlay->FindFileByName(file_proto.name()); in AddSerializedFile()
601 if (generated_file != NULL) { in AddSerializedFile()
603 generated_file, serialized_pb); in AddSerializedFile()
/third_party/elfio/tests/
DELFIOTest1.cpp353 const std::string generated_file( "elf_examples/write_exe_i386_32" ); in BOOST_AUTO_TEST_CASE() local
355 BOOST_CHECK_EQUAL( true, write_exe_i386( generated_file, false ) ); in BOOST_AUTO_TEST_CASE()
357 std::ifstream input( generated_file, std::ios::binary ); in BOOST_AUTO_TEST_CASE()
359 BOOST_CHECK_MESSAGE( output.match_pattern(), "Comparing " + generated_file + in BOOST_AUTO_TEST_CASE()
/third_party/gn/misc/vim/syntax/
Dgn.vim30 syn keyword gnTarget loadable_module generated_file
/third_party/gn/docs/
Dreference.md29 * [generated_file: Declare a generated_file target.](#func_generated_file)
135 * [output_conversion: Data format for generated_file targets.](#var_output_conversion)
1008 See `gn help generated_file` for more information on the walk.
1756 ### <a name="func_generated_file"></a>**generated_file**: Declare a generated_file target.
1821 If the following generated_file target is defined:
1823 generated_file("my_files_metadata") {
1840 generated_file target is defined:
1842 generated_file("my_files_metadata") {
1858 If `rebase` is used in the following generated_file target:
1860 generated_file("my_files_metadata") {
[all …]
Dfaq.md108 collected from targets to be written to disk (see `gn help generated_file`) for