fix cross platform

Signed-off-by: 李蔚 <liwei576@huawei.com>
This commit is contained in:
李蔚
2023-02-17 03:58:55 +00:00
committed by Gitee
parent 26a5f2f9f6
commit 8d793ed302
+5 -5
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Copyright (c) 2021-2023 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -13,10 +13,10 @@
config("libEGL_public_config") {
include_dirs = [ "api" ]
defines = [
"ENABLE_EGL",
"OHOS_PLATFORM",
]
defines = [ "ENABLE_EGL" ]
if (current_os == "ohos") {
defines += [ "OHOS_PLATFORM" ]
}
}
group("libEGL") {