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