mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-19 17:08:11 -04:00
+4
-7
@@ -12,6 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import("//build/ohos.gni")
|
||||
import("//foundation/graphic/standard/graphic_config.gni")
|
||||
|
||||
## Build libwms.so
|
||||
config("libwms_config") {
|
||||
@@ -28,14 +29,10 @@ config("libwms_config") {
|
||||
"//foundation/windowmanager/dm/include",
|
||||
"//foundation/windowmanager/dmserver/include",
|
||||
]
|
||||
defines = []
|
||||
|
||||
if ("${product_name}" == "rk3566" || "${product_name}" == "rk3568" ||
|
||||
"${product_name}" == "Hi3516DV300" || "${product_name}" == "ohos-arm64" ||
|
||||
"${product_name}" == "watchos") {
|
||||
defines = [ "ACE_DISABLE_GL" ]
|
||||
} else {
|
||||
defines = [ "ACE_ENABLE_GL" ]
|
||||
}
|
||||
# Get gpu defines
|
||||
defines += gpu_defines
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("window_divider_image") {
|
||||
|
||||
Reference in New Issue
Block a user