| OLD | NEW |
| 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Harness for defining library dependencies for scons files.""" | 5 """Harness for defining library dependencies for scons files.""" |
| 6 | 6 |
| 7 | 7 |
| 8 # The following is a map from a library, to the corresponding | 8 # The following is a map from a library, to the corresponding |
| 9 # list of dependent libraries that must be included after that library, in | 9 # list of dependent libraries that must be included after that library, in |
| 10 # the list of libraries. | 10 # the list of libraries. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 'validation_cache': [ | 67 'validation_cache': [ |
| 68 # For CHECK(...) | 68 # For CHECK(...) |
| 69 'platform', | 69 'platform', |
| 70 ], | 70 ], |
| 71 'irt_support_private': [ | 71 'irt_support_private': [ |
| 72 'platform', | 72 'platform', |
| 73 ], | 73 ], |
| 74 'pnacl_dynloader': [ | 74 'pnacl_dynloader': [ |
| 75 'platform', | 75 'platform', |
| 76 ], | 76 ], |
| 77 'pll_loader': [ | 77 'pll_loader_lib': [ |
| 78 'platform', | 78 'platform', |
| 79 'pnacl_dynloader', | 79 'pnacl_dynloader', |
| 80 ], | 80 ], |
| 81 } | 81 } |
| 82 | 82 |
| 83 # Untrusted only library dependencies. | 83 # Untrusted only library dependencies. |
| 84 # Include names here that otherwise clash with trusted names. | 84 # Include names here that otherwise clash with trusted names. |
| 85 UNTRUSTED_LIBRARY_DEPENDENCIES = { | 85 UNTRUSTED_LIBRARY_DEPENDENCIES = { |
| 86 'ppapi_cpp': [ | 86 'ppapi_cpp': [ |
| 87 'ppapi', | 87 'ppapi', |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 closure.append(library) | 166 closure.append(library) |
| 167 | 167 |
| 168 # Ideally we would just do "VisitList(libraries)" here, but some | 168 # Ideally we would just do "VisitList(libraries)" here, but some |
| 169 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" | 169 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" |
| 170 # twice in the link line, and we need to maintain these duplicates. | 170 # twice in the link line, and we need to maintain these duplicates. |
| 171 for library in reversed(libraries): | 171 for library in reversed(libraries): |
| 172 VisitLibrary(library) | 172 VisitLibrary(library) |
| 173 | 173 |
| 174 closure.reverse() | 174 closure.reverse() |
| 175 return closure | 175 return closure |
| OLD | NEW |