Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(12)

Issue 6499083: CMake Android build rules for asan runtime and tests.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by eugenis
Modified:
11 years, 8 months ago
Base URL:
https://llvm.org/svn/llvm-project/compiler-rt/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -41 lines) Patch
M CMakeLists.txt View 2 2 chunks +7 lines, -14 lines 0 comments Download
M lib/asan/CMakeLists.txt View 1 2 2 chunks +18 lines, -8 lines 1 comment Download
M lib/asan/tests/CMakeLists.txt View 1 2 4 chunks +57 lines, -15 lines 1 comment Download
M lib/interception/CMakeLists.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/sanitizer_common/CMakeLists.txt View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3
samsonov
LGTM! https://codereview.appspot.com/6499083/diff/2001/lib/asan/tests/CMakeLists.txt File lib/asan/tests/CMakeLists.txt (right): https://codereview.appspot.com/6499083/diff/2001/lib/asan/tests/CMakeLists.txt#newcode147 lib/asan/tests/CMakeLists.txt:147: ${ASAN_UNITTEST_INSTRUMENTED_CFLAGS} ${ASAN_GTEST_INCLUDE_CFLAGS} Hm, can you use set_source_file_properties(${ASAN_NOINST_TEST_SOURCES} PROPERTIES ...
11 years, 8 months ago (2012-09-06 13:38:29 UTC) #1
Evgeniy Stepanov
PTAL. I've added custom CFLAGS for Android (there are significant differencies, like not using a ...
11 years, 7 months ago (2012-09-10 10:24:48 UTC) #2
samsonov
11 years, 7 months ago (2012-09-10 11:10:05 UTC) #3
LGTM

https://codereview.appspot.com/6499083/diff/6001/lib/asan/CMakeLists.txt
File lib/asan/CMakeLists.txt (right):

https://codereview.appspot.com/6499083/diff/6001/lib/asan/CMakeLists.txt#newc...
lib/asan/CMakeLists.txt:46: endif()
I think you may introduce ASAN_COMMON_DEFINITONS, ASAN_ANDROID_DEFINITIONS, but
leaving this up to you.

https://codereview.appspot.com/6499083/diff/6001/lib/asan/tests/CMakeLists.txt
File lib/asan/tests/CMakeLists.txt (right):

https://codereview.appspot.com/6499083/diff/6001/lib/asan/tests/CMakeLists.tx...
lib/asan/tests/CMakeLists.txt:17: if(ANDROID)
Same here. Could you please remove much of flags duplication here?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b