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