Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
0672e855
Commit
0672e855
authored
10 years ago
by
Yohei Yukawa
Committed by
Android (Google) Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Enable ASan (Address Sanitizer) for native host test"
parents
010909d4
af2673f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
native/jni/HostUnitTests.mk
+4
-0
4 additions, 0 deletions
native/jni/HostUnitTests.mk
with
4 additions
and
0 deletions
native/jni/HostUnitTests.mk
+
4
−
0
View file @
0672e855
...
...
@@ -26,8 +26,10 @@ include $(LOCAL_PATH)/NativeFileList.mk
#################### Host library for unit test
# TODO: Remove -std=c++11 once it is set by default on host build.
LATIN_IME_SRC_DIR
:=
src
LOCAL_ADDRESS_SANITIZER
:=
true
LOCAL_CFLAGS
+=
-std
=
c++11
-Wno-unused-parameter
-Wno-unused-function
LOCAL_CLANG
:=
true
LOCAL_CXX_STL
:=
libc++
LOCAL_C_INCLUDES
+=
$(
LOCAL_PATH
)
/
$(
LATIN_IME_SRC_DIR
)
LOCAL_MODULE
:=
liblatinime_host_static_for_unittests
LOCAL_MODULE_TAGS
:=
optional
...
...
@@ -38,8 +40,10 @@ include $(BUILD_HOST_STATIC_LIBRARY)
include
$(CLEAR_VARS)
LATIN_IME_TEST_SRC_DIR
:=
tests
# TODO: Remove -std=c++11 once it is set by default on host build.
LOCAL_ADDRESS_SANITIZER
:=
true
LOCAL_CFLAGS
+=
-std
=
c++11
-Wno-unused-parameter
-Wno-unused-function
LOCAL_CLANG
:=
true
LOCAL_CXX_STL
:=
libc++
LOCAL_C_INCLUDES
+=
$(
LOCAL_PATH
)
/
$(
LATIN_IME_SRC_DIR
)
LOCAL_MODULE
:=
liblatinime_host_unittests
LOCAL_MODULE_TAGS
:=
tests
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment