Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6045)

Unified Diff: chrome/test/data/safe_browsing/mach_o/modified-main-exec32.app/Contents/_CodeSignature/CodeResources

Issue 1363613004: Implement anonymous, opt-in, collection of OS X binary integrity incidents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test checkperms changs Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/safe_browsing/mach_o/modified-main-exec32.app/Contents/_CodeSignature/CodeResources
diff --git a/chrome/installer/mac/app_resource_rules.plist.in b/chrome/test/data/safe_browsing/mach_o/modified-main-exec32.app/Contents/_CodeSignature/CodeResources
similarity index 52%
copy from chrome/installer/mac/app_resource_rules.plist.in
copy to chrome/test/data/safe_browsing/mach_o/modified-main-exec32.app/Contents/_CodeSignature/CodeResources
index f3d24cd199fde780e989374dbd2425503fc7ccbe..97763b8a1d986df7657d3892b8da5cd608989fec 100644
--- a/chrome/installer/mac/app_resource_rules.plist.in
+++ b/chrome/test/data/safe_browsing/mach_o/modified-main-exec32.app/Contents/_CodeSignature/CodeResources
@@ -2,102 +2,119 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
+ <key>files</key>
+ <dict>
+ <key>Resources/Base.lproj/MainMenu.nib</key>
+ <dict>
+ <key>hash</key>
+ <data>
+ 36VmRur+3AKfYrTxgwnd4cqqjvY=
+ </data>
+ <key>optional</key>
+ <true/>
+ </dict>
+ </dict>
+ <key>files2</key>
+ <dict>
+ <key>Resources/Base.lproj/MainMenu.nib</key>
+ <dict>
+ <key>hash</key>
+ <data>
+ 36VmRur+3AKfYrTxgwnd4cqqjvY=
+ </data>
+ <key>optional</key>
+ <true/>
+ </dict>
+ </dict>
<key>rules</key>
<dict>
- <key>^PkgInfo$</key>
- <true/>
- <key>^MacOS/</key>
- <true/>
<key>^Resources/</key>
<true/>
- <key>^Versions/</key>
+ <key>^Resources/.*\.lproj/</key>
<dict>
- <key>omit</key>
+ <key>optional</key>
<true/>
<key>weight</key>
- <real>10</real>
+ <real>1000</real>
</dict>
- <key>^Versions/@VERSION_REGEX@/</key>
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
+ <key>omit</key>
+ <true/>
<key>weight</key>
- <real>20</real>
+ <real>1100</real>
</dict>
- <key>^Resources/.+\.lproj/</key>
+ <key>^version.plist$</key>
+ <true/>
+ </dict>
+ <key>rules2</key>
+ <dict>
+ <key>.*\.dSYM($|/)</key>
<dict>
- <key>optional</key>
- <true/>
<key>weight</key>
- <real>30</real>
+ <real>11</real>
</dict>
- <key>^Versions/@VERSION_REGEX@/.+/Resources/.+\.lproj/</key>
+ <key>^(.*/)?\.DS_Store$</key>
<dict>
- <key>optional</key>
+ <key>omit</key>
<true/>
<key>weight</key>
- <real>30</real>
+ <real>2000</real>
</dict>
- <key>^Versions/@VERSION_REGEX@/.+/Resources Disabled/</key>
+ <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
- <key>omit</key>
- <true/>
<key>weight</key>
- <real>40</real>
+ <real>10</real>
</dict>
- <key>/\.DS_Store$</key>
+ <key>^.*</key>
+ <true/>
+ <key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
- <real>50</real>
+ <real>20</real>
</dict>
- </dict>
- <key>rules2</key>
- <dict>
<key>^PkgInfo$</key>
- <true/>
- <key>^MacOS/</key>
- <true/>
- <key>^Resources/</key>
- <true/>
- <key>^Versions/</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
- <real>10</real>
+ <real>20</real>
</dict>
- <key>^Versions/@VERSION_REGEX@/</key>
+ <key>^Resources/</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
- <key>^Resources/.+\.lproj/</key>
+ <key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
- <real>30</real>
+ <real>1000</real>
</dict>
- <key>^Versions/@VERSION_REGEX@/.+/Resources/.+\.lproj/</key>
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
- <key>optional</key>
+ <key>omit</key>
<true/>
<key>weight</key>
- <real>30</real>
+ <real>1100</real>
</dict>
- <key>^Versions/@VERSION_REGEX@/.+/Resources Disabled/</key>
+ <key>^[^/]+$</key>
+ <dict>
+ <key>weight</key>
+ <real>10</real>
+ </dict>
+ <key>^embedded\.provisionprofile$</key>
<dict>
- <key>omit</key>
- <true/>
<key>weight</key>
- <real>40</real>
+ <real>20</real>
</dict>
- <key>/\.DS_Store$</key>
+ <key>^version\.plist$</key>
<dict>
- <key>omit</key>
- <true/>
<key>weight</key>
- <real>50</real>
+ <real>20</real>
</dict>
</dict>
</dict>

Powered by Google App Engine
This is Rietveld 408576698