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

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

Issue 19571003: IRT: Replace __attribute__((constructor)) with explicit call in _start() (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix + cleanup Created 7 years, 5 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
« no previous file with comments | « no previous file | src/untrusted/irt/irt.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « no previous file | src/untrusted/irt/irt.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698