Android.bp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright 2017 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. cc_defaults {
  17. name: "neuralnetworks_defaults",
  18. cflags: [
  19. "-Wall",
  20. "-Wextra",
  21. "-Werror",
  22. "-O3",
  23. ],
  24. product_variables: {
  25. debuggable: { // eng and userdebug builds
  26. cflags: ["-DNN_DEBUGGABLE"],
  27. },
  28. },
  29. }
  30. cc_library_headers {
  31. name: "libneuralnetworks_generated_test_harness_headers",
  32. host_supported: false,
  33. export_include_dirs: ["tools/test_generator/include"],
  34. }
  35. cc_library_headers {
  36. name: "libneuralnetworks_generated_tests",
  37. host_supported: false,
  38. export_include_dirs: ["runtime/test/generated"],
  39. }
  40. cc_library_headers {
  41. name: "libneuralnetworks_generated_test_harness",
  42. host_supported: false,
  43. export_include_dirs: ["runtime/test/"],
  44. }