Android.bp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // Copyright 2016 The Android Open Source Project
  3. //
  4. // Licensed under the Apache License, Version 2.0 (the "License");
  5. // you may not use this file except in compliance with the License.
  6. // You may obtain a copy of the License at
  7. //
  8. // http://www.apache.org/licenses/LICENSE-2.0
  9. //
  10. // Unless required by applicable law or agreed to in writing, software
  11. // distributed under the License is distributed on an "AS IS" BASIS,
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. // See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. //
  16. package {
  17. // See: http://go/android-license-faq
  18. default_applicable_licenses: ["Android-Apache-2.0"],
  19. }
  20. cc_binary {
  21. name: "android.hardware.dumpstate@1.1-service.th1520",
  22. init_rc: ["android.hardware.dumpstate@1.1-service.th1520.rc"],
  23. vintf_fragments: [
  24. "android.hardware.dumpstate@1.1-service.th1520.xml",
  25. ],
  26. relative_install_path: "hw",
  27. srcs: [
  28. "DumpstateDevice.cpp",
  29. "service.cpp",
  30. ],
  31. shared_libs: [
  32. "android.hardware.dumpstate@1.0",
  33. "android.hardware.dumpstate@1.1",
  34. "libbase",
  35. "libcutils",
  36. "libdumpstateutil",
  37. "libhidlbase",
  38. "liblog",
  39. "libutils",
  40. ],
  41. cflags: [
  42. "-Werror",
  43. "-Wall",
  44. ],
  45. proprietary: true,
  46. }