Bob Badour | 84f35fe | 2021-02-12 16:31:06 -0800 | [diff] [blame] | 1 | package { |
| 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 Kiryanov | 6fcd36e | 2020-05-08 15:46:59 -0700 | [diff] [blame] | 11 | cc_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 Kiryanov | 6fcd36e | 2020-05-08 15:46:59 -0700 | [diff] [blame] | 20 | "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 Yang | ddd60cc | 2021-01-22 17:42:32 -0800 | [diff] [blame] | 45 | |
| 46 | cc_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 | } |