Android.bp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // Copyright (C) 2016 The Android Open Source Project
  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. sourceFiles = [
  15. "buffer_hub_queue_client.cpp",
  16. "buffer_hub_queue_parcelable.cpp",
  17. ]
  18. includeFiles = [
  19. "include",
  20. ]
  21. staticLibraries = [
  22. "libbufferhub",
  23. ]
  24. sharedLibraries = [
  25. "libbase",
  26. "libbinder",
  27. "libcutils",
  28. "libhardware",
  29. "liblog",
  30. "libui",
  31. "libutils",
  32. "libpdx_default_transport",
  33. ]
  34. headerLibraries = [
  35. "libdvr_headers",
  36. "libnativebase_headers",
  37. ]
  38. cc_library_shared {
  39. name: "libbufferhubqueue",
  40. cflags: [
  41. "-DLOG_TAG=\"libbufferhubqueue\"",
  42. "-DTRACE=0",
  43. "-DATRACE_TAG=ATRACE_TAG_GRAPHICS",
  44. "-Wall",
  45. "-Werror",
  46. "-Wno-format",
  47. "-Wno-unused-parameter",
  48. "-Wno-unused-variable",
  49. ],
  50. srcs: sourceFiles,
  51. export_include_dirs: includeFiles,
  52. export_static_lib_headers: staticLibraries,
  53. static_libs: staticLibraries,
  54. shared_libs: sharedLibraries,
  55. header_libs: headerLibraries,
  56. }
  57. subdirs = ["benchmarks", "tests"]