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
2db1e56f
Commit
2db1e56f
authored
10 years ago
by
Yohei Yukawa
Committed by
Android (Google) Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Stop building host native test in unbundled build"
parents
e71c951c
ba35bb83
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
native/jni/HostUnitTests.mk
+7
-1
7 additions, 1 deletion
native/jni/HostUnitTests.mk
native/jni/run-tests.sh
+7
-0
7 additions, 0 deletions
native/jni/run-tests.sh
with
14 additions
and
1 deletion
native/jni/HostUnitTests.mk
+
7
−
1
View file @
2db1e56f
...
@@ -12,6 +12,9 @@
...
@@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
# Host build is never supported in unbundled (NDK/tapas) build
ifeq
(,$(TARGET_BUILD_APPS))
# HACK: Temporarily disable host tool build on Mac until the build system is ready for C++11.
# HACK: Temporarily disable host tool build on Mac until the build system is ready for C++11.
LATINIME_HOST_OSNAME
:=
$(
shell
uname
-s
)
LATINIME_HOST_OSNAME
:=
$(
shell
uname
-s
)
ifneq
($(LATINIME_HOST_OSNAME), Darwin)
# TODO: Remove this
ifneq
($(LATINIME_HOST_OSNAME), Darwin)
# TODO: Remove this
...
@@ -47,10 +50,13 @@ LOCAL_SRC_FILES := $(addprefix $(LATIN_IME_TEST_SRC_DIR)/, $(LATIN_IME_CORE_TEST
...
@@ -47,10 +50,13 @@ LOCAL_SRC_FILES := $(addprefix $(LATIN_IME_TEST_SRC_DIR)/, $(LATIN_IME_CORE_TEST
LOCAL_STATIC_LIBRARIES
+=
liblatinime_host_static_for_unittests
LOCAL_STATIC_LIBRARIES
+=
liblatinime_host_static_for_unittests
include
$(BUILD_HOST_NATIVE_TEST)
include
$(BUILD_HOST_NATIVE_TEST)
include
$(LOCAL_PATH)/CleanupNativeFileList.mk
endif
# Darwin - TODO: Remove this
endif
# Darwin - TODO: Remove this
endif
# TARGET_BUILD_APPS
#################### Clean up the tmp vars
#################### Clean up the tmp vars
LATINIME_HOST_OSNAME
:=
LATINIME_HOST_OSNAME
:=
LATIN_IME_SRC_DIR
:=
LATIN_IME_SRC_DIR
:=
LATIN_IME_TEST_SRC_DIR
:=
LATIN_IME_TEST_SRC_DIR
:=
include
$(LOCAL_PATH)/CleanupNativeFileList.mk
This diff is collapsed.
Click to expand it.
native/jni/run-tests.sh
+
7
−
0
View file @
2db1e56f
...
@@ -48,6 +48,13 @@ if [[ $show_usage == yes ]]; then
...
@@ -48,6 +48,13 @@ if [[ $show_usage == yes ]]; then
if
[[
${
BASH_SOURCE
[0]
}
!=
$0
]]
;
then return
;
else
exit
1
;
fi
if
[[
${
BASH_SOURCE
[0]
}
!=
$0
]]
;
then return
;
else
exit
1
;
fi
fi
fi
# Host build is never supported in unbundled (NDK/tapas) build
if
[[
$enable_host_test
==
yes
&&
-n
$TARGET_BUILD_APPS
]]
;
then
echo
"Host build is never supported in tapas build."
1>&2
echo
"Use lunch command instead."
1>&2
if
[[
${
BASH_SOURCE
[0]
}
!=
$0
]]
;
then return
;
else
exit
1
;
fi
fi
target_test_name
=
liblatinime_target_unittests
target_test_name
=
liblatinime_target_unittests
host_test_name
=
liblatinime_host_unittests
host_test_name
=
liblatinime_host_unittests
...
...
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