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("crazy_config") { | 5 config("crazy_config") { |
6 include_dirs = [ "src/include" ] | 6 include_dirs = [ "src/include" ] |
7 libs = [ | 7 libs = [ |
8 "log", | 8 "log", |
9 "dl", | 9 "dl", |
10 ] | 10 ] |
11 } | 11 } |
12 | 12 |
13 # GYP: //third_party/android_crazy_linker/crazy_linker.gyp:crazy_linker | |
14 source_set("android_crazy_linker") { | 13 source_set("android_crazy_linker") { |
15 sources = [ | 14 sources = [ |
16 "src/src/crazy_linker_api.cpp", | 15 "src/src/crazy_linker_api.cpp", |
17 "src/src/crazy_linker_ashmem.cpp", | 16 "src/src/crazy_linker_ashmem.cpp", |
18 "src/src/crazy_linker_debug.cpp", | 17 "src/src/crazy_linker_debug.cpp", |
19 "src/src/crazy_linker_elf_loader.cpp", | 18 "src/src/crazy_linker_elf_loader.cpp", |
20 "src/src/crazy_linker_elf_relocations.cpp", | 19 "src/src/crazy_linker_elf_relocations.cpp", |
21 "src/src/crazy_linker_elf_relro.cpp", | 20 "src/src/crazy_linker_elf_relro.cpp", |
22 "src/src/crazy_linker_elf_symbols.cpp", | 21 "src/src/crazy_linker_elf_symbols.cpp", |
23 "src/src/crazy_linker_elf_view.cpp", | 22 "src/src/crazy_linker_elf_view.cpp", |
(...skipping 14 matching lines...) Expand all Loading... |
38 "src/src/linker_phdr.cpp", | 37 "src/src/linker_phdr.cpp", |
39 ] | 38 ] |
40 | 39 |
41 include_dirs = [ "src/src" ] | 40 include_dirs = [ "src/src" ] |
42 defines = [ "CRAZY_DEBUG=0" ] | 41 defines = [ "CRAZY_DEBUG=0" ] |
43 | 42 |
44 public_configs = [ ":crazy_config" ] | 43 public_configs = [ ":crazy_config" ] |
45 configs -= [ "//build/config/compiler:chromium_code" ] | 44 configs -= [ "//build/config/compiler:chromium_code" ] |
46 configs += [ "//build/config/compiler:no_chromium_code" ] | 45 configs += [ "//build/config/compiler:no_chromium_code" ] |
47 } | 46 } |
OLD | NEW |