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': 'crazy_linker', 9 'type': 'static_library', 10 'include_dirs': [ 11 'src/include', 12 'src/src', 13 ], 14 'defines': [ 15 'CRAZY_DEBUG=0', 16 ], 17 'sources': [ 18 'src/src/crazy_linker_api.cpp', 19 'src/src/crazy_linker_ashmem.cpp', 20 'src/src/crazy_linker_debug.cpp', 21 'src/src/crazy_linker_elf_loader.cpp', 22 'src/src/crazy_linker_elf_relocations.cpp', 23 'src/src/crazy_linker_elf_relro.cpp', 24 'src/src/crazy_linker_elf_symbols.cpp', 25 'src/src/crazy_linker_elf_view.cpp', 26 'src/src/crazy_linker_error.cpp', 27 'src/src/crazy_linker_globals.cpp', 28 'src/src/crazy_linker_library_list.cpp', 29 'src/src/crazy_linker_library_view.cpp', 30 'src/src/crazy_linker_line_reader.cpp', 31 'src/src/crazy_linker_proc_maps.cpp', 32 'src/src/crazy_linker_rdebug.cpp', 33 'src/src/crazy_linker_search_path_list.cpp', 34 'src/src/crazy_linker_shared_library.cpp', 35 'src/src/crazy_linker_system.cpp', 36 'src/src/crazy_linker_thread.cpp', 37 'src/src/crazy_linker_util.cpp', 38 'src/src/crazy_linker_wrappers.cpp', 39 'src/src/crazy_linker_zip.cpp', 40 'src/src/linker_phdr.cpp', 41 ], 42 'link_settings': { 43 'libraries': [ 44 '-llog', 45 '-ldl', 46 ], 47 }, 48 'direct_dependent_settings': { 49 'include_dirs': [ 50 'src/include', 51 ], 52 }, 53 }, 54 ], 55 } 56