forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
47 lines (43 loc) · 1.52 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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",
]
}
# GYP: //third_party/android_crazy_linker/crazy_linker.gyp:crazy_linker
source_set("android_crazy_linker") {
sources = [
"src/src/crazy_linker_api.cpp",
"src/src/crazy_linker_ashmem.cpp",
"src/src/crazy_linker_debug.cpp",
"src/src/crazy_linker_elf_loader.cpp",
"src/src/crazy_linker_elf_relocations.cpp",
"src/src/crazy_linker_elf_relro.cpp",
"src/src/crazy_linker_elf_symbols.cpp",
"src/src/crazy_linker_elf_view.cpp",
"src/src/crazy_linker_error.cpp",
"src/src/crazy_linker_globals.cpp",
"src/src/crazy_linker_library_list.cpp",
"src/src/crazy_linker_library_view.cpp",
"src/src/crazy_linker_line_reader.cpp",
"src/src/crazy_linker_proc_maps.cpp",
"src/src/crazy_linker_rdebug.cpp",
"src/src/crazy_linker_search_path_list.cpp",
"src/src/crazy_linker_shared_library.cpp",
"src/src/crazy_linker_system.cpp",
"src/src/crazy_linker_thread.cpp",
"src/src/crazy_linker_util.cpp",
"src/src/crazy_linker_wrappers.cpp",
"src/src/crazy_linker_zip.cpp",
"src/src/linker_phdr.cpp",
]
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" ]
}