blob: b83cab951d257a63ce98302f2c9c100b596c3e27 [file] [log] [blame]
Bob Badour84f35fe2021-02-12 16:31:06 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "device_generic_goldfish-opengl_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 // SPDX-license-identifier-GPL-2.0
8 default_applicable_licenses: ["device_generic_goldfish-opengl_license"],
9}
10
Roman Kiryanov6fcd36e2020-05-08 15:46:59 -070011cc_library_shared {
12 name: "libandroidemu",
13 vendor: true,
14 srcs: [
15 "android/base/AlignedBuf.cpp",
16 "android/base/files/MemStream.cpp",
17 "android/base/files/Stream.cpp",
18 "android/base/files/StreamSerializing.cpp",
19 "android/base/Pool.cpp",
Roman Kiryanov6fcd36e2020-05-08 15:46:59 -070020 "android/base/StringFormat.cpp",
21 "android/base/AndroidSubAllocator.cpp",
22 "android/base/synchronization/AndroidMessageChannel.cpp",
23 "android/base/threads/AndroidFunctorThread.cpp",
24 "android/base/threads/AndroidThreadStore.cpp",
25 "android/base/threads/AndroidThread_pthread.cpp",
26 "android/base/threads/AndroidWorkPool.cpp",
27 "android/base/Tracing.cpp",
28 "android/utils/debug.c",
29 ],
30 shared_libs: [
31 "libcutils",
32 "libutils",
33 "liblog",
34 ],
35 export_include_dirs: [
36 ".",
37 ],
38 cflags: [
39 "-DLOG_TAG=\"androidemu\"",
40 "-Wno-missing-field-initializers",
41 "-fvisibility=default",
42 "-fstrict-aliasing",
43 ],
44}
Lingfeng Yangddd60cc2021-01-22 17:42:32 -080045
46cc_library_static {
47 name: "libringbuffer",
48 vendor: true,
49 srcs: [
50 "android/base/ring_buffer.c",
51 ],
52 shared_libs: [
53 "libcutils",
54 "libutils",
55 "liblog",
56 ],
57 export_include_dirs: [
58 ".",
59 ],
60 cflags: [
61 "-DLOG_TAG=\"androidemu\"",
62 "-Wno-missing-field-initializers",
63 "-fvisibility=default",
64 "-fstrict-aliasing",
65 ],
66}