Android.bp 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // Copyright 2014 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: "libimg_utils",
  16. srcs: [
  17. "src/EndianUtils.cpp",
  18. "src/FileInput.cpp",
  19. "src/FileOutput.cpp",
  20. "src/SortedEntryVector.cpp",
  21. "src/Input.cpp",
  22. "src/Output.cpp",
  23. "src/Orderable.cpp",
  24. "src/TiffIfd.cpp",
  25. "src/TiffWritable.cpp",
  26. "src/TiffWriter.cpp",
  27. "src/TiffEntry.cpp",
  28. "src/TiffEntryImpl.cpp",
  29. "src/ByteArrayOutput.cpp",
  30. "src/DngUtils.cpp",
  31. "src/StripSource.cpp",
  32. ],
  33. shared_libs: [
  34. "liblog",
  35. "libutils",
  36. "libcutils",
  37. ],
  38. cflags: [
  39. "-Wall",
  40. "-Wextra",
  41. "-Werror",
  42. "-fvisibility=hidden",
  43. ],
  44. product_variables: {
  45. debuggable: {
  46. // Enable assert() in eng builds
  47. cflags: [
  48. "-UNDEBUG",
  49. "-DLOG_NDEBUG=1",
  50. ],
  51. },
  52. },
  53. export_include_dirs: ["include"],
  54. }