diff --git a/services/modules/BUILD.gn b/services/modules/BUILD.gn index 7a11170a53bf6872065dbde14d79767f055e4c30..5023a02edf4dde0654a9638b95ad16245a8369e2 100755 --- a/services/modules/BUILD.gn +++ b/services/modules/BUILD.gn @@ -10,6 +10,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +import("//build/ohos.gni") group("static_modules") { if (!defined(ohos_lite)) { @@ -22,9 +23,9 @@ group("static_modules") { if (build_seccomp) { deps += [ "seccomp:libseccomp_static" ] } - } - if (build_selinux) { - deps += [ "selinux:libselinuxadp_static" ] + if (build_selinux) { + deps += [ "selinux:libselinuxadp_static" ] + } } } @@ -37,8 +38,8 @@ group("modulesgroup") { if (build_seccomp) { deps += [ "seccomp:seccomp_module" ] } - } - if (build_selinux) { - deps += [ "selinux:selinuxadp" ] + if (build_selinux) { + deps += [ "selinux:selinuxadp" ] + } } }