/third_party/gn/src/gn/ |
D | ninja_create_bundle_target_writer_unittest.cc | 17 void SetupBundleDataDir(BundleData* bundle_data, const std::string& root_dir) { in SetupBundleDataDir() argument 19 bundle_data->root_dir() = SourceDir(bundle_root_dir); in SetupBundleDataDir() 20 bundle_data->contents_dir() = SourceDir(bundle_root_dir + "/Contents"); in SetupBundleDataDir() 21 bundle_data->resources_dir() = in SetupBundleDataDir() 22 SourceDir(bundle_data->contents_dir().value() + "/Resources"); in SetupBundleDataDir() 23 bundle_data->executable_dir() = in SetupBundleDataDir() 24 SourceDir(bundle_data->contents_dir().value() + "/MacOS"); in SetupBundleDataDir() 52 Target bundle_data(setup.settings(), Label(SourceDir("//foo/"), "data")); in TEST() local 53 bundle_data.set_output_type(Target::BUNDLE_DATA); in TEST() 54 bundle_data.sources().push_back(SourceFile("//foo/input1.txt")); in TEST() [all …]
|
D | ninja_bundle_data_target_writer_unittest.cc | 18 Target bundle_data(setup.settings(), Label(SourceDir("//foo/"), "data")); in TEST() local 19 bundle_data.set_output_type(Target::BUNDLE_DATA); in TEST() 20 bundle_data.sources().push_back(SourceFile("//foo/input1.txt")); in TEST() 21 bundle_data.sources().push_back(SourceFile("//foo/input2.txt")); in TEST() 22 bundle_data.sources().push_back( in TEST() 24 bundle_data.sources().push_back( in TEST() 26 bundle_data.sources().push_back( in TEST() 28 bundle_data.sources().push_back( in TEST() 30 bundle_data.sources().push_back( in TEST() 32 bundle_data.sources().push_back( in TEST() [all …]
|
D | create_bundle_target_generator.cc | 32 BundleData& bundle_data = target_->bundle_data(); in DoRun() local 34 &bundle_data.root_dir())) in DoRun() 36 if (!FillBundleDir(bundle_data.root_dir(), variables::kBundleContentsDir, in DoRun() 37 &bundle_data.contents_dir())) in DoRun() 39 if (!FillBundleDir(bundle_data.root_dir(), variables::kBundleResourcesDir, in DoRun() 40 &bundle_data.resources_dir())) in DoRun() 42 if (!FillBundleDir(bundle_data.root_dir(), variables::kBundleExecutableDir, in DoRun() 43 &bundle_data.executable_dir())) in DoRun() 134 target_->bundle_data().xcode_extra_attributes() = in FillXcodeExtraAttributes() 147 target_->bundle_data().product_type().assign(value->string_value()); in FillProductType() [all …]
|
D | bundle_file_rule.cc | 48 const BundleData& bundle_data, in ApplyPatternToSource() argument 57 if (bundle_data.root_dir().is_null()) { in ApplyPatternToSource() 62 output_path.append(bundle_data.root_dir().value()); in ApplyPatternToSource() 64 if (bundle_data.contents_dir().is_null()) { in ApplyPatternToSource() 69 output_path.append(bundle_data.contents_dir().value()); in ApplyPatternToSource() 71 if (bundle_data.resources_dir().is_null()) { in ApplyPatternToSource() 76 output_path.append(bundle_data.resources_dir().value()); in ApplyPatternToSource() 78 if (bundle_data.executable_dir().is_null()) { in ApplyPatternToSource() 83 output_path.append(bundle_data.executable_dir().value()); in ApplyPatternToSource() 97 const BundleData& bundle_data, in ApplyPatternToSourceAsOutputFile() argument [all …]
|
D | ninja_create_bundle_target_writer.cc | 22 return !target->bundle_data().assets_catalog_sources().empty() || in TargetRequireAssetCatalogCompilation() 23 !target->bundle_data().partial_info_plist().is_null(); in TargetRequireAssetCatalogCompilation() 103 target_->bundle_data().GetBundleRootDirOutput(settings_))); in Run() 109 if (target_->bundle_data().code_signing_script().is_null()) in WriteCodeSigningRuleDefinition() 121 path_output_.WriteFile(out_, target_->bundle_data().code_signing_script()); in WriteCodeSigningRuleDefinition() 123 const SubstitutionList& args = target_->bundle_data().code_signing_args(); in WriteCodeSigningRuleDefinition() 142 for (const BundleFileRule& file_rule : target_->bundle_data().file_rules()) in WriteCopyBundleDataSteps() 159 settings_, target_, target_->bundle_data(), source_file, in WriteCopyBundleFileRuleSteps() 186 if (!target_->bundle_data().assets_catalog_sources().empty()) { in WriteCompileAssetsCatalogStep() 189 target_->bundle_data().GetCompiledAssetCatalogPath()); in WriteCompileAssetsCatalogStep() [all …]
|
D | bundle_file_rule.h | 32 const BundleData& bundle_data, 38 const BundleData& bundle_data,
|
D | xcode_writer.cc | 117 target->bundle_data().product_type() == in IsApplicationTarget() 130 target->bundle_data().product_type() == in IsXCTestModuleTarget() 138 target->bundle_data().product_type() == in IsXCUITestModuleTarget() 691 if (target->bundle_data().product_type().empty()) in AddTargetsFromBuilder() 746 target->bundle_data().xcode_test_application_name(), bundle_targets, in AddCXTestSourceFilesForTestModuleTargets() 784 target->bundle_data().xcode_test_application_name(), bundle_targets, in AddDependencyTargetsForTestModuleTargets() 918 target->bundle_data().xcode_extra_attributes(); in AddBundleTarget() 924 target->bundle_data().GetBundleRootDirOutput(target->settings()).value(), in AddBundleTarget() 927 RebasePath(target->bundle_data().GetBundleDir(target->settings()).value(), in AddBundleTarget() 931 target->bundle_data().product_type(), output_dir, in AddBundleTarget()
|
D | target.cc | 131 for (auto* dep : target->bundle_data().bundle_deps()) { in EnsureFileIsGeneratedByDependency() 321 const BundleData& Target::bundle_data() const { in bundle_data() function in Target 325 BundleData& Target::bundle_data() { in bundle_data() function in Target 640 if (!bundle_data().GetOutputsAsSourceFiles(settings(), this, outputs, err)) in GetOutputsAsSourceFiles() 765 dep->bundle_data().is_framework())) { in PullDependentTargetLibsFrom() 914 bundle_data().AddBundleData(pair.ptr); in PullRecursiveBundleData() 919 for (auto* target : pair.ptr->bundle_data().bundle_deps()) in PullRecursiveBundleData() 920 bundle_data().AddBundleData(target); in PullRecursiveBundleData() 925 bundle_data().OnTargetResolved(this); in PullRecursiveBundleData() 1023 if (!bundle_data().GetOutputFiles(settings(), this, &computed_outputs_, in FillOutputFiles()
|
D | runtime_deps_unittest.cc | 321 module_data.bundle_data().file_rules().push_back(BundleFileRule( in TEST_F() 343 dylib_data.bundle_data().file_rules().push_back(BundleFileRule( in TEST_F() 357 bundle.bundle_data().root_dir() = SourceDir(root_dir); in TEST_F() 358 bundle.bundle_data().contents_dir() = SourceDir(contents_dir); in TEST_F() 359 bundle.bundle_data().resources_dir() = SourceDir(contents_dir + "Resources"); in TEST_F() 360 bundle.bundle_data().executable_dir() = SourceDir(contents_dir + "MacOS"); in TEST_F()
|
D | desc_builder.cc | 787 const BundleData& bundle_data = target_->bundle_data(); in FillInBundle() local 790 bundle_data.GetSourceFiles(&sources); in FillInBundle() 794 base::Value(bundle_data.GetBundleRootDirOutput(settings).value())); in FillInBundle() 796 RenderValue(bundle_data.root_dir())); in FillInBundle() 798 RenderValue(bundle_data.resources_dir())); in FillInBundle() 800 RenderValue(bundle_data.executable_dir())); in FillInBundle() 801 data->SetKey("product_type", base::Value(bundle_data.product_type())); in FillInBundle() 803 "partial_info_plist", RenderValue(bundle_data.partial_info_plist())); in FillInBundle() 806 for (const auto* dep : bundle_data.bundle_deps()) in FillInBundle()
|
D | functions_target.cc | 359 are computed from all "bundle_data" target this one depends on transitively 363 "bundle_data" outputs. The properties are optional but must be defined if any 364 of the "bundle_data" target use them. 422 bundle_data("${app_name}_bundle_info_plist") { 441 bundle_data("${app_name}_bundle_executable") {
|
D | target_unittest.cc | 1352 a.bundle_data().root_dir() = SourceDir("//out/foo_a.bundle"); in TEST_F() 1353 a.bundle_data().resources_dir() = SourceDir("//out/foo_a.bundle/Resources"); in TEST_F() 1361 c.bundle_data().root_dir() = SourceDir("//out/foo_c.bundle"); in TEST_F() 1362 c.bundle_data().resources_dir() = SourceDir("//out/foo_c.bundle/Resources"); in TEST_F() 1389 ASSERT_EQ(a.bundle_data().file_rules().size(), 2u); in TEST_F() 1390 ASSERT_EQ(a.bundle_data().file_rules()[0].sources().size(), 2u); in TEST_F() 1391 ASSERT_EQ(a.bundle_data().file_rules()[1].sources().size(), 3u); in TEST_F() 1392 ASSERT_EQ(a.bundle_data().assets_catalog_sources().size(), 1u); in TEST_F() 1393 ASSERT_EQ(a.bundle_data().bundle_deps().size(), 2u); in TEST_F() 1396 ASSERT_EQ(c.bundle_data().file_rules().size(), 1u); in TEST_F() [all …]
|
D | target.h | 232 const BundleData& bundle_data() const; 233 BundleData& bundle_data();
|
D | runtime_deps.cc | 110 target->bundle_data().GetBundleRootDirOutputAsDir(target->settings()); in RecursiveCollectRuntimeDeps()
|
D | ninja_binary_target_writer.cc | 198 dep->bundle_data().is_framework()) { in ClassifyDependency()
|
D | resolved_target_data.cc | 261 dep->bundle_data().is_framework())) { in ComputeInheritedLibsFor()
|
D | substitution_writer.cc | 107 output directory. This can only be used in actions and bundle_data
|
/third_party/skia/gn/ |
D | ios.gni | 92 bundle_data(_target_name) { 120 bundle_data("${app_name}_bundle_info_plist") { 127 bundle_data("${app_name}_bundle_resources_and_skps") { 177 bundle_data("${app_name}_bundle_executable_and_symbols") {
|
/third_party/gn/examples/ios/build/config/ios/templates/ |
D | ios_framework_bundle.gni | 81 bundle_data(_dylib_bundle) { 101 bundle_data(_headers_bundle) { 147 bundle_data("$target_name+bundle") {
|
D | storyboards.gni | 26 bundle_data(target_name) {
|
D | ios_app_bundle.gni | 119 bundle_data(_executable_bundle) {
|
D | ios_binary_bundle.gni | 96 bundle_data(_plist_bundle) {
|
/third_party/cef/ |
D | BUILD.gn | 190 # bundle_data step. If unspecified, defaults to bundle_resources_dir. 210 bundle_data(_target_name) { 1520 bundle_data("cef_framework_resources") { 1543 bundle_data("cef_framework_angle_binaries") { 1553 bundle_data("cef_framework_swiftshader_binaries") { 1771 bundle_data("${app_name}_framework_bundle_data") { 1827 bundle_data("cefclient_resources_bundle_data") { 1835 bundle_data("cefclient_resources_bundle_data_extensions_set_page_color") { 1842 bundle_data("cefclient_resources_bundle_data_english") { 1890 bundle_data("cefsimple_resources_bundle_data") { [all …]
|
/third_party/flutter/skia/ |
D | BUILD.gn | 1253 bundle_data("${app_name}_bundle_info_plist") { 1262 bundle_data("${app_name}_bundle_resources") { 1270 bundle_data("${app_name}_bundle_skps") { 1292 bundle_data("${app_name}_bundle_executable") { 1299 bundle_data("${app_name}_bundle_symbols") {
|
/third_party/skia/third_party/externals/icu/ |
D | BUILD.gn | 338 bundle_data("icudata") {
|