naiveproxy/third_party/android_crazy_linker/BUILD.gn

73 lines
2.4 KiB
Plaintext
Raw Permalink Normal View History

2018-02-02 13:49:39 +03:00
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("crazy_config") {
include_dirs = [ "src/include" ]
libs = [
"log",
"dl",
]
}
source_set("android_crazy_linker") {
sources = [
"src/include/crazy_linker.h",
"src/src/crazy_linker_api.cpp",
"src/src/crazy_linker_ashmem.cpp",
"src/src/crazy_linker_ashmem.h",
"src/src/crazy_linker_debug.cpp",
"src/src/crazy_linker_debug.h",
"src/src/crazy_linker_elf_loader.cpp",
"src/src/crazy_linker_elf_loader.h",
"src/src/crazy_linker_elf_relocations.cpp",
"src/src/crazy_linker_elf_relocations.h",
"src/src/crazy_linker_elf_relro.cpp",
"src/src/crazy_linker_elf_relro.h",
"src/src/crazy_linker_elf_symbols.cpp",
"src/src/crazy_linker_elf_symbols.h",
"src/src/crazy_linker_elf_view.cpp",
"src/src/crazy_linker_elf_view.h",
"src/src/crazy_linker_error.cpp",
"src/src/crazy_linker_error.h",
"src/src/crazy_linker_globals.cpp",
"src/src/crazy_linker_globals.h",
"src/src/crazy_linker_leb128.h",
"src/src/crazy_linker_library_list.cpp",
"src/src/crazy_linker_library_list.h",
"src/src/crazy_linker_library_view.cpp",
"src/src/crazy_linker_library_view.h",
"src/src/crazy_linker_line_reader.cpp",
"src/src/crazy_linker_line_reader.h",
"src/src/crazy_linker_memory_mapping.h",
"src/src/crazy_linker_proc_maps.cpp",
"src/src/crazy_linker_proc_maps.h",
"src/src/crazy_linker_rdebug.cpp",
"src/src/crazy_linker_rdebug.h",
"src/src/crazy_linker_search_path_list.cpp",
"src/src/crazy_linker_search_path_list.h",
"src/src/crazy_linker_shared_library.cpp",
"src/src/crazy_linker_shared_library.h",
"src/src/crazy_linker_system.cpp",
"src/src/crazy_linker_system.h",
"src/src/crazy_linker_thread.cpp",
"src/src/crazy_linker_thread.h",
"src/src/crazy_linker_util.cpp",
"src/src/crazy_linker_util.h",
"src/src/crazy_linker_wrappers.cpp",
"src/src/crazy_linker_wrappers.h",
"src/src/crazy_linker_zip.cpp",
"src/src/crazy_linker_zip.h",
"src/src/elf_traits.h",
"src/src/linker_phdr.cpp",
"src/src/linker_phdr.h",
]
include_dirs = [ "src/src" ]
defines = [ "CRAZY_DEBUG=0" ]
public_configs = [ ":crazy_config" ]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}