OLD | NEW |
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 'tools', | 46 'tools', |
47 os.path.join('test', 'cctest'), | 47 os.path.join('test', 'cctest'), |
48 os.path.join('test', 'common'), | 48 os.path.join('test', 'common'), |
49 os.path.join('test', 'fuzzer'), | 49 os.path.join('test', 'fuzzer'), |
50 os.path.join('test', 'unittests'), | 50 os.path.join('test', 'unittests'), |
51 os.path.join('test', 'inspector'), | 51 os.path.join('test', 'inspector'), |
52 ] | 52 ] |
53 | 53 |
54 GYP_UNSUPPORTED_FEATURES = [ | 54 GYP_UNSUPPORTED_FEATURES = [ |
55 'gcmole', | 55 'gcmole', |
| 56 'setup-isolate-deserialize.cc', |
56 ] | 57 ] |
57 | 58 |
58 GN_FILES = [ | 59 GN_FILES = [ |
59 os.path.join(V8_BASE, 'BUILD.gn'), | 60 os.path.join(V8_BASE, 'BUILD.gn'), |
60 os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gmock', 'BUILD.gn'), | 61 os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gmock', 'BUILD.gn'), |
61 os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gtest', 'BUILD.gn'), | 62 os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gtest', 'BUILD.gn'), |
62 os.path.join(V8_BASE, 'src', 'inspector', 'BUILD.gn'), | 63 os.path.join(V8_BASE, 'src', 'inspector', 'BUILD.gn'), |
63 os.path.join(V8_BASE, 'test', 'cctest', 'BUILD.gn'), | 64 os.path.join(V8_BASE, 'test', 'cctest', 'BUILD.gn'), |
64 os.path.join(V8_BASE, 'test', 'unittests', 'BUILD.gn'), | 65 os.path.join(V8_BASE, 'test', 'unittests', 'BUILD.gn'), |
65 os.path.join(V8_BASE, 'test', 'inspector', 'BUILD.gn'), | 66 os.path.join(V8_BASE, 'test', 'inspector', 'BUILD.gn'), |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 for i in missing_gyp_files(): | 173 for i in missing_gyp_files(): |
173 print i | 174 print i |
174 | 175 |
175 print "\n----------- Files not in gn: -------------" | 176 print "\n----------- Files not in gn: -------------" |
176 for i in missing_gn_files(): | 177 for i in missing_gn_files(): |
177 print i | 178 print i |
178 return 0 | 179 return 0 |
179 | 180 |
180 if '__main__' == __name__: | 181 if '__main__' == __name__: |
181 sys.exit(main()) | 182 sys.exit(main()) |
OLD | NEW |