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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 'serialization': [ | 69 'serialization': [ |
70 'platform', | 70 'platform', |
71 ], | 71 ], |
72 'testrunner_browser': [ | 72 'testrunner_browser': [ |
73 'ppapi', | 73 'ppapi', |
74 ], | 74 ], |
75 'validation_cache': [ | 75 'validation_cache': [ |
76 # For CHECK(...) | 76 # For CHECK(...) |
77 'platform', | 77 'platform', |
78 ], | 78 ], |
| 79 'untrusted_crash_dump': [ |
| 80 'nacl_exception', |
| 81 ], |
79 'minidump_generator': [ | 82 'minidump_generator': [ |
| 83 'nacl_exception', |
80 'pthread', | 84 'pthread', |
81 ], | 85 ], |
82 } | 86 } |
83 | 87 |
84 # Untrusted only library dependencies. | 88 # Untrusted only library dependencies. |
85 # Include names here that otherwise clash with trusted names. | 89 # Include names here that otherwise clash with trusted names. |
86 UNTRUSTED_LIBRARY_DEPENDENCIES = { | 90 UNTRUSTED_LIBRARY_DEPENDENCIES = { |
87 'ppapi_cpp': [ | 91 'ppapi_cpp': [ |
88 'ppapi', | 92 'ppapi', |
89 ], | 93 ], |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 closure.append(library) | 276 closure.append(library) |
273 | 277 |
274 # Ideally we would just do "VisitList(libraries)" here, but some | 278 # Ideally we would just do "VisitList(libraries)" here, but some |
275 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" | 279 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" |
276 # twice in the link line, and we need to maintain these duplicates. | 280 # twice in the link line, and we need to maintain these duplicates. |
277 for library in reversed(libraries): | 281 for library in reversed(libraries): |
278 VisitLibrary(library) | 282 VisitLibrary(library) |
279 | 283 |
280 closure.reverse() | 284 closure.reverse() |
281 return closure | 285 return closure |
OLD | NEW |