tools/gn/target.cc
void MergeAllDependentConfigsFrom(const Target* from_target,
                                  UniqueVector<LabelConfigPair>* dest,
                                  UniqueVector<LabelConfigPair>* all_dest) {
  const UniqueVector<LabelConfigPair>& all =
      from_target->all_dependent_configs();
  for (size_t i = 0; i < all.size(); i++) {
    all_dest->push_back(all[i]);
    dest->push_back(all[i]);
  }
}
// Like MergeDirectDependentConfigsFrom above except does the "all dependent"
// ones. This additionally adds all configs to the all_dependent_configs_ of
// the dest target given in *all_dest.
Like MergeDirectDependentConfigsFrom above except does the "all dependent"
ones. This additionally adds all configs to the all_dependent_configs_ of
the dest target given in *all_dest.
Like MergeDirectDependentConfigsFrom above except does the " all dependent " ones . This additionally adds all configs to the all_dependent_configs_ of the dest target given in * all_dest .
void MergeAllDependentConfigsFrom(const Target* from_target,
                                  UniqueVector<LabelConfigPair>* dest,
                                  UniqueVector<LabelConfigPair>* all_dest) {
  const UniqueVector<LabelConfigPair>& all =
      from_target->all_dependent_configs();
  for (size_t i = 0; i < all.size(); i++) {
    all_dest->push_back(all[i]);
    dest->push_back(all[i]);
  }
}
void MergeAllDependentConfigsFrom ( const Target * from_target , UniqueVector < LabelConfigPair > * dest , UniqueVector < LabelConfigPair > * all_dest ) { const UniqueVector < LabelConfigPair > & all = from_target -> all_dependent_configs ( ) ; for ( size_t i = 0 ; i < all . size ( ) ; i ++ ) { all_dest -> push_back ( all [ i ] ) ; dest -> push_back ( all [ i ] ) ; } }
Like MergeDirectDependentConfigsFrom above except does the "all dependent"
ones.
Like MergeDirectDependentConfigsFrom above except does the " all dependent " ones .