Android.bp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. cc_library_shared {
  15. name: "libincident",
  16. cflags: [
  17. "-Wall",
  18. "-Werror",
  19. "-Wno-missing-field-initializers",
  20. "-Wno-unused-variable",
  21. "-Wunused-parameter",
  22. ],
  23. shared_libs: [
  24. "libbinder",
  25. "liblog",
  26. "libutils",
  27. "libprotobuf-cpp-lite",
  28. ],
  29. static_libs: [
  30. "libplatformprotos",
  31. ],
  32. whole_static_libs: [
  33. "libincidentcompanion",
  34. ],
  35. aidl: {
  36. include_dirs: [
  37. "frameworks/base/core/java",
  38. "frameworks/native/libs/incidentcompanion/binder",
  39. ],
  40. export_aidl_headers: true,
  41. },
  42. srcs: [
  43. ":libincident_aidl",
  44. "src/IncidentReportArgs.cpp",
  45. ],
  46. export_include_dirs: ["include"],
  47. }