未验证 提交 a546250a 编写于 作者: O openharmony_ci 提交者: Gitee

!1200 解决selinuxadp的编译

Merge pull request !1200 from cheng_jinsong/selinuxbuild
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//build/ohos.gni")
group("static_modules") { group("static_modules") {
if (!defined(ohos_lite)) { if (!defined(ohos_lite)) {
...@@ -22,9 +23,9 @@ group("static_modules") { ...@@ -22,9 +23,9 @@ group("static_modules") {
if (build_seccomp) { if (build_seccomp) {
deps += [ "seccomp:libseccomp_static" ] deps += [ "seccomp:libseccomp_static" ]
} }
} if (build_selinux) {
if (build_selinux) { deps += [ "selinux:libselinuxadp_static" ]
deps += [ "selinux:libselinuxadp_static" ] }
} }
} }
...@@ -37,8 +38,8 @@ group("modulesgroup") { ...@@ -37,8 +38,8 @@ group("modulesgroup") {
if (build_seccomp) { if (build_seccomp) {
deps += [ "seccomp:seccomp_module" ] deps += [ "seccomp:seccomp_module" ]
} }
} if (build_selinux) {
if (build_selinux) { deps += [ "selinux:selinuxadp" ]
deps += [ "selinux:selinuxadp" ] }
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册