| Index: testing/scripts/webkit_lint.py
|
| diff --git a/testing/scripts/webview_licenses.py b/testing/scripts/webkit_lint.py
|
| similarity index 76%
|
| copy from testing/scripts/webview_licenses.py
|
| copy to testing/scripts/webkit_lint.py
|
| index 255c62e993111f82f0d47d2445ed89312ea28c16..eeb9367099964777779197dcd86d2e564d08df24 100755
|
| --- a/testing/scripts/webview_licenses.py
|
| +++ b/testing/scripts/webkit_lint.py
|
| @@ -14,18 +14,18 @@ import common
|
| def main_run(args):
|
| with common.temporary_file() as tempfile_path:
|
| rc = common.run_command([
|
| - os.path.join(common.SRC_DIR, 'android_webview', 'tools',
|
| - 'webview_licenses.py'),
|
| - 'scan',
|
| + sys.executable,
|
| + os.path.join(common.SRC_DIR, 'third_party', 'WebKit',
|
| + 'Tools', 'Scripts', 'lint-test-expectations'),
|
| '--json', tempfile_path
|
| ])
|
|
|
| with open(tempfile_path) as f:
|
| - results = json.load(f)
|
| + failures = json.load(f)
|
|
|
| json.dump({
|
| 'valid': True,
|
| - 'failures': results,
|
| + 'failures': failures,
|
| }, args.output)
|
|
|
| return rc
|
|
|