Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / android_webview / tools / known_issues.py
blobae203fd2bed9e0b119d3978cfe1247e603e9e907
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
3 # found in the LICENSE file.
5 """List of directories which are known issues for Android WebView.
7 There are a number of directories in the Chromium tree which should be removed
8 when merging into Android. Some are for licensing reasons; others are to ensure
9 that the build inside the Android tree does not accidentally include the wrong
10 headers.
12 This is not used by the webview_licenses tool itself; it is effectively a
13 "cache" of the output of webview_licenses.GetIncompatibleDirectories() for the
14 subset of repositories that WebView needs.
16 We store a copy here because GetIncompatibleDirectories() doesn't work properly
17 after things have been removed from the tree - it can no longer see the
18 README.chromium files for previously-removed directories, but they may have
19 newly added files in them. As long as this list is up to date, we can remove the
20 things listed first, and then just run the tool afterwards to validate that it
21 was sufficient. If the tool returns any extra directories then the snapshotting
22 process will stop and this list must be updated.
24 """
26 # If there is a temporary license-related issue with a particular third_party
27 # directory, please put it here, with a comment linking to the bug entry.
29 # Please always use forward slashes '/' as path separators, even if you are
30 # on Windows.
31 KNOWN_ISSUES = [
34 KNOWN_INCOMPATIBLE = {
35 '.': [
36 # Incompatibly licensed code from the main chromium src/ directory.
37 'base/third_party/xdg_mime',
38 'breakpad',
39 'chrome/installer/mac/third_party/xz',
40 'chrome/test/data',
41 'third_party/apple_apsl',
42 'third_party/apple_sample_code',
43 'third_party/bsdiff',
44 'third_party/bspatch',
45 'third_party/elfutils',
46 'third_party/instrumented_libraries',
47 'third_party/liblouis',
48 'third_party/llvm',
49 'third_party/speech-dispatcher',
50 'third_party/sudden_motion_sensor',
51 'third_party/swiftshader',
52 'third_party/talloc',
53 'third_party/webdriver',
54 'third_party/wtl',
55 'tools/telemetry/third_party/websocket-client',
57 # Code we don't want to build/include by accident from the main chromium
58 # src/ directory.
59 'third_party/libjpeg/*.[ch]',
61 'third_party/icu': [
62 # Incompatible code from ICU's repository.
63 'source/data/brkitr',
67 KNOWN_INCOMPATIBLE['.'].extend(KNOWN_ISSUES)