Home
last modified time | relevance | path

Searched refs:targets (Results 1 – 25 of 2071) sorted by relevance

12345678910>>...83

/third_party/boost/tools/build/src/build/
Dengine.py26 def __call__(self, targets, sources, property_set_): argument
27 assert is_iterable(targets)
35 targets, sources, [])
37 self.function(targets, sources, property_set_)
46 def __call__(self, targets, sources, property_set_): argument
47 assert is_iterable(targets)
51 self.function(targets, sources, property_set_)
57 set_jam_action(self.action_name, targets, sources, p)
76 def add_dependency (self, targets, sources): argument
82 if isinstance (targets, str):
[all …]
Dconfigure.jam21 import targets ;
157 rule maybe-force-rebuild ( targets * )
161 local all-targets ;
162 for local t in $(targets)
164 all-targets += [ virtual-target.traverse $(t) ] ;
166 for local t in [ sequence.unique $(all-targets) ]
173 # Attempts to build a set of virtual targets
174 rule try-build ( targets * : ps : what : retry ? )
181 local jam-targets ;
183 maybe-force-rebuild $(targets) ;
[all …]
Dalias.py28 import targets
34 class AliasTarget(targets.BasicTarget):
37 targets.BasicTarget.__init__(self, *args)
51 base = targets.BasicTarget.compute_usage_requirements(self, subvariant)
64 targets = get_manager().targets()
66 targets.main_target_alternative(AliasTarget(
68 targets.main_target_sources(sources, name, no_renaming=True),
69 targets.main_target_requirements(requirements or [], project),
70 targets.main_target_default_build(default_build, project),
71 targets.main_target_usage_requirements(usage_requirements or [], project)))
Dalias.jam8 # Alias is just a main target which returns its source targets without any
30 import targets ;
42 rule construct ( name : source-targets * : property-set )
44 return [ property-set.empty ] $(source-targets) ;
55 # Declares the 'alias' target. It will process its sources virtual-targets by
56 # returning them unaltered as its own constructed virtual-targets.
66 targets.main-target-alternative
68 : [ targets.main-target-sources $(sources) : $(name) : no-renaming ]
69 : [ targets.main-target-requirements $(requirements) : $(project) ]
70 : [ targets.main-target-default-build $(default-build) : $(project)
[all …]
Dvirtual-target.jam8 # Implements virtual targets, which correspond to actual files created during a
9 # build, but are not yet targets in Jam sense. They are needed, for example,
35 # | actualize-sources() | targets |
129 # Generates all the actual targets and sets up build actions for this
253 # properties (for derived targets) and, optionally, value identifying the main
283 $(action).add-targets $(__name__) ;
399 # distinguish this target from other targets with the same name creating
506 # virtual targets that refer to the same name. One case when
508 # targets have types CPP (for compiling) and MOCCABLE_CPP (for
555 # File targets with explicitly known location.
[all …]
Dtargets.jam7 # Supports 'abstract' targets, which are targets explicitly defined in a
10 # Abstract targets are represented by classes derived from 'abstract-target'
15 # Project targets keep a list of 'main-target' instances. A main target is what
18 # for different platforms. So, main targets keep a list of alternatives.
25 # Rules supplied by the build system will use only targets derived from the
81 # Base class for all abstract targets.
96 # error messages which should name problematic targets. Another is
129 # Generates virtual targets for this abstract target using the specified
134 # - a list of produced virtual targets, which may be empty.
177 # - Maintaining a list of main targets in this project and building them.
[all …]
/third_party/boost/tools/build/src/tools/
Dsymlink.py14 import b2.build.targets as targets namespace
17 import b2.build.targets
28 class SymlinkTarget(targets.BasicTarget):
32 def __init__(self, project, targets, sources): argument
38 b2.build.targets.BasicTarget.__init__(self, fake_name, project, sources)
42 assert len(targets) <= len(sources)
43 self.targets = targets[:] + sources[len(targets):]
51 s = self.targets[i]
80 def symlink(targets, sources): argument
83 t = get_manager().targets()
[all …]
Dsymlink.jam7 # Defines the "symlink" special target. 'symlink' targets make symbolic links
10 import targets modules path class os feature project property-set ;
16 # The class representing "symlink" targets.
18 class symlink-targets : basic-target
24 : targets *
28 # Generate a fake name for now. Need unnamed targets eventually.
35 # Remember the targets to map the sources onto. Pad or truncate
37 self.targets = ;
40 if $(targets)
42 self.targets += $(targets[1]) ;
[all …]
Dvmsdecc.jam163 rule compile.c++ ( targets * : sources * : properties * )
165 DEPENDS $(targets) : [ on $(targets) return $(SOURCE-INCLUDES) ] ;
166 DEPENDS $(targets) : [ on $(targets) return $(CXX-REPOS) ] ;
168 DEFINES on $(targets) = [ on $(targets) return "__USE_STD_IOSTREAM" $(DEFINES) ] ;
170 INCLUDES on $(targets) = [ on $(targets) get-includes $(sources) : $(INCLUDES) ] ;
172 TARGET-CXX-REPO on $(targets) = [ on $(targets[1]) get-target-cxx-repo $(LOCATE) ] ;
173 CXX-REPOS on $(targets) = [ on $(targets) return $(TARGET-CXX-REPO) $(CXX-REPOS) ] ;
177 rule compile.c ( targets * : sources * : properties * )
179 DEPENDS $(targets) : [ on $(targets) return $(SOURCE-INCLUDES) ] ;
181 INCLUDES on $(targets) = [ on $(targets) get-includes $(sources) : $(INCLUDES) ] ;
[all …]
Dmsvc.py229 def archive(targets, sources=None, properties=None): argument
230 bjam.call('set-target-variable',targets,'PDB_NAME', os.path.splitext(targets[0])[0] + '.pdb')
273 def get_rspline(targets, lang_opt): argument
275 expand_target_variable(targets, 'UNDEFS' , '\n-U' ) + \
276 expand_target_variable(targets, 'CFLAGS' , '\n' ) + \
277 expand_target_variable(targets, 'C++FLAGS', '\n' ) + \
278 expand_target_variable(targets, 'OPTIONS' , '\n' ) + '\n-c' + \
279 expand_target_variable(targets, 'DEFINES' , '\n-D' , '\n' ) + \
280 expand_target_variable(targets, 'INCLUDES', '\n"-I', '"\n' )
281 bjam.call('set-target-variable', targets, 'CC_RSPLINE', result)
[all …]
Dmake.py13 from b2.build.targets import BasicTarget
46 targets = m.targets()
51 targets.main_target_alternative(MakeTarget(
53 targets.main_target_sources(sources, target_name),
54 targets.main_target_requirements(requirements, project),
55 targets.main_target_default_build([], project),
56 targets.main_target_usage_requirements(usage_requirements or [], project)))
Dgenerate.jam5 # Declares main target 'generate' used to produce targets by calling a
6 # user-provided rule that takes and produces virtual targets.
15 import targets ;
68 local targets ;
75 targets = $(result[2-]) ;
80 targets = $(result) ;
86 for local t in $(targets)
102 targets.main-target-alternative
104 : [ targets.main-target-sources $(sources) : $(name) ]
105 : [ targets.main-target-requirements $(requirements) : $(project) ]
[all …]
Dconvert.jam15 import targets ;
30 rule construct ( name : source-targets * : property-set )
36 : $(source-targets) ] ;
53 modules.import targets ;
54 targets.main-target-alternative
56 : [ targets.main-target-sources $(sources) : $(name) ]
57 : [ targets.main-target-requirements $(requirements) : $(project) ]
58 : [ targets.main-target-default-build $(default-build) : $(project) ]
59 : [ targets.main-target-usage-requirements $(usage-requirements) : $(project) ]
Dgcc.py347 def gcc_compile_cpp(targets, sources, properties): argument
354 get_manager().engine().set_target_variable (targets, 'LANG', lang)
355 engine.add_dependency(targets, bjam.call('get-target-variable', targets, 'PCH_FILE'))
357 def gcc_compile_c(targets, sources, properties): argument
364 engine.set_target_variable (targets, 'LANG', '-x c')
366 engine.add_dependency(targets, bjam.call('get-target-variable', targets, 'PCH_FILE'))
401 def gcc_compile_asm(targets, sources, properties): argument
402 get_manager().engine().set_target_variable(targets, 'LANG', '-x assembler-with-cpp')
611 def gcc_link(targets, sources, properties): argument
613 engine.set_target_variable(targets, 'SPACE', ' ')
[all …]
Dmessage.jam10 import targets ;
29 rule construct ( name : source-targets * : property-set )
52 local result = [ targets.main-target-alternative
54 : [ targets.main-target-sources : $(name) ]
55 : [ targets.main-target-requirements : $(project) ]
56 : [ targets.main-target-default-build : $(project) ]
57 : [ targets.main-target-usage-requirements : $(project) ]
/third_party/glib/gio/tests/
Dsrvtarget.c95 GList *targets, *sorted, *t; in test_srv_target_ordering() local
100 targets = NULL; in test_srv_target_ordering()
102 targets = g_list_append (targets, g_srv_target_new ("a", 0, 2, 0)); in test_srv_target_ordering()
103 targets = g_list_append (targets, g_srv_target_new ("b", 0, 2, 10)); in test_srv_target_ordering()
104 targets = g_list_append (targets, g_srv_target_new ("c", 0, 2, 15)); in test_srv_target_ordering()
105 targets = g_list_append (targets, g_srv_target_new ("d", 0, 2, 5)); in test_srv_target_ordering()
106 targets = g_list_append (targets, g_srv_target_new ("e", 0, 1, 0)); in test_srv_target_ordering()
107 targets = g_list_append (targets, g_srv_target_new ("f", 0, 1, 50)); in test_srv_target_ordering()
113 sorted = g_srv_target_list_sort (g_list_copy (targets)); in test_srv_target_ordering()
146 g_resolver_free_targets (targets); in test_srv_target_ordering()
/third_party/gn/src/gn/
Dcompile_commands_writer_unittest.cc41 std::vector<const Target*> targets; in TEST_F() local
53 targets.push_back(&target); in TEST_F()
59 writer.RenderJSON(build_settings(), targets, &out); in TEST_F()
104 targets.push_back(&shlib_target); in TEST_F()
109 writer.RenderJSON(build_settings(), targets, &out); in TEST_F()
166 targets.push_back(&stlib_target); in TEST_F()
171 writer.RenderJSON(build_settings(), targets, &out); in TEST_F()
237 std::vector<const Target*> targets; in TEST_F() local
244 targets.push_back(&target); in TEST_F()
248 writer.RenderJSON(build_settings(), targets, &out); in TEST_F()
[all …]
Dcommands.cc223 bool ApplyTestonlyFilter(std::vector<const Target*>* targets) { in ApplyTestonlyFilter() argument
227 if (targets->empty() || !cmdline->HasSwitch(testonly_key)) in ApplyTestonlyFilter()
243 result.reserve(targets->size()); in ApplyTestonlyFilter()
245 for (const Target* target : *targets) { in ApplyTestonlyFilter()
250 *targets = std::move(result); in ApplyTestonlyFilter()
256 bool ApplyTypeFilter(std::vector<const Target*>* targets) { in ApplyTypeFilter() argument
260 if (targets->empty() || type == Target::UNKNOWN) in ApplyTypeFilter()
265 result.reserve(targets->size()); in ApplyTypeFilter()
267 for (const Target* target : *targets) { in ApplyTypeFilter()
275 *targets = std::move(result); in ApplyTypeFilter()
[all …]
Djson_project_writer.cc52 std::vector<const Target*>* targets, in FilterTargets() argument
56 *targets = all_targets; in FilterTargets()
58 targets->reserve(all_targets.size()); in FilterTargets()
64 commands::FilterTargetsByPatterns(all_targets, filters, targets); in FilterTargets()
66 std::set<const Target*> target_set(targets->begin(), targets->end()); in FilterTargets()
67 for (const auto* target : *targets) in FilterTargets()
70 targets->clear(); in FilterTargets()
71 targets->insert(targets->end(), target_set.begin(), target_set.end()); in FilterTargets()
76 std::sort(targets->begin(), targets->end(), in FilterTargets()
147 std::vector<const Target*> targets; in RunAndWriteFiles() local
[all …]
Dxcode_writer.cc156 const std::vector<const Target*>& targets) { in FindApplicationTargetByName() argument
157 for (const Target* target : targets) { in FindApplicationTargetByName()
183 const std::vector<const Target*>& targets, in AddDependencyTargetForTestModuleTargets() argument
186 for (const Target* target : targets) { in AddDependencyTargetForTestModuleTargets()
191 target->bundle_data().xcode_test_application_name(), targets); in AddDependencyTargetForTestModuleTargets()
244 const std::vector<const Target*>& targets, in AddSourceFilesToProjectForIndexing() argument
249 for (const Target* target : targets) { in AddSourceFilesToProjectForIndexing()
400 std::vector<const Target*> targets; in RunAndWriteFiles() local
403 dir_filters_string, &targets, err)) { in RunAndWriteFiles()
408 workspace.CreateProductsProject(targets, all_targets, attributes, source_path, in RunAndWriteFiles()
[all …]
/third_party/glib/gio/
Dgsrvtarget.c233 g_srv_target_list_sort (GList *targets) in g_srv_target_list_sort() argument
239 if (!targets) in g_srv_target_list_sort()
242 if (!targets->next) in g_srv_target_list_sort()
244 target = targets->data; in g_srv_target_list_sort()
251 g_list_free (targets); in g_srv_target_list_sort()
259 targets = g_list_sort (targets, compare_target); in g_srv_target_list_sort()
265 while (targets) in g_srv_target_list_sort()
267 priority = ((GSrvTarget *)targets->data)->priority; in g_srv_target_list_sort()
273 for (t = targets; t; t = t->next) in g_srv_target_list_sort()
290 for (t = targets; ; t = t->next) in g_srv_target_list_sort()
[all …]
/third_party/grpc/tools/run_tests/
Dtask_runner.py30 _TARGETS += artifact_targets.targets()
31 _TARGETS += distribtest_targets.targets()
32 _TARGETS += package_targets.targets()
80 targets = [] variable
82 targets += _BUILD_MAP[label]
85 targets = [t for t in targets if all(f in t.labels for f in args.filter)] variable
86 targets = sorted(set(targets)) variable
90 for target in targets:
101 for target in targets:
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTargetRegistry.cpp20 iterator_range<TargetRegistry::iterator> TargetRegistry::targets() { in targets() function in TargetRegistry
32 auto I = find_if(targets(), in lookupTarget()
35 if (I == targets().end()) { in lookupTarget()
65 if (targets().begin() == targets().end()) { in lookupTarget()
71 auto I = find_if(targets(), ArchMatch); in lookupTarget()
73 if (I == targets().end()) { in lookupTarget()
78 auto J = std::find_if(std::next(I), targets().end(), ArchMatch); in lookupTarget()
79 if (J != targets().end()) { in lookupTarget()
120 for (const auto &T : TargetRegistry::targets()) { in printRegisteredTargetsForVersion()
/third_party/node/tools/gyp/pylib/gyp/
Dinput.py1478 targets = {}
1484 if target_name in targets:
1486 targets[target_name] = target
1488 return targets
1491 def QualifyDependencies(targets): argument
1506 for target, target_dict in targets.items():
1540 def ExpandWildcardDependencies(targets, data): argument
1556 for target, target_dict in targets.items():
1628 def RemoveDuplicateDependencies(targets): argument
1631 for target_name, target_dict in targets.items():
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dinput.py1353 targets = {}
1359 if target_name in targets:
1361 targets[target_name] = target
1363 return targets
1366 def QualifyDependencies(targets): argument
1381 for target, target_dict in targets.items():
1405 def ExpandWildcardDependencies(targets, data): argument
1421 for target, target_dict in targets.items():
1480 def RemoveDuplicateDependencies(targets): argument
1483 for target_name, target_dict in targets.items():
[all …]

12345678910>>...83