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
0c1a3ec6
Commit
0c1a3ec6
authored
13 years ago
by
Ken Wakasa
Browse files
Options
Downloads
Patches
Plain Diff
Make LatinIME's native Makefile NDK-friendly
Change-Id: I55d430756b3a8251c9ff49dfabfcecb047d979a4
parent
f24d1102
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/Android.mk
+13
-0
13 additions, 0 deletions
native/jni/Android.mk
with
13 additions
and
0 deletions
native/jni/Android.mk
+
13
−
0
View file @
0c1a3ec6
...
@@ -87,7 +87,12 @@ endif # FLAG_DO_PROFILE
...
@@ -87,7 +87,12 @@ endif # FLAG_DO_PROFILE
LOCAL_MODULE
:=
libjni_latinime_static
LOCAL_MODULE
:=
libjni_latinime_static
LOCAL_MODULE_TAGS
:=
optional
LOCAL_MODULE_TAGS
:=
optional
ifdef
HISTORICAL_NDK_VERSIONS_ROOT
# In the platform build system
include
external/stlport/libstlport.mk
include
external/stlport/libstlport.mk
else
# In the NDK build system
LOCAL_C_INCLUDES
+=
external/stlport/stlport bionic
endif
include
$(BUILD_STATIC_LIBRARY)
include
$(BUILD_STATIC_LIBRARY)
######################################
######################################
...
@@ -95,7 +100,12 @@ include $(CLEAR_VARS)
...
@@ -95,7 +100,12 @@ include $(CLEAR_VARS)
# All code in LOCAL_WHOLE_STATIC_LIBRARIES will be built into this shared library.
# All code in LOCAL_WHOLE_STATIC_LIBRARIES will be built into this shared library.
LOCAL_WHOLE_STATIC_LIBRARIES
:=
libjni_latinime_static
LOCAL_WHOLE_STATIC_LIBRARIES
:=
libjni_latinime_static
ifdef
HISTORICAL_NDK_VERSIONS_ROOT
# In the platform build system
LOCAL_SHARED_LIBRARIES
:=
libstlport
LOCAL_SHARED_LIBRARIES
:=
libstlport
else
# In the NDK build system
LOCAL_SHARED_LIBRARIES
:=
libstlport_static
endif
ifeq
($(FLAG_DO_PROFILE), true)
ifeq
($(FLAG_DO_PROFILE), true)
$(
warning
Making profiling version of native library
)
$(
warning
Making profiling version of native library
)
...
@@ -115,7 +125,10 @@ endif
...
@@ -115,7 +125,10 @@ endif
LOCAL_MODULE
:=
libjni_latinime
LOCAL_MODULE
:=
libjni_latinime
LOCAL_MODULE_TAGS
:=
optional
LOCAL_MODULE_TAGS
:=
optional
ifdef
HISTORICAL_NDK_VERSIONS_ROOT
# In the platform build system
include
external/stlport/libstlport.mk
include
external/stlport/libstlport.mk
endif
include
$(BUILD_SHARED_LIBRARY)
include
$(BUILD_SHARED_LIBRARY)
#################### Clean up the tmp vars
#################### Clean up the tmp vars
...
...
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