Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
f6081348
Commit
f6081348
authored
Sep 24, 2017
by
Jeff Vander Stoep
Committed by
android-build-merger
Sep 24, 2017
Browse files
Options
Downloads
Plain Diff
Merge "Move python scripts to python_binary_host build rule"
am:
6922dfe3
Change-Id: I366e2005f554ad2b98aeff4a7c83521ad74d12bd
parents
16efc04d
6922dfe3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Android.mk
+2
-2
2 additions, 2 deletions
Android.mk
tests/Android.bp
+18
-10
18 additions, 10 deletions
tests/Android.bp
with
20 additions
and
12 deletions
Android.mk
+
2
−
2
View file @
f6081348
...
...
@@ -1150,10 +1150,10 @@ treble_sepolicy_tests := $(intermediates)/treble_sepolicy_tests
$(treble_sepolicy_tests)
:
PRIVATE_PLAT_FC := $(built_plat_fc)
$(treble_sepolicy_tests)
:
PRIVATE_NONPLAT_FC := $(built_nonplat_fc)
$(treble_sepolicy_tests)
:
PRIVATE_SEPOLICY := $(built_sepolicy)
$(treble_sepolicy_tests)
:
$(HOST_OUT_EXECUTABLES)/treble_sepolicy_tests
.py
\
$(treble_sepolicy_tests)
:
$(HOST_OUT_EXECUTABLES)/treble_sepolicy_tests
\
$(built_plat_fc) $(built_nonplat_fc) $(built_sepolicy)
@
mkdir
-p
$(
dir
$@
)
$(
hide
)
python
$(
HOST_OUT_EXECUTABLES
)
/treble_sepolicy_tests
.py
-l
$(
HOST_OUT
)
/lib64
-f
$(
PRIVATE_PLAT_FC
)
-f
$(
PRIVATE_NONPLAT_FC
)
-p
$(
PRIVATE_SEPOLICY
)
$(
hide
)
python
$(
HOST_OUT_EXECUTABLES
)
/treble_sepolicy_tests
-l
$(
HOST_OUT
)
/lib64
-f
$(
PRIVATE_PLAT_FC
)
-f
$(
PRIVATE_NONPLAT_FC
)
-p
$(
PRIVATE_SEPOLICY
)
$(
hide
)
touch
$@
endif
# ($(PRODUCT_FULL_TREBLE),true)
#################################
...
...
This diff is collapsed.
Click to expand it.
tests/Android.bp
+
18
−
10
View file @
f6081348
...
...
@@ -15,16 +15,24 @@ cc_library_host_shared {
},
}
cc_prebuilt_binary {
name: "policy.py",
srcs: ["policy.py"],
host_supported: true,
required: ["libsepolwrap"],
python_defaults {
name: "py2_only",
version: {
py2: {
enabled: true,
},
py3: {
enabled: false,
},
},
}
cc_prebuilt_binary {
name: "treble_sepolicy_tests.py",
srcs: ["treble_sepolicy_tests.py"],
host_supported: true,
required: ["policy.py"],
python_binary_host {
name: "treble_sepolicy_tests",
srcs: [
"treble_sepolicy_tests.py",
"policy.py",
],
required: ["libsepolwrap"],
defaults: ["py2_only"],
}
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