diff options
author | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 03:41:36 +0000 |
---|---|---|
committer | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 03:41:36 +0000 |
commit | 397c91edf2507a91da8be57c7a4467872a8bed0c (patch) | |
tree | 5e97b67e7de674e922082be043ee7088da2e29bb /ui/base/test/framework-Info.plist | |
parent | cbede6d03b71d3abcc5b159c14bd618a20f674c2 (diff) | |
download | chromium_src-397c91edf2507a91da8be57c7a4467872a8bed0c.zip chromium_src-397c91edf2507a91da8be57c7a4467872a8bed0c.tar.gz chromium_src-397c91edf2507a91da8be57c7a4467872a8bed0c.tar.bz2 |
Introduce a mock ui_unittests Framework for loading resources.
This allows ui_unittests to stop depending on the chrome framework.
On Mac, this creates (e.g.)
- out/ui_unittests Framework.framework/
+-- Resources -> Versions/A/Resources
\-- Versions
\-- A
\-- Resources
+-- Info.plist
+-- am.lproj
| \-- locale.pak
+-- ...
+-- chrome_100_percent.pak -> ui_test.pak
+-- ...
+-- en.lproj
| \-- locale.pak
+-- ...
On other platforms, out/ui_test.pak is loaded directly and
out/ui_unittests_strings/ is set as the locale folder (for tests that
load en-US.pak from there). ui_unittests currently depends on
out/locales/ which is only created when Chrome is built.
Note that ui_unittests does not currently succeed in a clobber build
(crbug.com/347851), so that missing dependency is fixed by this change
as well.
BUG=331669, 35878, 347851
TEST=ui_unittests should build and run after clobbering the build folder
Review URL: https://codereview.chromium.org/152543005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255512 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/test/framework-Info.plist')
-rw-r--r-- | ui/base/test/framework-Info.plist | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ui/base/test/framework-Info.plist b/ui/base/test/framework-Info.plist new file mode 100644 index 0000000..f3b7fc7 --- /dev/null +++ b/ui/base/test/framework-Info.plist @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>en</string> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleIdentifier</key> + <string>${CHROMIUM_BUNDLE_ID}.framework</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>FMWK</string> + <key>CFBundleSignature</key> + <string>????</string> +</dict> +</plist> |