OLD | NEW |
| (Empty) |
1 # Copyright 2014 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 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'libelf', | |
9 'toolsets': ['host'], | |
10 'type': 'static_library', | |
11 'defines': [ | |
12 '_GNU_SOURCE', | |
13 'HAVE_CONFIG_H', | |
14 ], | |
15 'cflags': [ | |
16 '-std=gnu99', | |
17 '-Wall', | |
18 '-Wshadow', | |
19 '-Werror', | |
20 '-Wunused', | |
21 '-Wextra', | |
22 '-Wformat=2', | |
23 ], | |
24 'include_dirs': [ | |
25 '.', | |
26 './src/libelf', | |
27 './src/lib', | |
28 ], | |
29 'sources': [ | |
30 'config.h', | |
31 | |
32 'src/libelf/abstract.h', | |
33 'src/libelf/common.h', | |
34 'src/libelf/dl-hash.h', | |
35 'src/libelf/elf.h', | |
36 'src/libelf/elf-knowledge.h', | |
37 'src/libelf/exttypes.h', | |
38 'src/libelf/gelf.h', | |
39 'src/libelf/gelf_xlate.h', | |
40 'src/libelf/gnuhash_xlate.h', | |
41 'src/libelf/libelf.h', | |
42 'src/libelf/libelfP.h', | |
43 'src/libelf/nlist.h', | |
44 'src/libelf/note_xlate.h', | |
45 'src/libelf/version_xlate.h', | |
46 | |
47 'src/libelf/elf32_checksum.c', | |
48 'src/libelf/elf32_fsize.c', | |
49 'src/libelf/elf32_getehdr.c', | |
50 'src/libelf/elf32_getphdr.c', | |
51 'src/libelf/elf32_getshdr.c', | |
52 'src/libelf/elf32_newehdr.c', | |
53 'src/libelf/elf32_newphdr.c', | |
54 'src/libelf/elf32_offscn.c', | |
55 'src/libelf/elf32_updatefile.c', | |
56 'src/libelf/elf32_updatenull.c', | |
57 'src/libelf/elf32_xlatetof.c', | |
58 'src/libelf/elf32_xlatetom.c', | |
59 'src/libelf/elf64_checksum.c', | |
60 'src/libelf/elf64_fsize.c', | |
61 'src/libelf/elf64_getehdr.c', | |
62 'src/libelf/elf64_getphdr.c', | |
63 'src/libelf/elf64_getshdr.c', | |
64 'src/libelf/elf64_newehdr.c', | |
65 'src/libelf/elf64_newphdr.c', | |
66 'src/libelf/elf64_offscn.c', | |
67 'src/libelf/elf64_updatefile.c', | |
68 'src/libelf/elf64_updatenull.c', | |
69 'src/libelf/elf64_xlatetof.c', | |
70 'src/libelf/elf64_xlatetom.c', | |
71 'src/libelf/elf_begin.c', | |
72 'src/libelf/elf_clone.c', | |
73 'src/libelf/elf_cntl.c', | |
74 'src/libelf/elf_end.c', | |
75 'src/libelf/elf_error.c', | |
76 'src/libelf/elf_fill.c', | |
77 'src/libelf/elf_flagdata.c', | |
78 'src/libelf/elf_flagehdr.c', | |
79 'src/libelf/elf_flagelf.c', | |
80 'src/libelf/elf_flagphdr.c', | |
81 'src/libelf/elf_flagscn.c', | |
82 'src/libelf/elf_flagshdr.c', | |
83 'src/libelf/elf_getarhdr.c', | |
84 'src/libelf/elf_getaroff.c', | |
85 'src/libelf/elf_getarsym.c', | |
86 'src/libelf/elf_getbase.c', | |
87 'src/libelf/elf_getdata.c', | |
88 'src/libelf/elf_getdata_rawchunk.c', | |
89 'src/libelf/elf_getident.c', | |
90 'src/libelf/elf_getphdrnum.c', | |
91 'src/libelf/elf_getscn.c', | |
92 'src/libelf/elf_getshdrnum.c', | |
93 'src/libelf/elf_getshdrstrndx.c', | |
94 'src/libelf/elf_gnu_hash.c', | |
95 'src/libelf/elf_hash.c', | |
96 'src/libelf/elf_kind.c', | |
97 'src/libelf/elf_memory.c', | |
98 'src/libelf/elf_ndxscn.c', | |
99 'src/libelf/elf_newdata.c', | |
100 'src/libelf/elf_newscn.c', | |
101 'src/libelf/elf_next.c', | |
102 'src/libelf/elf_nextscn.c', | |
103 'src/libelf/elf_rand.c', | |
104 'src/libelf/elf_rawdata.c', | |
105 'src/libelf/elf_rawfile.c', | |
106 'src/libelf/elf_readall.c', | |
107 'src/libelf/elf_scnshndx.c', | |
108 'src/libelf/elf_strptr.c', | |
109 'src/libelf/elf_update.c', | |
110 'src/libelf/elf_version.c', | |
111 'src/libelf/gelf_checksum.c', | |
112 'src/libelf/gelf_fsize.c', | |
113 'src/libelf/gelf_getauxv.c', | |
114 'src/libelf/gelf_getclass.c', | |
115 'src/libelf/gelf_getdyn.c', | |
116 'src/libelf/gelf_getehdr.c', | |
117 'src/libelf/gelf_getlib.c', | |
118 'src/libelf/gelf_getmove.c', | |
119 'src/libelf/gelf_getnote.c', | |
120 'src/libelf/gelf_getphdr.c', | |
121 'src/libelf/gelf_getrela.c', | |
122 'src/libelf/gelf_getrel.c', | |
123 'src/libelf/gelf_getshdr.c', | |
124 'src/libelf/gelf_getsym.c', | |
125 'src/libelf/gelf_getsyminfo.c', | |
126 'src/libelf/gelf_getsymshndx.c', | |
127 'src/libelf/gelf_getverdaux.c', | |
128 'src/libelf/gelf_getverdef.c', | |
129 'src/libelf/gelf_getvernaux.c', | |
130 'src/libelf/gelf_getverneed.c', | |
131 'src/libelf/gelf_getversym.c', | |
132 'src/libelf/gelf_newehdr.c', | |
133 'src/libelf/gelf_newphdr.c', | |
134 'src/libelf/gelf_offscn.c', | |
135 'src/libelf/gelf_update_auxv.c', | |
136 'src/libelf/gelf_update_dyn.c', | |
137 'src/libelf/gelf_update_ehdr.c', | |
138 'src/libelf/gelf_update_lib.c', | |
139 'src/libelf/gelf_update_move.c', | |
140 'src/libelf/gelf_update_phdr.c', | |
141 'src/libelf/gelf_update_rela.c', | |
142 'src/libelf/gelf_update_rel.c', | |
143 'src/libelf/gelf_update_shdr.c', | |
144 'src/libelf/gelf_update_sym.c', | |
145 'src/libelf/gelf_update_syminfo.c', | |
146 'src/libelf/gelf_update_symshndx.c', | |
147 'src/libelf/gelf_update_verdaux.c', | |
148 'src/libelf/gelf_update_verdef.c', | |
149 'src/libelf/gelf_update_vernaux.c', | |
150 'src/libelf/gelf_update_verneed.c', | |
151 'src/libelf/gelf_update_versym.c', | |
152 'src/libelf/gelf_xlate.c', | |
153 'src/libelf/gelf_xlatetof.c', | |
154 'src/libelf/gelf_xlatetom.c', | |
155 'src/libelf/libelf_crc32.c', | |
156 'src/libelf/libelf_next_prime.c', | |
157 'src/libelf/nlist.c', | |
158 ], | |
159 'direct_dependent_settings': { | |
160 'include_dirs': [ | |
161 './src/libelf', | |
162 ], | |
163 }, | |
164 }], | |
165 } | |
OLD | NEW |