mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-21 04:25:28 -04:00
wms与产品解耦
Signed-off-by: xingyanan <xingyanan2@huawei.com> Change-Id: Ica061aeaa0920c37f945b37465252ca2be108e98 Signed-off-by: xingyanan <xingyanan2@huawei.com>
This commit is contained in:
+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