Index: ui/base/ui_base_tests.gypi |
diff --git a/ui/base/ui_base_tests.gypi b/ui/base/ui_base_tests.gypi |
index 44a251a14900b2aa68d88e491f53e4f7e56cd5ee..d0b9fbcc6cc0ec16f9c09fe3014e7251c5f06e6d 100644 |
--- a/ui/base/ui_base_tests.gypi |
+++ b/ui/base/ui_base_tests.gypi |
@@ -100,6 +100,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', |
tony
2014/10/15 17:35:21
I thought there was a 'copies' command that gyp kn
Avi (use Gerrit)
2014/10/15 17:39:59
I don't know; I don't speak gyp very well. I tried
|
+ '${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': [ |