Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Side by Side Diff: android_webview/tools/webview_licenses.py

Issue 110533009: Import TestRunner library into chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « PRESUBMIT.py ('k') | content/content_shell.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Checks third-party licenses for the purposes of the Android WebView build. 6 """Checks third-party licenses for the purposes of the Android WebView build.
7 7
8 The Android tree includes a snapshot of Chromium in order to power the system 8 The Android tree includes a snapshot of Chromium in order to power the system
9 WebView. This tool checks that all code uses open-source licenses compatible 9 WebView. This tool checks that all code uses open-source licenses compatible
10 with Android, and that we meet the requirements of those licenses. It can also 10 with Android, and that we meet the requirements of those licenses. It can also
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 # VCS dirs 96 # VCS dirs
97 excluded_dirs_list.append('.git') 97 excluded_dirs_list.append('.git')
98 excluded_dirs_list.append('.svn') 98 excluded_dirs_list.append('.svn')
99 # Build output 99 # Build output
100 excluded_dirs_list.append('out/Debug') 100 excluded_dirs_list.append('out/Debug')
101 excluded_dirs_list.append('out/Release') 101 excluded_dirs_list.append('out/Release')
102 # 'Copyright' appears in license agreements 102 # 'Copyright' appears in license agreements
103 excluded_dirs_list.append('chrome/app/resources') 103 excluded_dirs_list.append('chrome/app/resources')
104 # This is a test output directory 104 # This is a test output directory
105 excluded_dirs_list.append('chrome/tools/test/reference_build') 105 excluded_dirs_list.append('chrome/tools/test/reference_build')
106 # blink style copy right headers.
107 excluded_dirs_list.append('content/shell/renderer/test_runner')
106 # This is tests directory, doesn't exist in the snapshot 108 # This is tests directory, doesn't exist in the snapshot
107 excluded_dirs_list.append('content/test/data') 109 excluded_dirs_list.append('content/test/data')
108 # This is a tests directory that doesn't exist in the shipped product. 110 # This is a tests directory that doesn't exist in the shipped product.
109 excluded_dirs_list.append('gin/test') 111 excluded_dirs_list.append('gin/test')
110 # This is a test output directory 112 # This is a test output directory
111 excluded_dirs_list.append('data/dom_perf') 113 excluded_dirs_list.append('data/dom_perf')
112 # Histogram tools, doesn't exist in the snapshot 114 # Histogram tools, doesn't exist in the snapshot
113 excluded_dirs_list.append('tools/histograms') 115 excluded_dirs_list.append('tools/histograms')
114 # Swarming tools, doesn't exist in the snapshot 116 # Swarming tools, doesn't exist in the snapshot
115 excluded_dirs_list.append('tools/swarming_client') 117 excluded_dirs_list.append('tools/swarming_client')
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 return scan_result 288 return scan_result
287 elif args[0] == 'notice': 289 elif args[0] == 'notice':
288 print GenerateNoticeFile() 290 print GenerateNoticeFile()
289 return ScanResult.Ok 291 return ScanResult.Ok
290 292
291 parser.print_help() 293 parser.print_help()
292 return ScanResult.Errors 294 return ScanResult.Errors
293 295
294 if __name__ == '__main__': 296 if __name__ == '__main__':
295 sys.exit(main()) 297 sys.exit(main())
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698