| /third_party/gn/src/gn/ |
| D | command_refs.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 23 #include "gn/target.h" 30 using TargetVector = std::vector<const Target*>; 33 using DepMap = std::multimap<const Target*, const Target*>; 37 for (auto* target : setup->builder().GetAllResolvedTargets()) { in FillDepMap() local 38 for (const auto& dep_pair : target->GetDeps(Target::DEPS_ALL)) in FillDepMap() 39 dep_map->insert(std::make_pair(dep_pair.ptr, target)); in FillDepMap() 45 const Target* target, 49 // Prints the target and its dependencies in tree form. If the set is non-null, [all …]
|
| D | header_checker.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 21 #include "gn/target.h" 39 // persists. This means that the current file contents will live as long as 47 g_scheduler->input_file_manager()->AddDynamicInput( in CreatePersistentRange() 49 clone_input_file->SetContents(input_file.contents()); in CreatePersistentRange() 57 // Given a reverse dependency chain where the target chain[0]'s includes are 62 "The target:\n " + in GetDependencyChainPublicError() 63 chain[chain.size() - 1].target->label().GetUserVisibleName(false) + in GetDependencyChainPublicError() 64 "\nis including a file from the target:\n " + in GetDependencyChainPublicError() [all …]
|
| D | variables.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 12 // Built-in variables ---------------------------------------------------------- 19 Corresponds to the number printed by `gn --version`. 32 This is value is exposed so that cross-compile toolchains can access the host 35 The value should generally be considered read-only, but it can be overridden 37 values for the host architecture (e.g., if you can do either 32-bit or 64-bit 42 - "x64" 43 - "x86" 52 This value is exposed so that cross-compiles can access the host build [all …]
|
| D | substitution_writer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 19 #include "gn/target.h" 28 if (!dir.empty() && dir[dir.size() - 1] == '/') in SetDirOrDotWithNoSlash() 29 dest->assign(dir.data(), dir.size() - 1); in SetDirOrDotWithNoSlash() 31 dest->assign(dir); in SetDirOrDotWithNoSlash() 33 if (dest->empty()) in SetDirOrDotWithNoSlash() 34 dest->push_back('.'); in SetDirOrDotWithNoSlash() 42 Source expansion is used for the action_foreach and copy target types to map 43 source file names to output file names or arguments. [all …]
|
| D | commands.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 27 #include "gn/target.h" 46 std::vector<const Target*>* matches) { in ResolveTargetsFromCommandLinePattern() 51 SourceDirForCurrentDirectory(setup->build_settings().root_path()), in ResolveTargetsFromCommandLinePattern() 52 setup->build_settings().root_path_utf8(), pattern_value, &err); in ResolveTargetsFromCommandLinePattern() 64 pattern.set_toolchain(setup->loader()->default_toolchain_label()); in ResolveTargetsFromCommandLinePattern() 70 FilterTargetsByPatterns(setup->builder().GetAllResolvedTargets(), in ResolveTargetsFromCommandLinePattern() 81 UniqueVector<const Target*>* target_matches, in ResolveStringFromCommandLineInput() 89 std::vector<const Target*> target_match_vector; in ResolveStringFromCommandLineInput() [all …]
|
| D | header_checker.h | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 26 class Target; variable 36 ChainLink() : target(nullptr), is_public(false) {} in ChainLink() 37 ChainLink(const Target* t, bool p) : target(t), is_public(p) {} in ChainLink() 39 const Target* target; member 41 // True when the dependency on this target is public. 46 return target == other.target && is_public == other.is_public; 55 const std::vector<const Target*>& targets, 67 bool Run(const std::vector<const Target*>& to_check, [all …]
|
| D | runtime_deps.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 24 #include "gn/target.h" 29 using RuntimeDepsVector = std::vector<std::pair<OutputFile, const Target*>>; 31 // Adds the given file to the deps list if it hasn't already been listed in 34 const Target* source, in AddIfNew() 37 if (found_file->find(output_file) != found_file->end()) in AddIfNew() 39 deps->push_back(std::make_pair(output_file, source)); in AddIfNew() 44 const Target* source, in AddIfNew() 48 RebasePath(str, source->settings()->build_settings()->build_dir(), in AddIfNew() [all …]
|
| D | command_outputs.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 18 const char kOutputs_HelpShort[] = "outputs: Which files a source/target make."; 20 R"(gn outputs <out_dir> <list of target or file names...> 22 Lists the output files corresponding to the given target(s) or file name(s). 28 - The input target/file names are relative to the current directory. 30 - The output file names are relative to the root build directory. 35 Target outputs 37 If the parameter is a target name that includes a toolchain, it will match 38 only that target in that toolchain. If no toolchain is specified, it will [all …]
|
| D | functions_target.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 44 NonNestableBlock non_nestable(scope, function, "target"); in ExecuteGenericTarget() 56 block->Execute(&block_scope, err); in ExecuteGenericTarget() 57 if (err->has_error()) in ExecuteGenericTarget() 62 if (err->has_error()) in ExecuteGenericTarget() 71 // action ---------------------------------------------------------------------- 79 " file names to be relative to the build directory (file names in the\n" \ 81 " current build file and converted as needed automatically).\n" \ 89 " file(s) if the contents have not changed.\n" [all …]
|
| D | compile_commands_writer_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 14 #include "gn/target.h" 22 bool CompareLabel(const Target* a, const Target* b) { in CompareLabel() 23 return a->label() < b->label(); in CompareLabel() 36 // Returns true if the two target vectors contain the same targets, order 38 bool VectorsEqual(std::vector<const Target*> a, in VectorsEqual() 39 std::vector<const Target*> b) const { in VectorsEqual() 54 std::vector<const Target*> targets; in TEST_F() 55 Target target(settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F() local [all …]
|
| D | target.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 5 #include "gn/target.h" 27 // Merges the public configs from the given target to the given config list. 28 void MergePublicConfigsFrom(const Target* from_target, in MergePublicConfigsFrom() 30 const UniqueVector<LabelConfigPair>& pub = from_target->public_configs(); in MergePublicConfigsFrom() 31 dest->Append(pub.begin(), pub.end()); in MergePublicConfigsFrom() 36 // target given in *all_dest. 37 void MergeAllDependentConfigsFrom(const Target* from_target, in MergeAllDependentConfigsFrom() 40 for (const auto& pair : from_target->all_dependent_configs()) { in MergeAllDependentConfigsFrom() [all …]
|
| D | ninja_target_command_util.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 14 // Returns the language-specific suffix for precompiled header files. 30 // Returns the computed name of the Windows .pch file for the given 32 OutputFile GetWindowsPCHFile(const Target* target, const char* tool_name) { in GetWindowsPCHFile() argument 35 OutputFile ret = GetBuildDirForTargetAsOutputFile(target, BuildDirType::OBJ); in GetWindowsPCHFile() 36 ret.value().append(target->label().name()); in GetWindowsPCHFile() 45 const Target* target, in WriteOneFlag() argument 56 if (!target->toolchain()->substitution_bits().used.count(subst_enum)) in WriteOneFlag() 62 out << subst_enum->ninja_name << " ="; in WriteOneFlag() [all …]
|
| D | ninja_target_writer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 32 #include "gn/target.h" 35 NinjaTargetWriter::NinjaTargetWriter(const Target* target, std::ostream& out) in NinjaTargetWriter() argument 36 : settings_(target->settings()), in NinjaTargetWriter() 37 target_(target), in NinjaTargetWriter() 39 path_output_(settings_->build_settings()->build_dir(), in NinjaTargetWriter() 40 settings_->build_settings()->root_path_utf8(), in NinjaTargetWriter() 72 ninja_outputs_->push_back(output); in WriteOutput() 78 ninja_outputs_->push_back(std::move(output)); in WriteOutput() [all …]
|
| D | substitution_writer.h | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 21 class Target; variable 31 // - Source substitutions: These are used to compute action_foreach 36 // - Target substitutions: These are specific to the target+tool combination 40 // - Compiler substitutions: These are used to compute compiler outputs. 42 // parts of the source file) as well as the target substitutions. 44 // - Linker substitutions: These are used to compute linker outputs. It 45 // includes the target substitutions. 48 // cflags, ldflags, libraries, etc. These are written by the ninja target [all …]
|
| D | swift_values.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 13 #include "gn/target.h" 21 bool SwiftValues::OnTargetResolved(Target* target, Err* err) { in OnTargetResolved() argument 22 if (!target->builds_swift_module()) in OnTargetResolved() 25 return target->swift_values().FillModuleOutputFile(target, err); in OnTargetResolved() 28 const Tool* SwiftValues::GetTool(const Target* target) const { in GetTool() 29 DCHECK(target->builds_swift_module()); in GetTool() 30 return target->toolchain()->GetToolForSourceType(SourceFile::SOURCE_SWIFT); in GetTool() 33 void SwiftValues::GetOutputs(const Target* target, in GetOutputs() argument [all …]
|
| D | xcode_writer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 39 #include "gn/target.h" 76 if (target_os_value->type() == Value::STRING) { in GetTargetOs() 77 if (target_os_value->string_value() == "ios") in GetTargetOs() 92 buffer << "exec env -i "; in GetBuildScript() 99 environment->GetVar(variable.name, &value); in GetBuildScript() 113 buffer << " -C " << build_dir; in GetBuildScript() 130 bool IsApplicationTarget(const Target* target) { in IsApplicationTarget() argument 131 return target->output_type() == Target::CREATE_BUNDLE && in IsApplicationTarget() [all …]
|
| D | ninja_build_writer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 30 #include "gn/target.h" 49 const Target* last_seen; 57 build_settings->build_dir().Resolve(build_settings->root_path()); in GetSelfInvocationCommandLine() 71 base::FilePath root_path = build_settings->root_path(); in GetSelfInvocationCommandLine() 75 cmdline.AppendSwitchPath(std::string("--") + switches::kRoot, in GetSelfInvocationCommandLine() 78 cmdline.AppendSwitch(std::string("-") + switches::kQuiet); in GetSelfInvocationCommandLine() 89 // If both --root and --dotfile are passed, make sure the --dotfile is in GetSelfInvocationCommandLine() 91 base::FilePath dotfile_path = build_settings->dotfile_name(); in GetSelfInvocationCommandLine() [all …]
|
| D | function_get_target_outputs.cc | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 10 #include "gn/target.h" 17 "get_target_outputs: [file list] Get the list of outputs from a target."; 19 R"(get_target_outputs: [file list] Get the list of outputs from a target. 23 Returns a list of output files for the named target. The named target must 24 have been previously defined in the current file before this function is 32 source sets and groups have no useful output file. 36 The names in the resulting list will be absolute file paths (normally like 40 specified in the "outputs" variable of the target. [all …]
|
| /third_party/icu/icu4j/ |
| D | build.xml | 1 <!-- 5 * Copyright (C) 1997-2016, International Business Machines Corporation and * 8 --> 13 <property file="build-local.properties"/> 14 <property file="build.properties"/> 17 <import file="${shared.dir}/build/common-targets.xml"/> 21 <!-- icu4j binaries --> 22 <property name="icu4j.jar.file" value="icu4j.jar"/> 23 <property name="icu4jtests.jar.file" value="icu4jtests.jar"/> 24 <property name="icu4j-charset.jar.file" value="icu4j-charset.jar"/> [all …]
|
| /third_party/gn/docs/ |
| D | reference.md | 3 *This page is automatically generated from* `gn help --markdown all`. 13 * [desc: Show lots of insightful information about a target or config.](#cmd_desc) 18 * [meta: List target metadata collection results.](#cmd_meta) 19 * [outputs: Which files a source/target make.](#cmd_outputs) 21 * [refs: Find stuff referencing a target or file.](#cmd_refs) 22 * [Target declarations](#targets) 23 * [action: Declare a target that runs a script a single time.](#func_action) 24 …* [action_foreach: Declare a target that runs a script over a set of files.](#func_action_foreac… 25 * [bundle_data: [iOS/macOS] Declare a target without output.](#func_bundle_data) 26 * [copy: Declare a target that copies files.](#func_copy) [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/ |
| D | InterfaceFile.h | 1 //===- llvm/TextAPI/MachO/IntefaceFile.h - TAPI Interface File --*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // could be an MachO executable, bundle, dylib, or text-based stub file. 12 //===----------------------------------------------------------------------===// 31 #include "llvm/TextAPI/MachO/Target.h" 36 /// Defines a list of Objective-C constraints. 54 // clang-format off 56 /// Defines the file type this file represents. 58 /// Invalid file type. [all …]
|
| /third_party/protobuf/csharp/ |
| D | Google.Protobuf.Tools.nuspec | 1 <?xml version="1.0" encoding="UTF-8"?> 6 <summary>Tools for Protocol Buffers - Google's data interchange format.</summary> 10 <owners>protobuf-packages</owners> 19 <file src="protoc\windows_x86\protoc.exe" target="tools\windows_x86\protoc.exe"/> 20 <file src="protoc\windows_x64\protoc.exe" target="tools\windows_x64\protoc.exe"/> 21 <file src="protoc\linux_x86\protoc" target="tools\linux_x86\protoc"/> 22 <file src="protoc\linux_x64\protoc" target="tools\linux_x64\protoc"/> 23 <file src="protoc\macosx_x64\protoc" target="tools\macosx_x64\protoc"/> 24 <file src="..\src\google\protobuf\any.proto" target="tools\google\protobuf"/> 25 <file src="..\src\google\protobuf\api.proto" target="tools\google\protobuf"/> [all …]
|
| /third_party/python/Lib/distutils/ |
| D | dep_util.py | 3 Utility functions for simple, timestamp-based dependency of files 11 def newer (source, target): argument 13 'target', or if 'source' exists and 'target' doesn't. Return false if 14 both exist and 'target' is the same age or younger than 'source'. 18 raise DistutilsFileError("file '%s' does not exist" % 20 if not os.path.exists(target): 25 mtime2 = os.stat(target)[ST_MTIME] 34 than its corresponding target. Return a pair of lists (sources, 35 targets) where source is newer than target, according to the semantics 54 def newer_group (sources, target, missing='error'): argument [all …]
|
| /third_party/python/Tools/msi/ |
| D | uploadrelease.proj | 1 <?xml version="1.0" encoding="utf-8"?> 4 <ProjectGuid>{2D69F2AB-D5D0-4344-84B5-EF6DB34A9BC9}</ProjectGuid> 8 <DownloadUrlBase Condition="'$(DownloadUrlBase)' == ''">$(TARGET)</DownloadUrlBase> 24 <File Include="$(OutputPath)\*.msi"> 26 </File> 27 <File Include="$(OutputPath)\*.exe;$(OutputPath)\*.zip"> 29 </File> 30 …<File Include="$(PySourcePath)Doc\build\htmlhelp\python$(MajorVersionNumber)$(MinorVersionNumber)$… 32 </File> 35 <Target Name="_ValidateProperties"> [all …]
|
| /third_party/rust/crates/io-lifetimes/src/ |
| D | portability.rs | 3 //! On Unix, "everything is a file descriptor". On Windows, file/pipe/process 4 //! handles are distinct from socket descriptors. This file provides a minimal 15 /// This is a portability abstraction over Unix-like [`BorrowedFd`] and 22 /// This is a portability abstraction over Unix-like `BorrowedFd` and 29 /// This is a portability abstraction over Unix-like [`BorrowedFd`] and 36 /// This is a portability abstraction over Unix-like `BorrowedFd` and 43 /// This is a portability abstraction over Unix-like [`OwnedFd`] and 50 /// This is a portability abstraction over Unix-like `OwnedFd` and 57 /// This is a portability abstraction over Unix-like [`OwnedFd`] and 64 /// This is a portability abstraction over Unix-like `OwnedFd` and [all …]
|