Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Open Source Software
Zipr Toolchain
Commits
b262b3b6
Commit
b262b3b6
authored
7 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
Werror on plugins, removed unnecessary bits from umbrella. moved out appfw.
Former-commit-id: ba36b3c17076fc19b2492e050e3a5d82f0d03f7f
parent
7dd8ea43
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SConscript
+0
-29
0 additions, 29 deletions
SConscript
with
0 additions
and
29 deletions
SConscript
+
0
−
29
View file @
b262b3b6
...
...
@@ -11,9 +11,6 @@ if env.GetOption('clean'):
if
os
.
path
.
exists
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
]
+
"
/third_party/ELFIO
"
):
print
'
Removing third_party/ELFIO
'
shutil
.
rmtree
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
]
+
"
/third_party/ELFIO
"
)
if
os
.
path
.
exists
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
]
+
"
/third_party/SQLITE3
"
):
print
'
Removing third_party/SQLITE3
'
shutil
.
rmtree
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
]
+
"
/third_party/SQLITE3
"
)
if
os
.
path
.
exists
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
]
+
"
/include/elfio
"
):
print
'
Removing include/elfio
'
shutil
.
rmtree
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
]
+
"
/include/elfio
"
)
...
...
@@ -41,22 +38,6 @@ else:
else
:
assert
os
.
path
.
isdir
(
ELFIO_DIR
)
# SQLITE3
SQLITE3_DIR
=
os
.
path
.
join
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
],
'
third_party/SQLITE3
'
)
if
not
os
.
path
.
exists
(
SQLITE3_DIR
):
os
.
makedirs
(
SQLITE3_DIR
)
# make directory
tgz
=
tarfile
.
open
(
os
.
path
.
join
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
],
'
third_party/sqlite-autoconf-3071300.tar.gz
'
),
"
r:gz
"
)
print
'
Extracting needed files from sqlite3 tarball
'
#tgz.list(verbose=False)
tgz
.
extract
(
'
sqlite-autoconf-3071300/sqlite3.h
'
,
SQLITE3_DIR
)
tgz
.
extract
(
'
sqlite-autoconf-3071300/sqlite3.c
'
,
SQLITE3_DIR
)
# copy sqlite3.h
source_dir
=
os
.
path
.
join
(
SQLITE3_DIR
,
'
sqlite-autoconf-3071300
'
)
target_dir
=
os
.
path
.
join
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
],
'
appfw
'
,
'
src
'
)
shutil
.
copy
(
os
.
path
.
join
(
source_dir
,
'
sqlite3.h
'
),
os
.
path
.
abspath
(
os
.
path
.
join
(
target_dir
,
'
sqlite3.h
'
)))
else
:
assert
os
.
path
.
isdir
(
SQLITE3_DIR
)
# check/install targ-config.h
if
not
os
.
path
.
isfile
(
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
]
+
"
/include/targ-config.h
"
):
#print "uname=", sysname, " xx ", nodename, " xx ", release, " xx ", version, " xx ", machine
...
...
@@ -106,15 +87,5 @@ if 'build_tools' not in env or env['build_tools'] is None or int(env['build_tool
tools
=
SConscript
(
"
tools/SConscript
"
,
variant_dir
=
'
scons_build/tools
'
)
Depends
(
pedi
,
tools
)
# appfw
appfw64
=
None
appfw32
=
None
if
'
build_appfw
'
in
env
:
if
int
(
env
[
'
build_appfw
'
])
==
1
:
appfw64
=
SConscript
(
"
appfw/src/SConscript.64
"
,
variant_dir
=
'
scons_build/appfw.64
'
)
appfw32
=
SConscript
(
"
appfw/src/SConscript.32
"
,
variant_dir
=
'
scons_build/appfw.32
'
)
Depends
(
pedi
,(
appfw64
,
appfw32
))
Default
(
pedi
)
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