Index: tools/gn/ninja_create_bundle_target_writer.cc |
diff --git a/tools/gn/ninja_create_bundle_target_writer.cc b/tools/gn/ninja_create_bundle_target_writer.cc |
index 351ec0c883e91666e1861fa1e51b82ed69ed1511..3b87129f11892a7b70a33e4b03937aafc0fefaec 100644 |
--- a/tools/gn/ninja_create_bundle_target_writer.cc |
+++ b/tools/gn/ninja_create_bundle_target_writer.cc |
@@ -174,9 +174,7 @@ NinjaCreateBundleTargetWriter::WriteCompileAssetsCatalogInputDepsStamp( |
return dependencies[0]->dependency_output_file(); |
OutputFile xcassets_input_stamp_file = |
- OutputFile(RebasePath(GetTargetOutputDir(target_).value(), |
- settings_->build_settings()->build_dir(), |
- settings_->build_settings()->root_path_utf8())); |
+ GetBuildDirForTargetAsOutputFile(target_, BuildDirType::OBJ); |
xcassets_input_stamp_file.value().append(target_->label().name()); |
xcassets_input_stamp_file.value().append(".xcassets.inputdeps.stamp"); |
@@ -261,9 +259,7 @@ OutputFile NinjaCreateBundleTargetWriter::WriteCodeSigningInputDepsStamp( |
dependencies.end()); |
OutputFile code_signing_input_stamp_file = |
- OutputFile(RebasePath(GetTargetOutputDir(target_).value(), |
- settings_->build_settings()->build_dir(), |
- settings_->build_settings()->root_path_utf8())); |
+ GetBuildDirForTargetAsOutputFile(target_, BuildDirType::OBJ); |
code_signing_input_stamp_file.value().append(target_->label().name()); |
code_signing_input_stamp_file.value().append(".codesigning.inputdeps.stamp"); |