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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 # For CHECK(...) | 76 # For CHECK(...) |
77 'platform', | 77 'platform', |
78 ], | 78 ], |
79 'untrusted_crash_dump': [ | 79 'untrusted_crash_dump': [ |
80 'nacl_exception', | 80 'nacl_exception', |
81 ], | 81 ], |
82 'minidump_generator': [ | 82 'minidump_generator': [ |
83 'nacl_exception', | 83 'nacl_exception', |
84 'pthread', | 84 'pthread', |
85 ], | 85 ], |
| 86 'irt_support_private': [ |
| 87 'srpc', |
| 88 'platform', |
| 89 ], |
86 } | 90 } |
87 | 91 |
88 # Untrusted only library dependencies. | 92 # Untrusted only library dependencies. |
89 # Include names here that otherwise clash with trusted names. | 93 # Include names here that otherwise clash with trusted names. |
90 UNTRUSTED_LIBRARY_DEPENDENCIES = { | 94 UNTRUSTED_LIBRARY_DEPENDENCIES = { |
91 'ppapi_cpp': [ | 95 'ppapi_cpp': [ |
92 'ppapi', | 96 'ppapi', |
93 ], | 97 ], |
94 } | 98 } |
95 | 99 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 closure.append(library) | 280 closure.append(library) |
277 | 281 |
278 # Ideally we would just do "VisitList(libraries)" here, but some | 282 # Ideally we would just do "VisitList(libraries)" here, but some |
279 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" | 283 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" |
280 # twice in the link line, and we need to maintain these duplicates. | 284 # twice in the link line, and we need to maintain these duplicates. |
281 for library in reversed(libraries): | 285 for library in reversed(libraries): |
282 VisitLibrary(library) | 286 VisitLibrary(library) |
283 | 287 |
284 closure.reverse() | 288 closure.reverse() |
285 return closure | 289 return closure |
OLD | NEW |