ya.make 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Generated by devtools/yamaker.
  2. INCLUDE(${ARCADIA_ROOT}/build/platform/clang/arch.cmake)
  3. LIBRARY(clang_rt.profile${CLANG_RT_SUFFIX})
  4. LICENSE(
  5. Apache-2.0 AND
  6. Apache-2.0 WITH LLVM-exception AND
  7. MIT AND
  8. NCSA
  9. )
  10. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  11. SUBSCRIBER(g:cpp-contrib)
  12. ADDINCL(
  13. contrib/libs/clang14-rt/include
  14. contrib/libs/clang14-rt/lib
  15. )
  16. NO_COMPILER_WARNINGS()
  17. NO_UTIL()
  18. NO_SANITIZE()
  19. CFLAGS(
  20. -DCOMPILER_RT_HAS_ATOMICS=1
  21. -DCOMPILER_RT_HAS_FCNTL_LCK=1
  22. -DCOMPILER_RT_HAS_UNAME=1
  23. -fcommon
  24. -fno-lto
  25. -fno-exceptions
  26. )
  27. SRCS(
  28. GCDAProfiling.c
  29. InstrProfiling.c
  30. InstrProfilingBuffer.c
  31. InstrProfilingFile.c
  32. InstrProfilingInternal.c
  33. InstrProfilingMerge.c
  34. InstrProfilingMergeFile.c
  35. InstrProfilingNameVar.c
  36. InstrProfilingPlatformDarwin.c
  37. InstrProfilingPlatformFuchsia.c
  38. InstrProfilingPlatformLinux.c
  39. InstrProfilingPlatformOther.c
  40. InstrProfilingPlatformWindows.c
  41. InstrProfilingRuntime.cpp
  42. InstrProfilingUtil.c
  43. InstrProfilingValue.c
  44. InstrProfilingVersionVar.c
  45. InstrProfilingWriter.c
  46. )
  47. END()