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
Model registry
Operate
Terraform modules
Analyze
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
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
5152fc88
Commit
5152fc88
authored
6 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Don't check PRODUCT_SHIPPING_API_LEVEL to determine fake treble."
parents
f0dc5eae
0d233837
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
treble_sepolicy_tests_for_release.mk
+6
-8
6 additions, 8 deletions
treble_sepolicy_tests_for_release.mk
with
6 additions
and
8 deletions
treble_sepolicy_tests_for_release.mk
+
6
−
8
View file @
5152fc88
...
@@ -89,20 +89,18 @@ $(treble_sepolicy_tests_$(version)): PRIVATE_PLAT_SEPOLICY := $(built_plat_sepol
...
@@ -89,20 +89,18 @@ $(treble_sepolicy_tests_$(version)): PRIVATE_PLAT_SEPOLICY := $(built_plat_sepol
$(treble_sepolicy_tests_$(version))
:
PRIVATE_PLAT_PUB_SEPOLICY := $(base_plat_pub_policy.cil)
$(treble_sepolicy_tests_$(version))
:
PRIVATE_PLAT_PUB_SEPOLICY := $(base_plat_pub_policy.cil)
$(treble_sepolicy_tests_$(version))
:
PRIVATE_FAKE_TREBLE :=
$(treble_sepolicy_tests_$(version))
:
PRIVATE_FAKE_TREBLE :=
ifeq
($(PRODUCT_FULL_TREBLE_OVERRIDE),true)
ifeq
($(PRODUCT_FULL_TREBLE_OVERRIDE),true)
# TODO(b/113124961): undefined PRODUCT_SHIPPING_API_LEVEL should default to full
# TODO(b/113124961): account for PRODUCT_SHIPPING_API_LEVEL when determining
# Treble. Change the behavior once the bug is fixed.
# fake treble status once emulator is no longer fake treble.
ifndef
PRODUCT_SHIPPING_API_LEVEL
#ifdef PRODUCT_SHIPPING_API_LEVEL
$(treble_sepolicy_tests_$(version))
:
PRIVATE_FAKE_TREBLE := --fake-treble
else
# These requirements were originally added in Android Oreo. Devices
# These requirements were originally added in Android Oreo. Devices
# launching after this should not distinguish between
# launching after this should not distinguish between
# PRODUCT_FULL_TREBLE and PRODUCT_FULL_TREBLE_OVERRIDE since this could
# PRODUCT_FULL_TREBLE and PRODUCT_FULL_TREBLE_OVERRIDE since this could
# lead to release problems where they think they pass this test but
# lead to release problems where they think they pass this test but
# fail it when it actually gets runned for compliance.
# fail it when it actually gets runned for compliance.
ifeq
($(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),26),)
#
ifeq ($(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),26),)
$(treble_sepolicy_tests_$(version))
:
PRIVATE_FAKE_TREBLE := --fake-treble
$(treble_sepolicy_tests_$(version))
:
PRIVATE_FAKE_TREBLE := --fake-treble
endif
# if PRODUCT_SHIPPING_API_LEVEL < 26 (Android Oreo)
#
endif # if PRODUCT_SHIPPING_API_LEVEL < 26 (Android Oreo)
endif
# PRODUCT_SHIPPING_API_LEVEL defined
#
endif # PRODUCT_SHIPPING_API_LEVEL defined
endif
# PRODUCT_FULL_TREBLE_OVERRIDE = true
endif
# PRODUCT_FULL_TREBLE_OVERRIDE = true
$(treble_sepolicy_tests_$(version))
:
$(HOST_OUT_EXECUTABLES)/treble_sepolicy_tests
\
$(treble_sepolicy_tests_$(version))
:
$(HOST_OUT_EXECUTABLES)/treble_sepolicy_tests
\
$(all_fc_files) $(built_sepolicy) $(built_plat_sepolicy)
\
$(all_fc_files) $(built_sepolicy) $(built_plat_sepolicy)
\
...
...
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