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

Side by Side Diff: tools/check_ecs_deps/check_ecs_deps.py

Issue 509323004: ozone: Whitelist some libs for the embedded build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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
« no previous file with comments | « third_party/harfbuzz-ng/harfbuzz.gyp ('k') | no next file » | 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/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 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 ''' Verifies that builds of the embedded content_shell do not included 6 ''' Verifies that builds of the embedded content_shell do not included
7 unnecessary dependencies.''' 7 unnecessary dependencies.'''
8 8
9 import os 9 import os
10 import re 10 import re
(...skipping 21 matching lines...) Expand all
32 'libffi', 32 'libffi',
33 'libgconf', 33 'libgconf',
34 'libgio', 34 'libgio',
35 'libglib', 35 'libglib',
36 'libgmodule', 36 'libgmodule',
37 'libgobject', 37 'libgobject',
38 'libpango', 38 'libpango',
39 'libpcre', 39 'libpcre',
40 'libpixman', 40 'libpixman',
41 'libpng', 41 'libpng',
42 'libresolv',
43 'libselinux', 42 'libselinux',
44 'libudev', 43 'libudev',
45 'libxcb', 44 'libxcb',
46 ] 45 ]
47 46
48 kAllowedLibraryList = [ 47 kAllowedLibraryList = [
49 # Toolchain libraries (gcc/glibc) 48 # Toolchain libraries (gcc/glibc)
50 'ld-linux', 49 'ld-linux',
51 'libc', 50 'libc',
52 'libdl', 51 'libdl',
53 'libgcc_s', 52 'libgcc_s',
54 'libm', 53 'libm',
55 'libpthread', 54 'libpthread',
55 'libresolv',
56 'librt', 56 'librt',
57 'libstdc++', 57 'libstdc++',
58 'linux-vdso', 58 'linux-vdso',
59 59
60 # Needed for default ozone platforms 60 # Needed for default ozone platforms
61 'libdrm', 61 'libdrm',
62 62
63 # NSS & NSPR 63 # NSS & NSPR
64 'libnss3', 64 'libnss3',
65 'libnssutil3', 65 'libnssutil3',
66 'libnspr4', 66 'libnspr4',
67 'libplc4', 67 'libplc4',
68 'libplds4', 68 'libplds4',
69 'libsmime3', 69 'libsmime3',
70 70
71 # OpenSSL
72 'libcrypto',
73
71 # Miscellaneous 74 # Miscellaneous
72 'libcap', 75 'libcap',
73 'libexpat', 76 'libexpat',
74 'libfontconfig', 77 'libfontconfig',
75 'libz', 78 'libz',
76 ] 79 ]
77 80
78 binary_target = 'content_shell' 81 binary_target = 'content_shell'
79 82
80 def stdmsg(_final, errors): 83 def stdmsg(_final, errors):
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 output['ok'](None) 196 output['ok'](None)
194 return 0 197 return 0
195 else: 198 else:
196 output['fail'](None) 199 output['fail'](None)
197 return 1 200 return 1
198 201
199 if __name__ == "__main__": 202 if __name__ == "__main__":
200 # handle arguments... 203 # handle arguments...
201 # do something reasonable if not run with one... 204 # do something reasonable if not run with one...
202 sys.exit(_main()) 205 sys.exit(_main())
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/harfbuzz.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698