| 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 15 matching lines...) Expand all Loading... |
| 26 os.path.join(V8_BASE, 'src', 'v8.gyp'), | 26 os.path.join(V8_BASE, 'src', 'v8.gyp'), |
| 27 os.path.join(V8_BASE, 'src', 'inspector', 'inspector.gypi'), | 27 os.path.join(V8_BASE, 'src', 'inspector', 'inspector.gypi'), |
| 28 os.path.join(V8_BASE, 'src', 'third_party', 'vtune', 'v8vtune.gyp'), | 28 os.path.join(V8_BASE, 'src', 'third_party', 'vtune', 'v8vtune.gyp'), |
| 29 os.path.join(V8_BASE, 'samples', 'samples.gyp'), | 29 os.path.join(V8_BASE, 'samples', 'samples.gyp'), |
| 30 os.path.join(V8_BASE, 'test', 'cctest', 'cctest.gyp'), | 30 os.path.join(V8_BASE, 'test', 'cctest', 'cctest.gyp'), |
| 31 os.path.join(V8_BASE, 'test', 'fuzzer', 'fuzzer.gyp'), | 31 os.path.join(V8_BASE, 'test', 'fuzzer', 'fuzzer.gyp'), |
| 32 os.path.join(V8_BASE, 'test', 'unittests', 'unittests.gyp'), | 32 os.path.join(V8_BASE, 'test', 'unittests', 'unittests.gyp'), |
| 33 os.path.join(V8_BASE, 'test', 'inspector', 'inspector.gyp'), | 33 os.path.join(V8_BASE, 'test', 'inspector', 'inspector.gyp'), |
| 34 os.path.join(V8_BASE, 'testing', 'gmock.gyp'), | 34 os.path.join(V8_BASE, 'testing', 'gmock.gyp'), |
| 35 os.path.join(V8_BASE, 'testing', 'gtest.gyp'), | 35 os.path.join(V8_BASE, 'testing', 'gtest.gyp'), |
| 36 os.path.join(V8_BASE, 'tools', 'mkgrokdump.gyp'), |
| 36 os.path.join(V8_BASE, 'tools', 'parser-shell.gyp'), | 37 os.path.join(V8_BASE, 'tools', 'parser-shell.gyp'), |
| 37 ] | 38 ] |
| 38 | 39 |
| 39 ALL_GYP_PREFIXES = [ | 40 ALL_GYP_PREFIXES = [ |
| 40 '..', | 41 '..', |
| 41 'common', | 42 'common', |
| 42 os.path.join('src', 'third_party', 'vtune'), | 43 os.path.join('src', 'third_party', 'vtune'), |
| 43 'src', | 44 'src', |
| 44 'samples', | 45 'samples', |
| 45 'testing', | 46 'testing', |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 for i in missing_gyp_files(): | 174 for i in missing_gyp_files(): |
| 174 print i | 175 print i |
| 175 | 176 |
| 176 print "\n----------- Files not in gn: -------------" | 177 print "\n----------- Files not in gn: -------------" |
| 177 for i in missing_gn_files(): | 178 for i in missing_gn_files(): |
| 178 print i | 179 print i |
| 179 return 0 | 180 return 0 |
| 180 | 181 |
| 181 if '__main__' == __name__: | 182 if '__main__' == __name__: |
| 182 sys.exit(main()) | 183 sys.exit(main()) |
| OLD | NEW |