OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 config("libelf_config") { | 5 config("libelf_config") { |
6 include_dirs = [ "src/libelf" ] | 6 include_dirs = [ "src/libelf" ] |
7 } | 7 } |
8 | 8 |
9 source_set("libelf") { | 9 source_set("libelf") { |
10 sources = [ | 10 sources = [ |
11 "config.h", | 11 "config.h", |
12 | |
13 "src/libelf/abstract.h", | 12 "src/libelf/abstract.h", |
14 "src/libelf/common.h", | 13 "src/libelf/common.h", |
15 "src/libelf/dl-hash.h", | 14 "src/libelf/dl-hash.h", |
16 "src/libelf/elf.h", | 15 "src/libelf/elf.h", |
17 "src/libelf/elf-knowledge.h", | 16 "src/libelf/elf-knowledge.h", |
18 "src/libelf/exttypes.h", | 17 "src/libelf/exttypes.h", |
19 "src/libelf/gelf.h", | 18 "src/libelf/gelf.h", |
20 "src/libelf/gelf_xlate.h", | 19 "src/libelf/gelf_xlate.h", |
21 "src/libelf/gnuhash_xlate.h", | 20 "src/libelf/gnuhash_xlate.h", |
22 "src/libelf/libelf.h", | 21 "src/libelf/libelf.h", |
23 "src/libelf/libelfP.h", | 22 "src/libelf/libelfP.h", |
24 "src/libelf/nlist.h", | 23 "src/libelf/nlist.h", |
25 "src/libelf/note_xlate.h", | 24 "src/libelf/note_xlate.h", |
26 "src/libelf/version_xlate.h", | 25 "src/libelf/version_xlate.h", |
27 | |
28 "src/libelf/elf32_checksum.c", | 26 "src/libelf/elf32_checksum.c", |
29 "src/libelf/elf32_fsize.c", | 27 "src/libelf/elf32_fsize.c", |
30 "src/libelf/elf32_getehdr.c", | 28 "src/libelf/elf32_getehdr.c", |
31 "src/libelf/elf32_getphdr.c", | 29 "src/libelf/elf32_getphdr.c", |
32 "src/libelf/elf32_getshdr.c", | 30 "src/libelf/elf32_getshdr.c", |
33 "src/libelf/elf32_newehdr.c", | 31 "src/libelf/elf32_newehdr.c", |
34 "src/libelf/elf32_newphdr.c", | 32 "src/libelf/elf32_newphdr.c", |
35 "src/libelf/elf32_offscn.c", | 33 "src/libelf/elf32_offscn.c", |
36 "src/libelf/elf32_updatefile.c", | 34 "src/libelf/elf32_updatefile.c", |
37 "src/libelf/elf32_updatenull.c", | 35 "src/libelf/elf32_updatenull.c", |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 "-Werror", | 153 "-Werror", |
156 "-Wunused", | 154 "-Wunused", |
157 "-Wextra", | 155 "-Wextra", |
158 "-Wformat=2", | 156 "-Wformat=2", |
159 ] | 157 ] |
160 | 158 |
161 public_configs = [ ":libelf_config" ] | 159 public_configs = [ ":libelf_config" ] |
162 configs -= [ "//build/config/compiler:chromium_code" ] | 160 configs -= [ "//build/config/compiler:chromium_code" ] |
163 configs += [ "//build/config/compiler:no_chromium_code" ] | 161 configs += [ "//build/config/compiler:no_chromium_code" ] |
164 } | 162 } |
OLD | NEW |