summaryrefslogtreecommitdiffstats
path: root/ui/base/test/framework-Info.plist
diff options
context:
space:
mode:
authortapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-12 04:33:56 +0000
committertapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-12 04:33:56 +0000
commitb4c72667519699208beea04f88c8b3fdd27683d7 (patch)
tree6f3572410846ed8900c8a15d178045ebf80a2016 /ui/base/test/framework-Info.plist
parentdb8cf5249e2a6df9ce134894e95d8636567cc458 (diff)
downloadchromium_src-b4c72667519699208beea04f88c8b3fdd27683d7.zip
chromium_src-b4c72667519699208beea04f88c8b3fdd27683d7.tar.gz
chromium_src-b4c72667519699208beea04f88c8b3fdd27683d7.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 Previously Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255512 Review URL: https://codereview.chromium.org/152543005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/test/framework-Info.plist')
-rw-r--r--ui/base/test/framework-Info.plist18
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>