Index: chrome/chrome.gyp |
=================================================================== |
--- chrome/chrome.gyp (revision 30834) |
+++ chrome/chrome.gyp (working copy) |
@@ -147,7 +147,9 @@ |
},], |
['OS=="mac"', { |
'tweak_info_plist_path': 'tools/build/mac/tweak_info_plist', |
- 'symlink_lprojs_path': 'tools/build/mac/symlink_lprojs', |
+ # TODO(mark): Remove after November 17, 2009, allowing two weeks for |
+ # the transition. |
+ 'transition_lprojs_path': 'tools/build/mac/transition_lprojs', |
'nacl_defines': [ |
'NACL_WINDOWS=0', |
'NACL_LINUX=0', |
@@ -3660,6 +3662,18 @@ |
], |
'actions': [ |
{ |
+ # Clean up the old .lproj structure, where English was in |
+ # en_US.lproj, and en.lproj was a symbolic link. This must run |
+ # before the "Generating InfoPlist.strings files" action. |
+ # |
+ # TODO(mark): Remove after November 17, 2009, allowing two weeks |
+ # for the transition. |
+ 'action_name': 'Temporary .lproj transition', |
+ 'action': ['<(transition_lprojs_path)'], |
+ 'inputs': [], # Always run. |
+ 'outputs': [], |
+ }, |
+ { |
# Generate the InfoPlist.strings file |
'action_name': 'Generating InfoPlist.strings files', |
'variables': { |
@@ -3734,10 +3748,6 @@ |
'<(mac_bundle_id)'], |
}, |
{ |
- 'postbuild_name': 'Make .lproj links', |
- 'action': ['<(symlink_lprojs_path)'], |
- }, |
- { |
'postbuild_name': 'Clean up old versions', |
'action': [ |
'tools/build/mac/clean_up_old_versions', |
@@ -5743,6 +5753,18 @@ |
'repack_path': '../tools/data_pack/repack.py', |
}, |
'actions': [ |
+ { |
+ # Clean up the old .lproj structure, where English was in |
+ # en_US.lproj, and en.lproj was a symbolic link. This must |
+ # run before the "repack_locales" action. |
+ # |
+ # TODO(mark): Remove after November 17, 2009, allowing two |
+ # weeks for the transition. |
+ 'action_name': 'Temporary .lproj transition', |
+ 'action': ['<(transition_lprojs_path)'], |
+ 'inputs': [], # Always run. |
+ 'outputs': [], |
+ }, |
# TODO(mark): These actions are duplicated for Linux and |
# FreeBSD in the chrome target. Can they be unified? |
{ |
@@ -5820,10 +5842,6 @@ |
'<(mac_bundle_id)'], |
}, |
{ |
- 'postbuild_name': 'Make .lproj links', |
- 'action': ['<(symlink_lprojs_path)'], |
- }, |
- { |
'postbuild_name': 'Symlink Libraries', |
'action': [ |
'ln', |
@@ -5972,6 +5990,18 @@ |
], |
'actions': [ |
{ |
+ # Clean up the old .lproj structure, where English was in |
+ # en_US.lproj, and en.lproj was a symbolic link. This must run |
+ # before the "Generating InfoPlist.strings files" action. |
+ # |
+ # TODO(mark): Remove after November 17, 2009, allowing two weeks |
+ # for the transition. |
+ 'action_name': 'Temporary .lproj transition', |
+ 'action': ['<(transition_lprojs_path)'], |
+ 'inputs': [], # Always run. |
+ 'outputs': [], |
+ }, |
+ { |
# Generate the InfoPlist.strings file |
'action_name': 'Generating InfoPlist.strings files', |
'variables': { |
@@ -6044,10 +6074,6 @@ |
'<(branding)', |
'<(mac_bundle_id)'], |
}, |
- { |
- 'postbuild_name': 'Make .lproj links', |
- 'action': ['<(symlink_lprojs_path)'], |
- }, |
], |
'conditions': [ |
['mac_breakpad==1', { |