OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """List of known-incompatibly-licensed directories for Android WebView. | 5 """List of known-incompatibly-licensed directories for Android WebView. |
6 | 6 |
7 This is not used by the webview_licenses tool itself; it is effectively a | 7 This is not used by the webview_licenses tool itself; it is effectively a |
8 "cache" of the output of webview_licenses.GetIncompatibleDirectories() for the | 8 "cache" of the output of webview_licenses.GetIncompatibleDirectories() for the |
9 subset of repositories that WebView needs. | 9 subset of repositories that WebView needs. |
10 | 10 |
11 We store a copy here because GetIncompatibleDirectories() doesn't work properly | 11 We store a copy here because GetIncompatibleDirectories() doesn't work properly |
12 after things have been removed from the tree - it can no longer see the | 12 after things have been removed from the tree - it can no longer see the |
13 README.chromium files for previously-removed directories, but they may have | 13 README.chromium files for previously-removed directories, but they may have |
14 newly added files in them. As long as this list is up to date, we can remove the | 14 newly added files in them. As long as this list is up to date, we can remove the |
15 things listed first, and then just run the tool afterwards to validate that it | 15 things listed first, and then just run the tool afterwards to validate that it |
16 was sufficient. If the tool returns any extra directories then the snapshotting | 16 was sufficient. If the tool returns any extra directories then the snapshotting |
17 process will stop and this list must be updated. | 17 process will stop and this list must be updated. |
18 | 18 |
19 """ | 19 """ |
20 | 20 |
21 # If there is a temporary license-related issue with a particular third_party | 21 # If there is a temporary license-related issue with a particular third_party |
22 # directory, please put it here, with a comment linking to the bug entry. | 22 # directory, please put it here, with a comment linking to the bug entry. |
23 KNOWN_ISSUES = [ | 23 KNOWN_ISSUES = [] |
24 'third_party/guava', # crbug.com/163896 | |
25 'third_party/jsr-305', | |
26 ] | |
27 | 24 |
28 KNOWN_INCOMPATIBLE = { | 25 KNOWN_INCOMPATIBLE = { |
29 # Incompatible code in the main chromium repository. | 26 # Incompatible code in the main chromium repository. |
30 '.': [ | 27 '.': [ |
31 'base/third_party/xdg_mime', | 28 'base/third_party/xdg_mime', |
32 'breakpad', | 29 'breakpad', |
33 'chrome/installer/mac/third_party/xz', | 30 'chrome/installer/mac/third_party/xz', |
34 'chrome/test/data', | 31 'chrome/test/data', |
35 'third_party/active_doc', | 32 'third_party/active_doc', |
36 'third_party/apple_apsl', | 33 'third_party/apple_apsl', |
37 'third_party/apple_sample_code', | 34 'third_party/apple_sample_code', |
38 'third_party/bsdiff', | 35 'third_party/bsdiff', |
39 'third_party/bspatch', | 36 'third_party/bspatch', |
40 'third_party/sudden_motion_sensor', | 37 'third_party/sudden_motion_sensor', |
41 'third_party/swiftshader', | 38 'third_party/swiftshader', |
42 'third_party/talloc', | 39 'third_party/talloc', |
43 'third_party/webdriver', | 40 'third_party/webdriver', |
44 'third_party/wtl', | 41 'third_party/wtl', |
45 'tools/telemetry/third_party/websocket-client', | 42 'tools/telemetry/third_party/websocket-client', |
46 ], | 43 ], |
47 # Incompatible code in ICU. | 44 # Incompatible code in ICU. |
48 'third_party/icu': [ | 45 'third_party/icu': [ |
49 'source/data/brkitr', | 46 'source/data/brkitr', |
50 ], | 47 ], |
51 } | 48 } |
52 | 49 |
53 KNOWN_INCOMPATIBLE['.'].extend(KNOWN_ISSUES) | 50 KNOWN_INCOMPATIBLE['.'].extend(KNOWN_ISSUES) |
OLD | NEW |