Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
814a5cec
Commit
814a5cec
authored
Jan 22, 2020
by
Miguel Pari Soto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(android): add support for android modules selection
parent
3019927a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
build_sdk.py
platforms/android/build_sdk.py
+4
-0
No files found.
platforms/android/build_sdk.py
View file @
814a5cec
...
...
@@ -226,6 +226,9 @@ class Builder:
if
self
.
ninja_path
!=
'ninja'
:
cmake_vars
[
'CMAKE_MAKE_PROGRAM'
]
=
self
.
ninja_path
if
self
.
config
.
modules_list
is
not
None
:
cmd
.
append
(
"-DBUILD_LIST='
%
s'"
%
self
.
config
.
modules_list
)
if
self
.
config
.
extra_modules_path
is
not
None
:
cmd
.
append
(
"-DOPENCV_EXTRA_MODULES_PATH='
%
s'"
%
self
.
config
.
extra_modules_path
)
...
...
@@ -374,6 +377,7 @@ if __name__ == "__main__":
parser
.
add_argument
(
'--ndk_path'
,
help
=
"Path to Android NDK to use for build"
)
parser
.
add_argument
(
'--sdk_path'
,
help
=
"Path to Android SDK to use for build"
)
parser
.
add_argument
(
'--use_android_buildtools'
,
action
=
"store_true"
,
help
=
'Use cmake/ninja build tools from Android SDK'
)
parser
.
add_argument
(
"--modules_list"
,
help
=
"List of modules to include for build"
)
parser
.
add_argument
(
"--extra_modules_path"
,
help
=
"Path to extra modules to use for build"
)
parser
.
add_argument
(
'--sign_with'
,
help
=
"Certificate to sign the Manager apk"
)
parser
.
add_argument
(
'--build_doc'
,
action
=
"store_true"
,
help
=
"Build javadoc"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment