Home
last modified time | relevance | path

Searched +full:target +full:- +full:file (Results 1 – 25 of 1151) sorted by relevance

12345678910>>...47

/third_party/gn/src/gn/
Dcommand_refs.cc2 // 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 …]
Dheader_checker.cc2 // 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 …]
Dvariables.cc2 // 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 …]
Dsubstitution_writer.cc2 // 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 …]
Dheader_checker.h2 // 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 …]
Dcommands.cc2 // 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 …]
Dcommand_outputs.cc2 // 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 …]
Druntime_deps.cc2 // 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 …]
Dcompile_commands_writer_unittest.cc2 // 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 …]
Dfunctions_target.cc2 // 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 …]
Dtarget.cc2 // 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 …]
Dninja_target_command_util.cc2 // 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 …]
Dswift_values.cc2 // 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 …]
Dfunction_get_target_outputs.cc2 // 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 …]
Dninja_target_writer.h2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
16 class Target; variable
19 // Generates one target's ".ninja" file. The toplevel "build.ninja" file is
23 NinjaTargetWriter(const Target* target, std::ostream& out);
28 // or may be created on demand otherwise (which is useful to keep unit-tests
37 // Set the vector that will receive the Ninja output file paths generated
42 // Returns the build line to be written to the toolchain build file.
45 // their rules coalesced in the main build file. For the coalesced case, this
46 // function will return the rules as a string. For the separate file case,
[all …]
Dninja_target_writer.cc2 // 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 …]
Dsubstitution_writer.h2 // 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 …]
/third_party/icu/icu4j/
Dbuild.xml1 <!--
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/cups/vcnet/
Dlibcups2_native.nuspec10 <license type="expression">Apache-2.0</license>
11 <icon>build/native/cups-128.png</icon>
14 <description>OpenPrinting CUPS is a standards-based, open source printing system for Linux®
15-like operating systems. The CUPS library provides a convenient API for communicating with Interne…
16 …<copyright>Copyright © 2020-2025 by OpenPrinting, Copyright © 2007-2019 by Apple Inc., Copyright ©…
23 <file src="..\desktop\cups-128.png" target="build\native" />
24 <file src="..\README.md" target="build\native" />
25 <file src="libcups2_native.props" target="build\native" />
26 <file src="..\cups\array.h" target="build\native\include\cups" />
27 <file src="..\cups\cups.h" target="build\native\include\cups" />
[all …]
/third_party/gn/docs/
Dreference.md3 *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/
DInterfaceFile.h1 //===- 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/
DGoogle.Protobuf.Tools.nuspec1 <?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/ncurses/ncurses/base/
Dlib_screen.c2 * Copyright 2019-2021,2023 Thomas E. Dickey *
3 * Copyright 1998-2017,2018 Free Software Foundation, Inc. *
31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
61 #define CUR_SLIMIT _nc_SLIMIT(limit - (size_t) (target - base))
65 * Use 0x888888 as the magic number for new-format files, since it cannot be
66 * mistaken for the _cury/_curx pair of 16-bit numbers which start the old
67 * format. It happens to be unused in the file 5.22 database (2015/03/07).
169 read_txt(FILE *fp) in read_txt()
200 result[--used] = '\0'; in read_txt()
211 decode_attr(char *source, attr_t *target, int *color) in decode_attr() argument
[all …]
/third_party/python/Lib/distutils/
Ddep_util.py3 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/
Duploadrelease.proj1 <?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 …]

12345678910>>...47