| 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 24 matching lines...) Expand all Loading... |
| 35 'sel', | 35 'sel', |
| 36 ], | 36 ], |
| 37 'sel_main_chrome': [ | 37 'sel_main_chrome': [ |
| 38 'sel', | 38 'sel', |
| 39 'debug_stub', | 39 'debug_stub', |
| 40 ], | 40 ], |
| 41 'sel_main': [ | 41 'sel_main': [ |
| 42 'sel', | 42 'sel', |
| 43 'debug_stub', | 43 'debug_stub', |
| 44 ], | 44 ], |
| 45 'serialization': [ |
| 46 'platform', |
| 47 ], |
| 45 'testrunner_browser': [ | 48 'testrunner_browser': [ |
| 46 'ppapi', | 49 'ppapi', |
| 47 ], | 50 ], |
| 48 'arm_validator_core': [ | 51 'arm_validator_core': [ |
| 49 'cpu_features', | 52 'cpu_features', |
| 50 ], | 53 ], |
| 51 } | 54 } |
| 52 | 55 |
| 53 # Untrusted only library dependencies. | 56 # Untrusted only library dependencies. |
| 54 # Include names here that otherwise clash with trusted names. | 57 # Include names here that otherwise clash with trusted names. |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 closure.append(library) | 242 closure.append(library) |
| 240 | 243 |
| 241 # Ideally we would just do "VisitList(libraries)" here, but some | 244 # Ideally we would just do "VisitList(libraries)" here, but some |
| 242 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" | 245 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" |
| 243 # twice in the link line, and we need to maintain these duplicates. | 246 # twice in the link line, and we need to maintain these duplicates. |
| 244 for library in reversed(libraries): | 247 for library in reversed(libraries): |
| 245 VisitLibrary(library) | 248 VisitLibrary(library) |
| 246 | 249 |
| 247 closure.reverse() | 250 closure.reverse() |
| 248 return closure | 251 return closure |
| OLD | NEW |