wms与产品解耦

Signed-off-by: xingyanan <xingyanan2@huawei.com>
Change-Id: Ica061aeaa0920c37f945b37465252ca2be108e98
Signed-off-by: xingyanan <xingyanan2@huawei.com>
This commit is contained in:
xingyanan
2022-02-23 19:57:53 +08:00
parent 69699ced89
commit 210ca0abcf
+4 -7
View File
@@ -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") {