Index: build/toolchain/mac/BUILD.gn |
diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn |
index dea16ebbcabc9158125d2175cd8ea41d5cb1e0b3..8b38c7f4b00db9cb06b19a08b6117e8cb5392dc9 100644 |
--- a/build/toolchain/mac/BUILD.gn |
+++ b/build/toolchain/mac/BUILD.gn |
@@ -115,7 +115,7 @@ template("mac_toolchain") { |
if (_enable_dsyms) { |
dsym_switch = " -Wcrl,dsym,{{root_out_dir}} " |
_dsym_output = |
Robert Sesek
2016/08/08 19:13:04
Why not just make this a list too?
sdefresne
2016/08/08 21:32:33
I didn't think of turning this into a list. Done.
|
- "{{root_out_dir}}/{{target_output_name}}{{output_extension}}.dSYM/" |
+ "{{root_out_dir}}/{{target_output_name}}{{output_extension}}.dSYM" |
} else { |
dsym_switch = "" |
} |
@@ -249,7 +249,11 @@ template("mac_toolchain") { |
depend_output = tocname |
if (_enable_dsyms) { |
- outputs += [ _dsym_output ] |
+ outputs += [ |
+ "$_dsym_output/", |
+ "$_dsym_output/Contents/Info.plist", |
+ "$_dsym_output/Contents/Resources/DWARF/{{target_output_name}}", |
+ ] |
} |
if (_save_unstripped_output) { |
outputs += [ _unstripped_output ] |
@@ -284,7 +288,11 @@ template("mac_toolchain") { |
] |
if (_enable_dsyms) { |
- outputs += [ _dsym_output ] |
+ outputs += [ |
+ "$_dsym_output/", |
+ "$_dsym_output/Contents/Info.plist", |
+ "$_dsym_output/Contents/Resources/DWARF/{{target_output_name}}", |
+ ] |
} |
if (_save_unstripped_output) { |
outputs += [ _unstripped_output ] |
@@ -312,7 +320,11 @@ template("mac_toolchain") { |
] |
if (_enable_dsyms) { |
- outputs += [ _dsym_output ] |
+ outputs += [ |
+ "$_dsym_output/", |
+ "$_dsym_output/Contents/Info.plist", |
+ "$_dsym_output/Contents/Resources/DWARF/{{target_output_name}}", |
+ ] |
} |
if (_save_unstripped_output) { |
outputs += [ _unstripped_output ] |