Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: site_scons/site_tools/library_deps.py

Issue 12600034: Provide metadata to validator to allow faster caching. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: First fixes Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 'sel_main': [ 47 'sel_main': [
48 'sel', 48 'sel',
49 'debug_stub', 49 'debug_stub',
50 ], 50 ],
51 'serialization': [ 51 'serialization': [
52 'platform', 52 'platform',
53 ], 53 ],
54 'testrunner_browser': [ 54 'testrunner_browser': [
55 'ppapi', 55 'ppapi',
56 ], 56 ],
57 'validation_cache': [
58 # For CHECK(...)
59 'platform',
60 ],
57 } 61 }
58 62
59 # Untrusted only library dependencies. 63 # Untrusted only library dependencies.
60 # Include names here that otherwise clash with trusted names. 64 # Include names here that otherwise clash with trusted names.
61 UNTRUSTED_LIBRARY_DEPENDENCIES = { 65 UNTRUSTED_LIBRARY_DEPENDENCIES = {
62 'ppapi_cpp': [ 66 'ppapi_cpp': [
63 'ppapi', 67 'ppapi',
64 ], 68 ],
65 } 69 }
66 70
(...skipping 22 matching lines...) Expand all
89 'ncvalidate_x86_32': [ 93 'ncvalidate_x86_32': [
90 'ncval_seg_sfi_x86_32', 94 'ncval_seg_sfi_x86_32',
91 'cpu_features', 95 'cpu_features',
92 ], 96 ],
93 'ncval_base_verbose_x86_32': [ 97 'ncval_base_verbose_x86_32': [
94 'ncval_base_x86_32', 98 'ncval_base_x86_32',
95 ], 99 ],
96 'ncval_base_x86_32': [ 100 'ncval_base_x86_32': [
97 'platform', 101 'platform',
98 'cpu_features', 102 'cpu_features',
103 'validation_cache',
99 ], 104 ],
100 'nc_opcode_modeling_verbose_x86_32': [ 105 'nc_opcode_modeling_verbose_x86_32': [
101 'nc_opcode_modeling_x86_32', 106 'nc_opcode_modeling_x86_32',
102 'ncval_base_verbose_x86_32', 107 'ncval_base_verbose_x86_32',
103 ], 108 ],
104 'nc_opcode_modeling_x86_32': [ 109 'nc_opcode_modeling_x86_32': [
105 'ncval_base_x86_32', 110 'ncval_base_x86_32',
106 ], 111 ],
107 'ncval_reg_sfi_verbose_x86_32': [ 112 'ncval_reg_sfi_verbose_x86_32': [
108 'ncval_reg_sfi_x86_32', 113 'ncval_reg_sfi_x86_32',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 'ncvalidate_x86_64': [ 154 'ncvalidate_x86_64': [
150 'ncval_reg_sfi_x86_64', 155 'ncval_reg_sfi_x86_64',
151 'cpu_features', 156 'cpu_features',
152 ], 157 ],
153 'ncval_base_verbose_x86_64': [ 158 'ncval_base_verbose_x86_64': [
154 'ncval_base_x86_64', 159 'ncval_base_x86_64',
155 ], 160 ],
156 'ncval_base_x86_64': [ 161 'ncval_base_x86_64': [
157 'platform', 162 'platform',
158 'cpu_features', 163 'cpu_features',
164 'validation_cache',
159 ], 165 ],
160 'nc_opcode_modeling_verbose_x86_64': [ 166 'nc_opcode_modeling_verbose_x86_64': [
161 'nc_opcode_modeling_x86_64', 167 'nc_opcode_modeling_x86_64',
162 'ncval_base_verbose_x86_64', 168 'ncval_base_verbose_x86_64',
163 ], 169 ],
164 'nc_opcode_modeling_x86_64': [ 170 'nc_opcode_modeling_x86_64': [
165 'ncval_base_x86_64', 171 'ncval_base_x86_64',
166 ], 172 ],
167 'ncval_reg_sfi_verbose_x86_64': [ 173 'ncval_reg_sfi_verbose_x86_64': [
168 'ncval_reg_sfi_x86_64', 174 'ncval_reg_sfi_x86_64',
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 closure.append(library) 251 closure.append(library)
246 252
247 # Ideally we would just do "VisitList(libraries)" here, but some 253 # Ideally we would just do "VisitList(libraries)" here, but some
248 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp" 254 # PPAPI tests (specifically, tests/ppapi_gles_book) list "ppapi_cpp"
249 # twice in the link line, and we need to maintain these duplicates. 255 # twice in the link line, and we need to maintain these duplicates.
250 for library in reversed(libraries): 256 for library in reversed(libraries):
251 VisitLibrary(library) 257 VisitLibrary(library)
252 258
253 closure.reverse() 259 closure.reverse()
254 return closure 260 return closure
OLDNEW
« no previous file with comments | « no previous file | src/tools/validator_tools/ncstubout.c » ('j') | src/trusted/validator/validator.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698