Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
ac75fd49
Commit
ac75fd49
authored
6 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Test frozen sepolicy has not diverged from prebuilts." into pi-dev
parents
199637eb
321e1b05
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
Android.mk
+43
-0
43 additions, 0 deletions
Android.mk
with
43 additions
and
0 deletions
Android.mk
+
43
−
0
View file @
ac75fd49
...
...
@@ -261,6 +261,12 @@ LOCAL_REQUIRED_MODULES += \
odm_mac_permissions.xml
endif
ifneq
($(PLATFORM_SEPOLICY_VERSION),$(TOT_SEPOLICY_VERSION))
LOCAL_REQUIRED_MODULES
+=
\
sepolicy_freeze_test
\
endif
# ($(PLATFORM_SEPOLICY_VERSION),$(TOT_SEPOLICY_VERSION))
include
$(BUILD_PHONY_PACKAGE)
#################################
...
...
@@ -1612,7 +1618,44 @@ base_plat_policy.conf :=
plat_sepolicy
:=
endif
# ($(PRODUCT_SEPOLICY_SPLIT),true)
#################################
include
$(CLEAR_VARS)
LOCAL_MODULE
:=
sepolicy_freeze_test
LOCAL_MODULE_CLASS
:=
ETC
LOCAL_MODULE_TAGS
:=
tests
include
$(BUILD_SYSTEM)/base_rules.mk
base_plat_public
:=
$(
LOCAL_PATH
)
/public
base_plat_private
:=
$(
LOCAL_PATH
)
/private
base_plat_public_prebuilt
:=
\
$(
LOCAL_PATH
)
/prebuilts/api/
$(
PLATFORM_SEPOLICY_VERSION
)
/public
base_plat_private_prebuilt
:=
\
$(
LOCAL_PATH
)
/prebuilts/api/
$(
PLATFORM_SEPOLICY_VERSION
)
/private
all_frozen_files
:=
$(
call build_policy,
$(
sepolicy_build_files
)
,
\
$(
base_plat_public
)
$(
base_plat_private
)
$(
base_plat_public_prebuilt
)
$(
base_plat_private_prebuilt
))
$(LOCAL_BUILT_MODULE)
:
PRIVATE_BASE_PLAT_PUBLIC := $(base_plat_public)
$(LOCAL_BUILT_MODULE)
:
PRIVATE_BASE_PLAT_PRIVATE := $(base_plat_private)
$(LOCAL_BUILT_MODULE)
:
PRIVATE_BASE_PLAT_PUBLIC_PREBUILT := $(base_plat_public_prebuilt)
$(LOCAL_BUILT_MODULE)
:
PRIVATE_BASE_PLAT_PRIVATE_PREBUILT := $(base_plat_private_prebuilt)
$(LOCAL_BUILT_MODULE)
:
$(all_frozen_files)
ifneq
($(PLATFORM_SEPOLICY_VERSION),$(TOT_SEPOLICY_VERSION))
@
diff
-rq
$(
PRIVATE_BASE_PLAT_PUBLIC_PREBUILT
)
$(
PRIVATE_BASE_PLAT_PUBLIC
)
@
diff
-rq
$(
PRIVATE_BASE_PLAT_PRIVATE_PREBUILT
)
$(
PRIVATE_BASE_PLAT_PRIVATE
)
endif
# ($(PLATFORM_SEPOLICY_VERSION),$(TOT_SEPOLICY_VERSION))
$(
hide
)
touch
$@
base_plat_public
:=
base_plat_private
:=
base_plat_public_prebuilt
:=
base_plat_private_prebuilt
:=
all_frozen_files
:=
#################################
add_nl
:=
build_vendor_policy
:=
...
...
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