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

Side by Side Diff: tools/verify_source_deps.py

Issue 2846883002: [tools] backport_node.py increments V8 version in target. (Closed)
Patch Set: sort imports Created 3 years, 7 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 | « tools/release/testdata/node/deps/v8/include/v8-version.h ('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 2015 the V8 project authors. All rights reserved. 2 # Copyright 2015 the V8 project 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 """ 6 """
7 Script to print potentially missing source dependencies based on the actual 7 Script to print potentially missing source dependencies based on the actual
8 .h and .cc files in the source tree and which files are included in the gyp 8 .h and .cc files in the source tree and which files are included in the gyp
9 and gn files. The latter inclusion is overapproximated. 9 and gn files. The latter inclusion is overapproximated.
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 os.path.join('test', 'common'), 49 os.path.join('test', 'common'),
50 os.path.join('test', 'fuzzer'), 50 os.path.join('test', 'fuzzer'),
51 os.path.join('test', 'unittests'), 51 os.path.join('test', 'unittests'),
52 os.path.join('test', 'inspector'), 52 os.path.join('test', 'inspector'),
53 os.path.join('test', 'mkgrokdump'), 53 os.path.join('test', 'mkgrokdump'),
54 ] 54 ]
55 55
56 GYP_UNSUPPORTED_FEATURES = [ 56 GYP_UNSUPPORTED_FEATURES = [
57 'gcmole', 57 'gcmole',
58 'setup-isolate-deserialize.cc', 58 'setup-isolate-deserialize.cc',
59 'v8-version.h'
59 ] 60 ]
60 61
61 GN_FILES = [ 62 GN_FILES = [
62 os.path.join(V8_BASE, 'BUILD.gn'), 63 os.path.join(V8_BASE, 'BUILD.gn'),
63 os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gmock', 'BUILD.gn'), 64 os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gmock', 'BUILD.gn'),
64 os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gtest', 'BUILD.gn'), 65 os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gtest', 'BUILD.gn'),
65 os.path.join(V8_BASE, 'src', 'inspector', 'BUILD.gn'), 66 os.path.join(V8_BASE, 'src', 'inspector', 'BUILD.gn'),
66 os.path.join(V8_BASE, 'test', 'cctest', 'BUILD.gn'), 67 os.path.join(V8_BASE, 'test', 'cctest', 'BUILD.gn'),
67 os.path.join(V8_BASE, 'test', 'unittests', 'BUILD.gn'), 68 os.path.join(V8_BASE, 'test', 'unittests', 'BUILD.gn'),
68 os.path.join(V8_BASE, 'test', 'inspector', 'BUILD.gn'), 69 os.path.join(V8_BASE, 'test', 'inspector', 'BUILD.gn'),
69 os.path.join(V8_BASE, 'test', 'mkgrokdump', 'BUILD.gn'), 70 os.path.join(V8_BASE, 'test', 'mkgrokdump', 'BUILD.gn'),
70 os.path.join(V8_BASE, 'tools', 'BUILD.gn'), 71 os.path.join(V8_BASE, 'tools', 'BUILD.gn'),
71 ] 72 ]
72 73
73 GN_UNSUPPORTED_FEATURES = [ 74 GN_UNSUPPORTED_FEATURES = [
74 'aix', 75 'aix',
75 'cygwin', 76 'cygwin',
76 'freebsd', 77 'freebsd',
77 'gcmole', 78 'gcmole',
78 'openbsd', 79 'openbsd',
79 'ppc', 80 'ppc',
80 'qnx', 81 'qnx',
81 'solaris', 82 'solaris',
82 'vtune', 83 'vtune',
84 'v8-version.h',
83 'x87', 85 'x87',
84 ] 86 ]
85 87
86 ALL_GN_PREFIXES = [ 88 ALL_GN_PREFIXES = [
87 '..', 89 '..',
88 os.path.join('src', 'inspector'), 90 os.path.join('src', 'inspector'),
89 'src', 91 'src',
90 'testing', 92 'testing',
91 os.path.join('test', 'cctest'), 93 os.path.join('test', 'cctest'),
92 os.path.join('test', 'unittests'), 94 os.path.join('test', 'unittests'),
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 for i in missing_gyp_files(): 179 for i in missing_gyp_files():
178 print i 180 print i
179 181
180 print "\n----------- Files not in gn: -------------" 182 print "\n----------- Files not in gn: -------------"
181 for i in missing_gn_files(): 183 for i in missing_gn_files():
182 print i 184 print i
183 return 0 185 return 0
184 186
185 if '__main__' == __name__: 187 if '__main__' == __name__:
186 sys.exit(main()) 188 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/release/testdata/node/deps/v8/include/v8-version.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698