HttpServer: don't crash in SetReceiveBufferSize/SetSendBufferSize if connection is...
[chromium-blink-merge.git] / third_party / android_crazy_linker / BUILD.gn
blob8eea6c2e4bc42a434229a1b0a05bb32f03f818b7
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("crazy_config") {
6   include_dirs = [ "src/include" ]
7   libs = [
8     "log",
9     "dl",
10   ]
13 # GYP: //third_party/android_crazy_linker/crazy_linker.gyp:crazy_linker
14 source_set("android_crazy_linker") {
15   sources = [
16     "src/src/crazy_linker_api.cpp",
17     "src/src/crazy_linker_ashmem.cpp",
18     "src/src/crazy_linker_debug.cpp",
19     "src/src/crazy_linker_elf_loader.cpp",
20     "src/src/crazy_linker_elf_relocations.cpp",
21     "src/src/crazy_linker_elf_relro.cpp",
22     "src/src/crazy_linker_elf_symbols.cpp",
23     "src/src/crazy_linker_elf_view.cpp",
24     "src/src/crazy_linker_error.cpp",
25     "src/src/crazy_linker_globals.cpp",
26     "src/src/crazy_linker_library_list.cpp",
27     "src/src/crazy_linker_library_view.cpp",
28     "src/src/crazy_linker_line_reader.cpp",
29     "src/src/crazy_linker_proc_maps.cpp",
30     "src/src/crazy_linker_rdebug.cpp",
31     "src/src/crazy_linker_search_path_list.cpp",
32     "src/src/crazy_linker_shared_library.cpp",
33     "src/src/crazy_linker_system.cpp",
34     "src/src/crazy_linker_thread.cpp",
35     "src/src/crazy_linker_util.cpp",
36     "src/src/crazy_linker_wrappers.cpp",
37     "src/src/crazy_linker_zip.cpp",
38     "src/src/linker_phdr.cpp",
39   ]
41   include_dirs = [ "src/src" ]
42   defines = [ "CRAZY_DEBUG=0" ]
44   public_configs = [ ":crazy_config" ]
45   configs -= [ "//build/config/compiler:chromium_code" ]
46   configs += [ "//build/config/compiler:no_chromium_code" ]