diff options
author | Andrew F. Davis | 2018-07-26 15:21:38 -0500 |
---|---|---|
committer | Alistair Strachan | 2018-09-27 15:06:49 -0500 |
commit | c39eaab1655aa676104fd105cf9f5243c99e6573 (patch) | |
tree | 605c99d355c7c2a3a1aa0d186a6bab93111fecd8 | |
parent | 0e3e4ad0f4b2f859fc392971b8f4f678815cfb64 (diff) | |
download | external-libkmsxx-d-pie-core-release.tar.gz external-libkmsxx-d-pie-core-release.tar.xz external-libkmsxx-d-pie-core-release.zip |
libkmsxx: Add Android.bp file to build with AOSPHEADmasterd-pie-core-release
Test: Boot to UI with BeagleBoard X15
Change-Id: Ide1b23ff0a5596bdb0860c57c262e60499e2706f
Signed-off-by: Andrew F. Davis <afd@ti.com>
-rw-r--r-- | Android.bp | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..e62650e --- /dev/null +++ b/Android.bp | |||
@@ -0,0 +1,59 @@ | |||
1 | // Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ | ||
2 | // | ||
3 | // Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | // you may not use this file except in compliance with the License. | ||
5 | // You may obtain a copy of the License at | ||
6 | // | ||
7 | // http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | // | ||
9 | // Unless required by applicable law or agreed to in writing, software | ||
10 | // distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | // See the License for the specific language governing permissions and | ||
13 | // limitations under the License. | ||
14 | |||
15 | cc_library_shared { | ||
16 | name: "libkmsxx", | ||
17 | |||
18 | vendor_available: true, | ||
19 | rtti: true, | ||
20 | |||
21 | srcs: [ | ||
22 | "kms++/src/atomicreq.cpp", | ||
23 | "kms++/src/card.cpp", | ||
24 | "kms++/src/crtc.cpp", | ||
25 | "kms++/src/drmpropobject.cpp", | ||
26 | "kms++/src/encoder.cpp", | ||
27 | "kms++/src/framebuffer.cpp", | ||
28 | "kms++/src/modedb_cea.cpp", | ||
29 | "kms++/src/modedb_dmt.cpp", | ||
30 | "kms++/src/pixelformats.cpp", | ||
31 | "kms++/src/property.cpp", | ||
32 | "kms++/src/blob.cpp", | ||
33 | "kms++/src/connector.cpp", | ||
34 | "kms++/src/drmobject.cpp", | ||
35 | "kms++/src/dumbframebuffer.cpp", | ||
36 | "kms++/src/extframebuffer.cpp", | ||
37 | "kms++/src/helpers.cpp", | ||
38 | "kms++/src/mode_cvt.cpp", | ||
39 | "kms++/src/modedb.cpp", | ||
40 | "kms++/src/plane.cpp", | ||
41 | "kms++/src/videomode.cpp", | ||
42 | ], | ||
43 | |||
44 | cflags: [ | ||
45 | "-std=c++11", | ||
46 | "-Wall", | ||
47 | "-Wextra", | ||
48 | "-Wno-unused-parameter", | ||
49 | "-fexceptions", | ||
50 | ], | ||
51 | |||
52 | shared_libs: [ | ||
53 | "libdrm", | ||
54 | ], | ||
55 | |||
56 | export_include_dirs: [ | ||
57 | "kms++/inc", | ||
58 | ], | ||
59 | } | ||