Skip to content
Snippets Groups Projects
  • Nick Kralevich's avatar
    Fix m4 warnings · 85508496
    Nick Kralevich authored
    Quotes and backticks are sensitive characters and should never show up
    in a comment. Fix comment to avoid the use of a single quote. Also fixes
    a bug where certain rules were not getting included in the compiled
    policy.
    
    Fixes the following build warnings:
    
    [  3% 3564/114975] build out/target/product/taimen/obj/ETC/sepolicy_neverallows_intermediates/plat_pub_policy.conf
    m4:system/sepolicy/public/te_macros:404: Warning: excess arguments to builtin `define' ignored
    [  3% 3578/114975] build out/target/product/taimen/obj/ETC/plat_sepolicy.cil_intermediates/plat_policy.conf
    m4:system/sepolicy/public/te_macros:404: Warning: excess arguments to builtin `define' ignored
    [  3% 3579/114975] build out/target/product/taimen/obj/ETC/vendor_sepolicy.cil_intermediates/vendor_policy.conf
    m4:system/sepolicy/public/te_macros:404: Warning: excess arguments to builtin `define' ignored
    [  3% 3607/114975] build out/target/product/taimen/obj/ETC/sepolicy_neverallows_intermediates/policy.conf
    m4:system/sepolicy/public/te_macros:404: Warning: excess arguments to builtin `define' ignored
    [  3% 3677/114975] build out/target/product/taimen/obj/ETC/built_plat_sepolicy_intermediates/base_plat_policy.conf
    m4:system/sepolicy/public/te_macros:404: Warning: excess arguments to builtin `define' ignored
    
    Test: policy compiles and no warnings.
    Change-Id: Ie32d8b536955b40888b79e3a93851d2ae297f8ee
    85508496