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

Side by Side Diff: src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp

Issue 8776023: Switch the nop pnacl x86-64 IRT shim to the real one generated from IDL. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 9 years 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
(Empty)
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
robertm 2011/12/01 22:55:43 let's move the gyp stuff to a different CL
jvoung - send to chromium... 2011/12/01 23:35:34 Done.
3 # found in the LICENSE file.
4
5 # TODO(jvoung): Enable this in build/all.gyp when bug described below
6 # is fixed.
7
8 {
9 'includes': [
10 '../../../build/common.gypi',
11 ],
12 'conditions': [
13 # This library is only for x86-64 for now.
14 ['target_arch=="x64" or OS=="win"', {
15 'targets' : [
16 {
17 'target_name': 'shim_generated_source',
18 'type': 'none',
19 'actions' : [
20 {
21 'action_name': 'generate_shim_source',
22 'inputs': [
23 '<(DEPTH)/ppapi/generators/generator.py',
24 ],
25 'outputs': [
26 '<(INTERMEDIATE_DIR)/pnacl_shim.c',
27 ],
28 'action': [
29 '>(python_exe)',
30 '<@(_inputs)',
31 '--srcroot=<(DEPTH)/ppapi/api',
32 '--wnone',
33 '--pnacl',
34 '--pnaclshim=<@(_outputs)',
35 ],
36 },
37 ],
38 },
39 {
40 'target_name': 'pnacl_irt_shim_lib',
41 'type': 'none',
42 'variables': {
43 'nlib_target': 'libpnacl_irt_shim.a',
44 'build_glibc': 1,
45 'build_newlib': 1,
46 'sources': ['shim_entry.c',
47 'shim_ppapi.c',
48 # TODO(jvoung): This doesn't quite work yet -- gyp needs to know how
49 # to include the generated C file in the list of sources, and we
50 # need to explicitly list out the header dependencies (since we can't
51 # run the generator during the first pass of gyp -- in gclient runhooks).
52 # I.e., we can't run the "scan_sources.py" on the generated file during
53 # gclient runhooks, since the generated file doesn't exist yet.
54 '<(INTERMEDIATE_DIR)/pnacl_shim.c']
55 },
56 'dependencies': [
57 'shim_generated_source',
58 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
59 ],
60 },
61 ],
62 }],
63 ],
64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698