Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
39242b69
Commit
39242b69
authored
Dec 06, 2017
by
Mygod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refine build script for overture
parent
c79412fd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
21 deletions
+2
-21
.gitignore
.gitignore
+0
-6
core/src/main/jni/Android.mk
core/src/main/jni/Android.mk
+0
-11
core/src/overture/clean.bash
core/src/overture/clean.bash
+0
-2
core/src/overture/make.bash
core/src/overture/make.bash
+1
-1
mobile/build.gradle
mobile/build.gradle
+1
-1
No files found.
.gitignore
View file @
39242b69
...
@@ -7,14 +7,8 @@ captures/
...
@@ -7,14 +7,8 @@ captures/
release/
release/
.idea/
.idea/
.d
gen/
*.iml
*.iml
core/src/main/libs
core/src/main/obj
core/src/main/jni/overture
core/src/overture/.deps
core/src/overture/.deps
core/src/overture/bin
core/src/overture/bin
core/src/overture/pkg
core/src/overture/pkg
...
...
core/src/main/jni/Android.mk
View file @
39242b69
...
@@ -476,17 +476,6 @@ LOCAL_SRC_FILES := $(addprefix pcre/, $(libpcre_src_files))
...
@@ -476,17 +476,6 @@ LOCAL_SRC_FILES := $(addprefix pcre/, $(libpcre_src_files))
include
$(BUILD_STATIC_LIBRARY)
include
$(BUILD_STATIC_LIBRARY)
########################################################
## overture
########################################################
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
overture
LOCAL_SRC_FILES
:=
overture/
$(TARGET_ARCH_ABI)
/liboverture.so
include
$(PREBUILT_SHARED_LIBRARY)
# Import cpufeatures
# Import cpufeatures
$(call
import-module,android/cpufeatures)
$(call
import-module,android/cpufeatures)
core/src/overture/clean.bash
View file @
39242b69
#!/bin/bash
#!/bin/bash
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
TARGET
=
$DIR
/../main/jni/overture
DEPS
=
$DIR
/.deps
DEPS
=
$DIR
/.deps
rm
-rf
$DEPS
rm
-rf
$DEPS
rm
-rf
$DIR
/go/bin
rm
-rf
$DIR
/go/bin
rm
-rf
$DIR
/bin
rm
-rf
$DIR
/bin
rm
-rf
$TARGET
echo
"Successfully clean overture"
echo
"Successfully clean overture"
core/src/overture/make.bash
View file @
39242b69
...
@@ -8,7 +8,7 @@ function try () {
...
@@ -8,7 +8,7 @@ function try () {
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
MIN_API
=
$1
MIN_API
=
$1
TARGET
=
$DIR
/
../main/jni/overture
TARGET
=
$DIR
/
bin
DEPS
=
$DIR
/.deps
DEPS
=
$DIR
/.deps
ANDROID_ARM_TOOLCHAIN
=
$DEPS
/android-toolchain-
${
MIN_API
}
-arm
ANDROID_ARM_TOOLCHAIN
=
$DEPS
/android-toolchain-
${
MIN_API
}
-arm
...
...
mobile/build.gradle
View file @
39242b69
...
@@ -54,7 +54,7 @@ android {
...
@@ -54,7 +54,7 @@ android {
}
}
sourceSets
.
main
.
jniLibs
.
srcDirs
+=
sourceSets
.
main
.
jniLibs
.
srcDirs
+=
new
File
(
project
(
':core'
).
buildDir
,
"intermediates/bundles/${getCurrentFlavor()}/jni"
)
new
File
(
project
(
':core'
).
buildDir
,
"intermediates/bundles/${getCurrentFlavor()}/jni"
)
sourceSets
.
main
.
jniLibs
.
srcDirs
+=
new
File
(
project
(
':core'
).
projectDir
,
"src/
main/jni/overture
"
)
sourceSets
.
main
.
jniLibs
.
srcDirs
+=
new
File
(
project
(
':core'
).
projectDir
,
"src/
overture/bin
"
)
}
}
dependencies
{
dependencies
{
...
...
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