mirror of
https://github.com/openharmony/graphic_utils.git
synced 2026-07-01 21:44:51 -04:00
@@ -23,12 +23,12 @@ if (enable_ohos_graphic_utils_product_config) {
|
||||
defines += [ "ENABLE_OHOS_GRAPHIC_UTILS_PRODUCT_CONFIG=1" ]
|
||||
}
|
||||
|
||||
lite_component("lite_graphic_utils") {
|
||||
lite_component("graphic_utils_lite") {
|
||||
features = [ ":graphic_utils" ]
|
||||
public_deps = features
|
||||
}
|
||||
|
||||
ndk_lib("lite_graphic_utils_ndk") {
|
||||
ndk_lib("graphic_utils_lite_ndk") {
|
||||
lib_extension = ".so"
|
||||
deps = [ ":graphic_utils" ]
|
||||
head_files = [ "interfaces/kits" ]
|
||||
@@ -134,7 +134,7 @@ if (ohos_kernel_type != "liteos_m") {
|
||||
]
|
||||
include_dirs = [ "//foundation/graphic/wms/interfaces/innerkits" ]
|
||||
deps = [
|
||||
":lite_graphic_utils",
|
||||
":graphic_utils_lite",
|
||||
"//drivers/peripheral/display/hal:hdi_display",
|
||||
]
|
||||
public_configs = [ ":graphic_hals_public_config" ]
|
||||
|
||||
@@ -38,7 +38,7 @@ The Utils module defines the common data structure in the graphics subsystem and
|
||||
|
||||
```
|
||||
# Generate the libgraphic_utils.so file in the out directory of the product folder through GN compilation.
|
||||
hb build lite_graphic_utils
|
||||
hb build graphic_utils_lite
|
||||
```
|
||||
|
||||
## Description<a name="section1312121216216"></a>
|
||||
@@ -95,7 +95,7 @@ The Hals module adapts and encapsulates the functions related to the driver subs
|
||||
|
||||
```
|
||||
# Generate the libgraphic_hals.so file in the out directory of the product folder through GN compilation.
|
||||
hb build lite_graphic_utils
|
||||
hb build graphic_utils_lite
|
||||
```
|
||||
|
||||
## Description<a name="section1312121216216"></a>
|
||||
|
||||
+2
-2
@@ -38,7 +38,7 @@ HALS组件中实现了对驱动子系统和平台相关功能的适配封装,
|
||||
|
||||
```
|
||||
# 通过gn编译,在out目录下对应产品的文件夹中生成libgraphic_hals.so
|
||||
hb build lite_graphic_utils
|
||||
hb build graphic_utils_lite
|
||||
```
|
||||
|
||||
## 说明<a name="section1312121216216"></a>
|
||||
@@ -94,7 +94,7 @@ UTILS组件中定义了图形子系统中的公共数据结构,并提供了一
|
||||
|
||||
```
|
||||
# 通过gn编译,在out目录下对应产品的文件夹中生成libgraphic_utils.so
|
||||
hb build lite_graphic_utils
|
||||
hb build graphic_utils_lite
|
||||
```
|
||||
|
||||
## 说明<a name="section1312121216216"></a>
|
||||
|
||||
+2
-2
@@ -27,8 +27,8 @@
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [
|
||||
"//foundation/graphic/utils:lite_graphic_utils",
|
||||
"//foundation/graphic/utils/test:lite_graphic_utils_test" ],
|
||||
"//foundation/graphic/utils:graphic_utils_lite",
|
||||
"//foundation/graphic/utils/test:graphic_utils_lite_test" ],
|
||||
"inner_kits": [],
|
||||
"test": []
|
||||
}
|
||||
|
||||
+4
-4
@@ -12,13 +12,13 @@
|
||||
if (ohos_kernel_type != "liteos_m") {
|
||||
import("//build/lite/config/test.gni")
|
||||
|
||||
group("lite_graphic_utils_test") {
|
||||
group("graphic_utils_lite_test") {
|
||||
if (ohos_build_type == "debug") {
|
||||
deps = [ ":graphic_test_utils_door" ]
|
||||
}
|
||||
}
|
||||
|
||||
config("lite_graphic_utils_test_config") {
|
||||
config("graphic_utils_lite_test_config") {
|
||||
include_dirs = []
|
||||
ldflags = [
|
||||
"-lstdc++",
|
||||
@@ -31,7 +31,7 @@ if (ohos_kernel_type != "liteos_m") {
|
||||
output_extension = "bin"
|
||||
output_dir = "$root_out_dir/test/unittest/graphic"
|
||||
deps = [ "//foundation/graphic/utils:graphic_utils" ]
|
||||
configs = [ ":lite_graphic_utils_test_config" ]
|
||||
configs = [ ":graphic_utils_lite_test_config" ]
|
||||
sources = [
|
||||
"color_unit_test.cpp",
|
||||
"geometry2d_unit_test.cpp",
|
||||
@@ -44,6 +44,6 @@ if (ohos_kernel_type != "liteos_m") {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
group("lite_graphic_utils_test") {
|
||||
group("graphic_utils_lite_test") {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user