Index: ui/base/ui_base_tests.gyp |
diff --git a/ui/base/ui_base_tests.gyp b/ui/base/ui_base_tests.gyp |
index d95c0de5d40ea2dc77785716146a00fac8841421..f4302caa0dc1cf287b8f440ae61c11176f1ac56e 100644 |
--- a/ui/base/ui_base_tests.gyp |
+++ b/ui/base/ui_base_tests.gyp |
@@ -112,6 +112,26 @@ |
'includes': [ '../../build/copy_test_data_ios.gypi' ], |
}, |
], |
+ 'postbuilds': [ |
+ # The iOS resource bundle code hard-codes the names of the 100% and |
+ # 200% paks. This copying allows locale.pak to stand in for them. |
+ { |
+ 'postbuild_name': 'Copy chrome_100_percent for test', |
+ 'action': [ |
+ 'cp', |
+ '${BUILT_PRODUCTS_DIR}/ui/en.lproj/locale.pak', |
+ '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/chrome_100_percent.pak' |
+ ], |
+ }, |
+ { |
+ 'postbuild_name': 'Copy chrome_200_percent for test', |
+ 'action': [ |
+ 'cp', |
+ '${BUILT_PRODUCTS_DIR}/ui/en.lproj/locale.pak', |
+ '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/chrome_200_percent.pak' |
+ ], |
+ }, |
+ ], |
}], |
['OS == "win"', { |
'sources': [ |