Chromium Code Reviews| Index: tools/patch_sdk.py |
| diff --git a/tools/patch_sdk.py b/tools/patch_sdk.py |
| index 212514a8190c91144052e5513e2f7be5560185df..a939a9641606ea2253054a7dbc0e97a7a914f52d 100755 |
| --- a/tools/patch_sdk.py |
| +++ b/tools/patch_sdk.py |
| @@ -48,8 +48,10 @@ def main(): |
| print >> sys.stderr, 'ERROR: cannot locate dart executable' |
| return -1 |
| dart_file = os.path.join(os.path.dirname(__file__), 'patch_sdk.dart') |
| + # '--checked' is not recognized by Dart executable built for Flutter Release |
|
rmacnak
2017/06/20 20:40:50
Product mode does not allow checked mode. This sho
|
| subprocess.check_call( |
| - [options.dart_executable, '--checked', dart_file] + args) |
| + [options.dart_executable, '--ignore_unrecognized_flags', |
| + '--checked', dart_file] + args) |
| return 0 |
| if __name__ == '__main__': |