diff --git a/fetch_configs/android_internal.py b/fetch_configs/android_internal.py index 2d77532d9..f4662dbc2 100644 --- a/fetch_configs/android_internal.py +++ b/fetch_configs/android_internal.py @@ -17,7 +17,7 @@ class AndroidInternal(config_util.Config): return { 'alias': { 'config': 'chromium', - 'props': ['--target_os=android', '--internal=True', '--flash=False'], + 'props': ['--target_os=android', '--internal=1'], }, } diff --git a/fetch_configs/chromium.py b/fetch_configs/chromium.py index 994eb9308..340b2f552 100644 --- a/fetch_configs/chromium.py +++ b/fetch_configs/chromium.py @@ -2,7 +2,6 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import ast import sys import config_util # pylint: disable=import-error @@ -24,20 +23,11 @@ class Chromium(config_util.Config): } if props.get('webkit_revision', '') == 'ToT': solution['custom_vars']['webkit_revision'] = '' - if ast.literal_eval(props.get('internal', False)): + if bool(props.get('internal', False)): solution['custom_vars']['checkout_src_internal'] = True - # TODO(jbudorick): Remove this once crbug.com/803846 and # crbug.com/856278 are complete. solution['custom_vars']['checkout_mobile_internal'] = True - - if not ast.literal_eval(props.get('flash', True)): - solution['custom_deps'].update({ - 'src/third_party/adobe/flash/binaries/ppapi/linux': None, - 'src/third_party/adobe/flash/binaries/ppapi/linux_x64': None, - 'src/third_party/adobe/flash/symbols/ppapi/linux': None, - 'src/third_party/adobe/flash/symbols/ppapi/linux_x64': None, - }) spec = { 'solutions': [solution], }