-
Notifications
You must be signed in to change notification settings - Fork 25
/
BUILD.gn
71 lines (67 loc) · 2.09 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# for Chromium
#
# referenced by:
# - //third_party/blink/renderer/core:core (public_deps)
#
config("config") {
include_dirs = [ "." ]
}
component("fingerprint") {
output_name = "browser_fingerprint"
public_configs = [ ":config" ]
if (is_component_build) {
if (is_win) {
defines += [ "FINGERPRINT_BUILD_DLL" ]
} else {
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
configs += [ "//build/config/gcc:symbol_visibility_default" ]
}
}
configs -= [
"//build/config/compiler:no_exceptions",
"//build/config/compiler:no_rtti",
]
configs += [
"//build/config/compiler:exceptions",
"//build/config/compiler:rtti",
]
sources = [
"fingerprint/crypt/base64.cc",
"fingerprint/crypt/base64.h",
"fingerprint/crypt/bcrypt.cc",
"fingerprint/crypt/bcrypt.h",
"fingerprint/crypt/blowfish.cc",
"fingerprint/crypt/node_blf.h",
"fingerprint/crypt/openbsd.h",
"fingerprint/crypt/twofishcpp.cc",
"fingerprint/crypt/twofishcpp.h",
"fingerprint/crypt/twofish.c",
"fingerprint/crypt/twofish.h",
"fingerprint/fingerprint_context.cc",
"fingerprint/fingerprint_context.h",
"fingerprint/fingerprint_switches.h",
"fingerprint/internal/apply_float_noise.h",
"fingerprint/internal/uniform_float_distribution.h",
"fingerprint/internal/uniform_int_distribution.h",
"fingerprint/internal/string_algorithm.cc",
"fingerprint/internal/string_algorithm.h",
"fingerprint/navigator.h",
"fingerprint/services/context.cc",
"fingerprint/services/context.h",
"fingerprint/services/path_service.cc",
"fingerprint/services/path_service.h",
"fingerprint/services/settings_service.cc",
"fingerprint/services/settings_service.h",
"fingerprint/services/use_service.h",
"fingerprint/settings.cc",
"fingerprint/settings.h",
"fingerprint/settings_keys.h",
"fingerprint/webgl_noise.h",
"fingerprint/webgl_renderer.cc",
"fingerprint/webgl_renderer.h",
"fingerprint/webrtc.cc",
"fingerprint/webrtc.h",
"fingerprint/utility.cc",
"fingerprint/utility.h",
]
}