Chromium Code Reviews| Index: build/android/play_services/utils.py |
| diff --git a/build/android/play_services/utils.py b/build/android/play_services/utils.py |
| index 0e6d5a8e01c2e7e7aaf2ca1c302ca4940db77e99..acc6cf450962693d28429a214f8508d7ed98f2f8 100644 |
| --- a/build/android/play_services/utils.py |
| +++ b/build/android/play_services/utils.py |
| @@ -65,6 +65,11 @@ class ConfigParser(object): |
| `//chrome/app/generated_resources.grd` |
| Example: ["am", "ar", "bg", "ca", "cs"] |
| + - resource_whitelist |
|
whywhat
2016/04/12 16:00:16
Could you please also support * or some other conv
dgn
2016/04/12 16:31:25
Done.
|
| + List of strings. List of resource files to explicitely keep in the final |
| + output. Use it to keep drawables for example, as we currently remove them |
| + all. |
| + Example: ["play-services-base/res/drawables/foobar.xml"] |
| ''' |
| _VERSION_NUMBER_KEY = 'version_number' |
| @@ -95,6 +100,10 @@ class ConfigParser(object): |
| def locale_whitelist(self): |
| return self._data.get('locale_whitelist') or [] |
| + @property |
| + def resource_whitelist(self): |
| + return self._data.get('resource_whitelist') or [] |
| + |
| def UpdateVersionNumber(self, new_version_number): |
| '''Updates the version number and saves it in the configuration file. ''' |