Android.bp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Copyright (C) 2018 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_test {
  15. name: "SurfaceFlinger_test",
  16. defaults: ["surfaceflinger_defaults"],
  17. test_suites: ["device-tests"],
  18. srcs: [
  19. "BufferGenerator.cpp",
  20. "Credentials_test.cpp",
  21. "InvalidHandles_test.cpp",
  22. "Stress_test.cpp",
  23. "SurfaceInterceptor_test.cpp",
  24. "Transaction_test.cpp",
  25. "VirtualDisplay_test.cpp",
  26. ],
  27. data: ["SurfaceFlinger_test.filter"],
  28. static_libs: [
  29. "libtrace_proto",
  30. ],
  31. shared_libs: [
  32. "libandroid",
  33. "libbinder",
  34. "libcutils",
  35. "libEGL",
  36. "libGLESv2",
  37. "libgui",
  38. "liblayers_proto",
  39. "liblog",
  40. "libprotobuf-cpp-full",
  41. "libtimestats_proto",
  42. "libui",
  43. "libutils",
  44. ]
  45. }
  46. subdirs = [
  47. "fakehwc",
  48. "hwc2",
  49. "unittests",
  50. "vsync",
  51. "waitforvsync",
  52. ]