• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    default_applicable_licenses: ["hardware_google_gfxstream_license"],
4}
5
6cc_library_shared {
7    name: "libandroidemu",
8    defaults: [
9        "libgfxstream_guest_cc_defaults",
10    ],
11    host_supported: true,
12    vendor: true,
13    srcs: [
14        "aemu/base/AlignedBuf.cpp",
15        "aemu/base/files/MemStream.cpp",
16        "aemu/base/files/Stream.cpp",
17        "aemu/base/files/StreamSerializing.cpp",
18        "aemu/base/Path.cpp",
19        "aemu/base/Pool.cpp",
20        "aemu/base/StringFormat.cpp",
21        "aemu/base/Process.cpp",
22        "aemu/base/AndroidSubAllocator.cpp",
23        "aemu/base/synchronization/AndroidMessageChannel.cpp",
24        "aemu/base/threads/AndroidFunctorThread.cpp",
25        "aemu/base/threads/AndroidThreadStore.cpp",
26        "aemu/base/threads/AndroidThread_pthread.cpp",
27        "aemu/base/threads/AndroidWorkPool.cpp",
28        "aemu/base/AndroidHealthMonitor.cpp",
29        "aemu/base/AndroidHealthMonitorConsumerBasic.cpp",
30        "aemu/base/Tracing.cpp",
31        "android/utils/debug.c",
32    ],
33    shared_libs: [
34        "libcutils",
35        "libutils",
36        "liblog",
37    ],
38    export_include_dirs: [
39        ".",
40    ],
41    cflags: [
42        "-DLOG_TAG=\"androidemu\"",
43        "-Wno-missing-field-initializers",
44        "-fvisibility=default",
45        "-fstrict-aliasing",
46    ],
47}
48
49cc_library_static {
50    name: "libgfxstream_androidemu_static",
51    defaults: [
52        "libgfxstream_guest_cc_defaults",
53    ],
54    host_supported: true,
55    vendor: true,
56    srcs: [
57        "aemu/base/AlignedBuf.cpp",
58        "aemu/base/files/MemStream.cpp",
59        "aemu/base/files/Stream.cpp",
60        "aemu/base/files/StreamSerializing.cpp",
61        "aemu/base/Path.cpp",
62        "aemu/base/Pool.cpp",
63        "aemu/base/StringFormat.cpp",
64        "aemu/base/Process.cpp",
65        "aemu/base/AndroidSubAllocator.cpp",
66        "aemu/base/synchronization/AndroidMessageChannel.cpp",
67        "aemu/base/threads/AndroidFunctorThread.cpp",
68        "aemu/base/threads/AndroidThreadStore.cpp",
69        "aemu/base/threads/AndroidThread_pthread.cpp",
70        "aemu/base/threads/AndroidWorkPool.cpp",
71        "aemu/base/AndroidHealthMonitor.cpp",
72        "aemu/base/AndroidHealthMonitorConsumerBasic.cpp",
73        "aemu/base/Tracing.cpp",
74        "android/utils/debug.c",
75    ],
76    shared_libs: [
77        "libcutils",
78        "libutils",
79        "liblog",
80    ],
81    export_include_dirs: [
82        ".",
83    ],
84    cflags: [
85        "-DLOG_TAG=\"androidemu\"",
86        "-Wno-missing-field-initializers",
87        "-fvisibility=default",
88        "-fstrict-aliasing",
89    ],
90}
91
92cc_library_static {
93    name: "libringbuffer",
94    host_supported: true,
95    vendor: true,
96    srcs: [
97        "aemu/base/ring_buffer.c",
98    ],
99    shared_libs: [
100        "libcutils",
101        "libutils",
102        "liblog",
103    ],
104    export_include_dirs: [
105        ".",
106    ],
107    cflags: [
108        "-DLOG_TAG=\"androidemu\"",
109        "-Wno-missing-field-initializers",
110        "-fvisibility=default",
111        "-fstrict-aliasing",
112    ],
113}
114