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

Side by Side Diff: src/untrusted/irt/shim_generator.gyp

Issue 10826171: Incorporate shimming into the irt (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 3 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
« src/untrusted/irt/nacl.scons ('K') | « src/untrusted/irt/shim_dummy.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 # Copyright 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This builds the PNaCl IRT shim which part of the irt
6 # Since it is built by nacl-gcc, it will be in the nacl-gcc build.
7
8 {
9 'variables': {
10 # Define p2p_apis for ppapi_sources.gypi,
11 # in case it wasn't already defined.
12 # Somehow other gyp files get away with not defining this.
13 'p2p_apis': 1,
14 'glob_files': [
15 '>(python_exe)', '<(DEPTH)/native_client/build/gyp_glob.py',
16 ],
17 },
18 'includes': [
19 '../../../build/common.gypi',
20 '../../../../ppapi/ppapi_sources.gypi',
21 ],
22 'targets' : [{
23 'target_name': 'shim_generated_source',
24 'type': 'none',
25 'actions' : [{
26 'action_name': 'generate_shim_source',
27 'msvs_cygwin_shell': 0,
28 'description': 'generating the pnacl IRT shim',
29 'inputs': [
30 # Potentially all python scripts in the generators directory.
Nick Bray (chromium) 2012/08/27 23:00:02 The globbing isn't thrilling, but we realize its i
31 '>!@(<(glob_files) ../../../../ppapi/generators/ *.py)',
32 # Potentially all IDL files in the API and DEV-API directory.
33 '>!@(<(glob_files) ../../../../ppapi/api/ *.idl)',
34 '>!@(<(glob_files) ../../../../ppapi/api/dev/ *.idl)',
35 ],
36 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/pnacl_shim.c', ],
37 'action': [
38 '>(python_exe)',
39 '../../../../ppapi/generators/generator.py',
Nick Bray (chromium) 2012/08/27 23:00:02 Note how everything here (including the generator
40 '--srcroot=api',
41 '--wnone',
42 '--pnacl',
43 '--pnaclshim=<(SHARED_INTERMEDIATE_DIR)/pnacl_shim.c',
44 '<@(_inputs)',
45 ],
46 },],
47 },],
48 }
OLDNEW
« src/untrusted/irt/nacl.scons ('K') | « src/untrusted/irt/shim_dummy.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698