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: tools.gyp

Issue 9816003: GYP build for ARM untrusted runtime. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 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
« src/untrusted/irt/irt.gyp ('K') | « src/untrusted/pthread/pthread.gyp ('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')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 { 5 {
6 ###################################################################### 6 ######################################################################
7 'includes': [ 7 'includes': [
8 'build/common.gypi', 8 'build/common.gypi',
9 ], 9 ],
10 ###################################################################### 10 ######################################################################
11 'conditions': [ 11 'targets' : [
12 ['target_arch!="arm"', { 12 {
13 'targets' : [ 13 'target_name': 'prep_toolchain',
14 'type': 'none',
15 'conditions': [
16 ['target_arch=="ia32"', {
17 'dependencies': [
18 'crt_init_32',
19 'crt_fini_32',
20 ],
21 }],
22 ['target_arch=="x64" or OS=="win"', {
23 'dependencies': [
24 'crt_init_64',
25 'crt_fini_64',
26 ],
27 }],
28 ],
29 },
30 {
31 'target_name': 'copy_headers',
32 'type': 'none',
33 'actions': [
14 { 34 {
15 'target_name': 'prep_toolchain', 35 'action_name': 'Install crt1.o 32',
16 'type': 'none', 36 'msvs_cygwin_shell': 0,
17 'conditions': [ 37 'description': 'Install crt1.o 32',
18 ['target_arch=="ia32"', { 38 'inputs': [
19 'dependencies': [ 39 'src/untrusted/stubs/crt1.x',
Mark Seaborn 2012/03/28 07:21:02 Fix the indentation here, please
Nikolay 2012/03/28 13:24:23 Done.
20 'crt_init_32', 40 ],
21 'crt_fini_32', 41 'outputs': [
22 ], 42 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/32/crt1.o',
23 }], 43 ],
24 ['target_arch=="x64" or OS=="win"', { 44 'action': [
25 'dependencies': [ 45 '>(python_exe)',
26 'crt_init_64', 46 '<(DEPTH)/native_client/build/copy_sources.py',
27 'crt_fini_64', 47 'src/untrusted/stubs/crt1.x',
28 ], 48 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/32/crt1.o',
29 }],
30 ], 49 ],
31 }, 50 },
32 { 51 {
33 'target_name': 'copy_headers', 52 'action_name': 'Install crt1.o 64',
34 'type': 'none', 53 'msvs_cygwin_shell': 0,
35 'actions': [ 54 'description': 'Install crt1.o 64',
36 { 55 'inputs': [
37 'action_name': 'Install crt1.o 32', 56 'src/untrusted/stubs/crt1.x',
38 'msvs_cygwin_shell': 0, 57 ],
39 'description': 'Install crt1.o 32', 58 'outputs': [
40 'inputs': [ 59 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/crt1.o',
41 'src/untrusted/stubs/crt1.x', 60 ],
42 ], 61 'action': [
43 'outputs': [ 62 '>(python_exe)',
44 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/32/crt1.o', 63 '<(DEPTH)/native_client/build/copy_sources.py',
45 ], 64 'src/untrusted/stubs/crt1.x',
46 'action': [ 65 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/crt1.o',
47 '>(python_exe)', 66 ],
48 '<(DEPTH)/native_client/build/copy_sources.py', 67 },
49 'src/untrusted/stubs/crt1.x', 68 ],
50 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/32/crt1.o', 69 'copies': [
51 ], 70 # NEWLIB copies
52 }, 71 {
53 { 72 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/include/nacl',
54 'action_name': 'Install crt1.o 64', 73 # Alphabetical order in dst dir for easier verification.
55 'msvs_cygwin_shell': 0, 74 'files': [
56 'description': 'Install crt1.o 64', 75 '<(DEPTH)/native_client/src/trusted/weak_ref/call_on_main_thread.h',
57 'inputs': [ 76 '<(DEPTH)/native_client/src/shared/platform/nacl_check.h',
58 'src/untrusted/stubs/crt1.x', 77 '<(DEPTH)/native_client/src/untrusted/nacl/nacl_dyncode.h',
59 ], 78 '<(DEPTH)/native_client/src/untrusted/ppapi/nacl_file.h',
60 'outputs': [ 79 '<(DEPTH)/native_client/src/shared/imc/nacl_imc_c.h',
61 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/crt1.o', 80 '<(DEPTH)/native_client/src/shared/imc/nacl_imc.h',
62 ], 81 '<(DEPTH)/native_client/src/include/nacl/nacl_inttypes.h',
63 'action': [ 82 '<(DEPTH)/native_client/src/shared/platform/nacl_log.h',
64 '>(python_exe)', 83 '<(DEPTH)/native_client/src/shared/srpc/nacl_srpc.h',
65 '<(DEPTH)/native_client/build/copy_sources.py', 84 '<(DEPTH)/native_client/src/shared/platform/nacl_threads.h',
66 'src/untrusted/stubs/crt1.x', 85 '<(DEPTH)/ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h',
67 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/crt1.o', 86 '<(DEPTH)/native_client/src/shared/platform/refcount_base.h',
68 ], 87 '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.h'
69 },
70 ],
71 'copies': [
72 # NEWLIB copies
73 {
74 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/include/nacl' ,
75 # Alphabetical order in dst dir for easier verification.
76 'files': [
77 '<(DEPTH)/native_client/src/trusted/weak_ref/call_on_main_thread .h',
78 '<(DEPTH)/native_client/src/shared/platform/nacl_check.h',
79 '<(DEPTH)/native_client/src/untrusted/nacl//nacl_dyncode.h',
80 '<(DEPTH)/native_client/src/untrusted/ppapi/nacl_file.h',
81 '<(DEPTH)/native_client/src/shared/imc/nacl_imc_c.h',
82 '<(DEPTH)/native_client/src/shared/imc/nacl_imc.h',
83 '<(DEPTH)/native_client/src/include/nacl/nacl_inttypes.h',
84 '<(DEPTH)/native_client/src/shared/platform/nacl_log.h',
85 '<(DEPTH)/native_client/src/shared/srpc/nacl_srpc.h',
86 '<(DEPTH)/native_client/src/shared/platform/nacl_threads.h',
87 '<(DEPTH)/ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h ',
88 '<(DEPTH)/native_client/src/shared/platform/refcount_base.h',
89 '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.h'
90 ],
91 },
92 {
93 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/include',
94 'files': [
95 '<(DEPTH)/native_client/src/untrusted/pthread/pthread.h',
96 '<(DEPTH)/native_client/src/untrusted/pthread/semaphore.h'
97 ],
98 },
99 # GLIBC copies
100 {
101 # Alphabetical order in dst dir for easier verification.
102 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/include/nacl',
103 'files': [
104 '<(DEPTH)/native_client/src/trusted/weak_ref/call_on_main_thread .h',
105 '<(DEPTH)/native_client/src/shared/platform/nacl_check.h',
106 '<(DEPTH)/native_client/src/untrusted/ppapi/nacl_file.h',
107 '<(DEPTH)/native_client/src/shared/imc/nacl_imc.h',
108 '<(DEPTH)/native_client/src/include/nacl/nacl_inttypes.h',
109 '<(DEPTH)/native_client/src/shared/platform/nacl_log.h',
110 '<(DEPTH)/native_client/src/shared/srpc/nacl_srpc.h',
111 '<(DEPTH)/native_client/src/shared/platform/nacl_threads.h',
112 '<(DEPTH)/ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h ',
113 '<(DEPTH)/native_client/src/shared/platform/refcount_base.h',
114 '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.h'
115 ],
116 },
117 ], 88 ],
118 }, 89 },
119 ], 90 {
120 }], 91 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/include',
92 'files': [
93 '<(DEPTH)/native_client/src/untrusted/pthread/pthread.h',
94 '<(DEPTH)/native_client/src/untrusted/pthread/semaphore.h'
95 ],
96 },
97 # GLIBC copies
98 {
99 # Alphabetical order in dst dir for easier verification.
100 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/include/nacl',
101 'files': [
102 '<(DEPTH)/native_client/src/trusted/weak_ref/call_on_main_thread.h',
103 '<(DEPTH)/native_client/src/shared/platform/nacl_check.h',
104 '<(DEPTH)/native_client/src/untrusted/ppapi/nacl_file.h',
105 '<(DEPTH)/native_client/src/shared/imc/nacl_imc.h',
106 '<(DEPTH)/native_client/src/include/nacl/nacl_inttypes.h',
107 '<(DEPTH)/native_client/src/shared/platform/nacl_log.h',
108 '<(DEPTH)/native_client/src/shared/srpc/nacl_srpc.h',
109 '<(DEPTH)/native_client/src/shared/platform/nacl_threads.h',
110 '<(DEPTH)/ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h',
111 '<(DEPTH)/native_client/src/shared/platform/refcount_base.h',
112 '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.h'
113 ],
114 },
115 ],
116 },
117 ],
118
119 'conditions': [
121 ['target_arch=="x64" or OS=="win"', { 120 ['target_arch=="x64" or OS=="win"', {
122 'targets' : [ 121 'targets' : [
123 { 122 {
124 'target_name': 'crt_init_64', 123 'target_name': 'crt_init_64',
125 'type': 'none', 124 'type': 'none',
126 'dependencies': [ 125 'dependencies': [
127 'copy_headers' 126 'copy_headers'
128 ], 127 ],
129 'variables': { 128 'variables': {
130 'nlib_target': 'crt_init_dummy', 129 'nlib_target': 'crt_init_dummy',
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 'objdir': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32', 212 'objdir': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32',
214 'sources': [ 213 'sources': [
215 'src/untrusted/stubs/crtn_x86_32.S' 214 'src/untrusted/stubs/crtn_x86_32.S'
216 ] 215 ]
217 }, 216 },
218 } 217 }
219 ], 218 ],
220 }], 219 }],
221 ], 220 ],
222 } 221 }
OLDNEW
« src/untrusted/irt/irt.gyp ('K') | « src/untrusted/pthread/pthread.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698