Android.bp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. cc_defaults {
  2. name: "memory_replay_defaults",
  3. host_supported: true,
  4. srcs: [
  5. "Action.cpp",
  6. "LineBuffer.cpp",
  7. "NativeInfo.cpp",
  8. "Pointers.cpp",
  9. "Thread.cpp",
  10. "Threads.cpp",
  11. ],
  12. cflags: [
  13. "-Wall",
  14. "-Wextra",
  15. "-Werror",
  16. ],
  17. shared_libs: ["libbase"],
  18. target: {
  19. darwin: {
  20. enabled: false,
  21. },
  22. },
  23. compile_multilib: "both",
  24. multilib: {
  25. lib32: {
  26. suffix: "32",
  27. },
  28. lib64: {
  29. suffix: "64",
  30. },
  31. },
  32. }
  33. cc_binary {
  34. name: "memory_replay",
  35. defaults: ["memory_replay_defaults"],
  36. srcs: ["main.cpp"],
  37. }
  38. cc_test {
  39. name: "memory_replay_tests",
  40. defaults: ["memory_replay_defaults"],
  41. srcs: [
  42. "tests/ActionTest.cpp",
  43. "tests/LineBufferTest.cpp",
  44. "tests/NativeInfoTest.cpp",
  45. "tests/PointersTest.cpp",
  46. "tests/ThreadTest.cpp",
  47. "tests/ThreadsTest.cpp",
  48. ],
  49. local_include_dirs: ["tests"],
  50. target: {
  51. android: {
  52. test_suites: ["device-tests"],
  53. },
  54. },
  55. }