Chromium Code Reviews| Index: chrome/test/data/safe_browsing/mach_o/ResourceRules |
| diff --git a/chrome/installer/mac/app_resource_rules.plist.in b/chrome/test/data/safe_browsing/mach_o/ResourceRules |
| similarity index 57% |
| copy from chrome/installer/mac/app_resource_rules.plist.in |
| copy to chrome/test/data/safe_browsing/mach_o/ResourceRules |
| index f3d24cd199fde780e989374dbd2425503fc7ccbe..be404f15f492b37fbf2c3131a4de8340e3e6253c 100644 |
| --- a/chrome/installer/mac/app_resource_rules.plist.in |
| +++ b/chrome/test/data/safe_browsing/mach_o/ResourceRules |
| @@ -4,100 +4,95 @@ |
| <dict> |
| <key>rules</key> |
| <dict> |
| - <key>^PkgInfo$</key> |
| - <true/> |
| - <key>^MacOS/</key> |
| - <true/> |
| <key>^Resources/</key> |
| <true/> |
| - <key>^Versions/</key> |
| + <key>^Frameworks</key> |
| + <true/> |
| + <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> |
|
Robert Sesek
2015/10/05 22:19:07
Mixed tabs and spaces?
Greg K
2015/10/07 22:54:30
Done.
|
| </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>omit</key> |
| - <true/> |
| <key>weight</key> |
| - <real>40</real> |
| + <real>10</real> |
| </dict> |
| - <key>/\.DS_Store$</key> |
| + <key>^embedded\.provisionprofile$</key> |
| <dict> |
| - <key>omit</key> |
| - <true/> |
| <key>weight</key> |
| - <real>50</real> |
| + <real>20</real> |
| + </dict> |
| + <key>^version\.plist$</key> |
| + <dict> |
| + <key>weight</key> |
| + <real>20</real> |
| </dict> |
| </dict> |
| </dict> |