| 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. |
| 11 LIBRARY_DEPENDENCIES_DEFAULT = { | 11 LIBRARY_DEPENDENCIES_DEFAULT = { |
| 12 'platform': [ | 12 'platform': [ |
| 13 'gio', | 13 'gio', |
| 14 ], | 14 ], |
| 15 'sel': [ | 15 'sel': [ |
| 16 'nacl_error_code', | 16 'nacl_error_code', |
| 17 'env_cleanser', | 17 'env_cleanser', |
| 18 'manifest_proxy', | 18 'manifest_proxy', |
| 19 'simple_service', | 19 'simple_service', |
| 20 'thread_interface', | 20 'thread_interface', |
| 21 'gio_wrapped_desc', | 21 'gio_wrapped_desc', |
| 22 'nonnacl_srpc', | 22 'nonnacl_srpc', |
| 23 'nrd_xfer', | 23 'nrd_xfer', |
| 24 'nacl_perf_counter', | 24 'nacl_perf_counter', |
| 25 'nacl_base', | 25 'nacl_base', |
| 26 'imc', | 26 'imc', |
| 27 'container', | |
| 28 'nacl_fault_inject', | 27 'nacl_fault_inject', |
| 29 'nacl_interval', | 28 'nacl_interval', |
| 30 'platform', | 29 'platform', |
| 31 'platform_qual_lib', | 30 'platform_qual_lib', |
| 32 'gio', | 31 'gio', |
| 33 'validators', | 32 'validators', |
| 34 ], | 33 ], |
| 35 'debug_stub': [ | 34 'debug_stub': [ |
| 36 'sel', | 35 'sel', |
| 37 ], | 36 ], |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 closure.append(library) | 237 closure.append(library) |
| 239 | 238 |
| 240 # Ideally we would just do "VisitList(libraries)" here, but some | 239 # Ideally we would just do "VisitList(libraries)" here, but some |
| 241 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" | 240 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" |
| 242 # twice in the link line, and we need to maintain these duplicates. | 241 # twice in the link line, and we need to maintain these duplicates. |
| 243 for library in reversed(libraries): | 242 for library in reversed(libraries): |
| 244 VisitLibrary(library) | 243 VisitLibrary(library) |
| 245 | 244 |
| 246 closure.reverse() | 245 closure.reverse() |
| 247 return closure | 246 return closure |
| OLD | NEW |