aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tools/jdk/proguard_whitelister.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/jdk/proguard_whitelister.py b/tools/jdk/proguard_whitelister.py
index 112dbee870..4ccc4b93fd 100644
--- a/tools/jdk/proguard_whitelister.py
+++ b/tools/jdk/proguard_whitelister.py
@@ -37,7 +37,8 @@ class ProguardConfigValidator(object):
"""Validates a proguard config."""
# Must be a tuple for str.startswith()
- _VALID_ARGS = ('keep', 'assumenosideeffects', 'adaptresourcefilecontents')
+ _VALID_ARGS = ('keep', 'assumenosideeffects', 'adaptresourcefilecontents',
+ 'if')
def __init__(self, config_path, outconfig_path):
self._config_path = config_path