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 """Simple harness for defining library dependencies for scons files.""" | 5 """Simple 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 'ncval_seg_sfi_x86_32': [ | 82 'ncval_seg_sfi_x86_32': [ |
83 'nccopy_x86_32', | 83 'nccopy_x86_32', |
84 'ncdis_seg_sfi_x86_32', | 84 'ncdis_seg_sfi_x86_32', |
85 'ncval_base_x86_32', | 85 'ncval_base_x86_32', |
86 # When turning on the DEBUGGING flag in the x86-32 validator | 86 # When turning on the DEBUGGING flag in the x86-32 validator |
87 # or decoder, add the following: | 87 # or decoder, add the following: |
88 #'nc_opcode_modeling_verbose_x86_32', | 88 #'nc_opcode_modeling_verbose_x86_32', |
89 ], | 89 ], |
90 'sel': [ | 90 'sel': [ |
91 'ncvalidate_x86_32', | 91 'ncvalidate_x86_32', |
| 92 'dfa_validate_caller_x86_32', |
| 93 'dfa_validate_x86_32', |
92 ], | 94 ], |
93 }, | 95 }, |
94 'x86-64': { | 96 'x86-64': { |
95 'nc_decoder_x86_64': [ | 97 'nc_decoder_x86_64': [ |
96 'ncval_base_x86_64', | 98 'ncval_base_x86_64', |
97 'nc_opcode_modeling_x86_64', | 99 'nc_opcode_modeling_x86_64', |
98 # When turning on the DEBUGGING flag in the x86-64 validator | 100 # When turning on the DEBUGGING flag in the x86-64 validator |
99 # or decoder, add the following: | 101 # or decoder, add the following: |
100 #'nc_opcode_modeling_verbose_x86_64', | 102 #'nc_opcode_modeling_verbose_x86_64', |
101 ], | 103 ], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 'ncval_base_x86_64', | 138 'ncval_base_x86_64', |
137 'nc_decoder_x86_64', | 139 'nc_decoder_x86_64', |
138 ], | 140 ], |
139 'ncval_seg_sfi_x86_64': [ | 141 'ncval_seg_sfi_x86_64': [ |
140 'nccopy_x86_64', | 142 'nccopy_x86_64', |
141 'ncdis_seg_sfi_x86_64', | 143 'ncdis_seg_sfi_x86_64', |
142 'ncval_base_x86_64', | 144 'ncval_base_x86_64', |
143 ], | 145 ], |
144 'sel': [ | 146 'sel': [ |
145 'ncvalidate_x86_64', | 147 'ncvalidate_x86_64', |
| 148 'dfa_validate_caller_x86_64', |
| 149 'dfa_validate_x86_64', |
146 ], | 150 ], |
147 }, | 151 }, |
148 'arm': { | 152 'arm': { |
149 'ncvalidate_arm_v2': [ | 153 'ncvalidate_arm_v2': [ |
150 'arm_validator_core', | 154 'arm_validator_core', |
151 ], | 155 ], |
152 'sel': [ | 156 'sel': [ |
153 'ncvalidate_arm_v2', | 157 'ncvalidate_arm_v2', |
154 ], | 158 ], |
155 }, | 159 }, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 closure.append(library) | 195 closure.append(library) |
192 | 196 |
193 # Ideally we would just do "VisitList(libraries)" here, but some | 197 # Ideally we would just do "VisitList(libraries)" here, but some |
194 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" | 198 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" |
195 # twice in the link line, and we need to maintain these duplicates. | 199 # twice in the link line, and we need to maintain these duplicates. |
196 for library in reversed(libraries): | 200 for library in reversed(libraries): |
197 VisitLibrary(library) | 201 VisitLibrary(library) |
198 | 202 |
199 closure.reverse() | 203 closure.reverse() |
200 return closure | 204 return closure |
OLD | NEW |