forked from microsoft/cpp_client_telemetry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.bp
118 lines (116 loc) · 3.63 KB
/
Android.bp
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
cc_defaults {
name: "maesdk_defaults",
cflags: [
"-DBUILD_SHARED_LIBS=1",
"-DUSE_ROOM=1"
],
cppflags: [
"-fexceptions",
"-Wno-missing-field-initializers",
"-Wno-non-virtual-dtor",
"-Wno-reorder-ctor",
"-Wno-unused-const-variable",
"-Wno-unused-parameter",
"-Wno-unused-variable"
],
rtti: true,
vendor_available: true
}
cc_library_shared {
name: "libmaesdk",
defaults: ["maesdk_defaults"],
srcs: [
"lib/api/AllowedLevelsCollection.cpp",
"lib/api/AuthTokensController.cpp",
"lib/api/ContextFieldsProvider.cpp",
"lib/api/CorrelationVector.cpp",
"lib/api/DataViewerCollection.cpp",
"lib/api/ILogConfiguration.cpp",
"lib/api/LogConfiguration.cpp",
"lib/api/LogManager.cpp",
"lib/api/LogManagerFactory.cpp",
"lib/api/LogManagerImpl.cpp",
"lib/api/LogManagerProvider.cpp",
"lib/api/LogSessionData.cpp",
"lib/api/Logger.cpp",
"lib/api/capi.cpp",
"lib/backoff/IBackoff.cpp",
"lib/bond/BondSerializer.cpp",
"lib/callbacks/DebugSource.cpp",
"lib/compression/HttpDeflateCompression.cpp",
"lib/decorators/BaseDecorator.cpp",
"lib/filter/EventFilterCollection.cpp",
"lib/http/HttpClientFactory.cpp",
"lib/http/HttpClientManager.cpp",
"lib/http/HttpRequestEncoder.cpp",
"lib/http/HttpResponseDecoder.cpp",
"lib/jni/JniConvertors.cpp",
"lib/jni/LogManager_jni.cpp",
"lib/jni/Logger_jni.cpp",
"lib/jni/SemanticContext_jni.cpp",
"lib/jni/Utils_jni.cpp",
"lib/offline/MemoryStorage.cpp",
"lib/offline/LogSessionDataProvider.cpp",
"lib/offline/OfflineStorageFactory.cpp",
"lib/offline/OfflineStorageHandler.cpp",
"lib/offline/StorageObserver.cpp",
"lib/packager/BondSplicer.cpp",
"lib/packager/Packager.cpp",
"lib/pal/InformationProviderImpl.cpp",
"lib/pal/PAL.cpp",
"lib/pal/TaskDispatcher_CAPI.cpp",
"lib/pal/WorkerThread.cpp",
"lib/pal/posix/DeviceInformationImpl_Android.cpp",
"lib/pal/posix/NetworkInformationImpl_Android.cpp",
"lib/pal/posix/SystemInformationImpl_Android.cpp",
"lib/pal/posix/sysinfo_sources.cpp",
"lib/stats/MetaStats.cpp",
"lib/stats/Statistics.cpp",
"lib/system/EventProperties.cpp",
"lib/system/EventProperty.cpp",
"lib/system/TelemetrySystem.cpp",
"lib/tpm/DeviceStateHandler.cpp",
"lib/tpm/TransmissionPolicyManager.cpp",
"lib/tpm/TransmitProfiles.cpp",
"lib/utils/FileUtils.cpp",
"lib/utils/StringUtils.cpp",
"lib/utils/ZlibUtils.cpp",
"lib/utils/Utils.cpp",
"lib/offline/OfflineStorage_Room.cpp",
"lib/http/HttpClient_Android.cpp"
],
local_include_dirs: [
"lib",
"lib/include/public",
"lib/include",
"lib/include/mat"
],
min_sdk_version: "29",
shared_libs: [
"liblog"
],
static_libs: [
"libz"
]
}
android_library {
name: "maesdk",
srcs: [
"lib/android_build/maesdk/src/main/java/**/*.java"
],
manifest: "lib/android_build/maesdk/src/main/AndroidManifest.xml",
resource_dirs: [
"lib/android_build/maesdk/src/main/res"
],
libs: [
"androidx.room_room-runtime"
],
plugins: [
"androidx.room_room-compiler-plugin"
],
javacflags: [
"-Aroom.schemaLocation=lib/android_build/maesdk/schemas",
"-Aroom.incremental=true",
"-Aroom.expandProjection=true"
]
}