2021-06-01 16:06:03 +00:00
|
|
|
# Copyright (c) 2021 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
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
import("//build/ohos.gni")
|
2021-10-06 16:07:34 +00:00
|
|
|
import("//foundation/graphic/standard/utils/wmlayout/wmlayout.gni")
|
2021-11-25 02:22:34 +00:00
|
|
|
import("graphic_config.gni")
|
2021-06-01 16:06:03 +00:00
|
|
|
|
2021-12-16 07:01:56 +00:00
|
|
|
group("default") {
|
|
|
|
public_deps = [
|
|
|
|
":default.scss",
|
|
|
|
":graphic.rc",
|
2021-12-16 07:02:06 +00:00
|
|
|
"frameworks/animation_server:animation_server",
|
2021-12-20 03:34:07 +00:00
|
|
|
"frameworks/animation_server:cursor.raw",
|
2021-12-16 07:01:56 +00:00
|
|
|
"frameworks/bootanimation:bootanimation",
|
2022-01-20 14:04:43 +00:00
|
|
|
"frameworks/bootanimation:bootanimation_pics",
|
2021-12-16 07:01:56 +00:00
|
|
|
"frameworks/dumper:gdumper",
|
|
|
|
"frameworks/dumper:gdumper.ini",
|
|
|
|
"frameworks/dumper:graphic_dumper_server",
|
|
|
|
"frameworks/vsync:vsync_server",
|
|
|
|
"frameworks/wmserver:screen-info-test",
|
|
|
|
"frameworks/wmserver:wmserver",
|
|
|
|
"frameworks/wmservice:wmservice_test",
|
2021-12-20 03:34:06 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2022-01-18 06:44:30 +00:00
|
|
|
group("graphic_standard_test") {
|
2021-12-20 03:34:06 +00:00
|
|
|
testonly = true
|
|
|
|
|
|
|
|
public_deps = [
|
2021-12-20 03:34:07 +00:00
|
|
|
"frameworks/fence:test",
|
2021-12-20 03:34:06 +00:00
|
|
|
"frameworks/surface:test",
|
|
|
|
"frameworks/vsync:test",
|
2021-12-16 07:01:56 +00:00
|
|
|
"frameworks/wmtest:wmtest",
|
2022-01-18 08:51:52 +00:00
|
|
|
"rosen/modules/composer:test",
|
2022-02-11 07:35:43 +00:00
|
|
|
"rosen/modules/effect/test/unittest:test",
|
2021-12-16 07:01:56 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2021-06-01 16:06:03 +00:00
|
|
|
## Install graphic.rc to /system/etc/init/graphic.rc {{{
|
|
|
|
ohos_prebuilt_etc("graphic.rc") {
|
2022-01-17 02:07:24 +00:00
|
|
|
source = "graphic.cfg"
|
2021-06-01 16:06:03 +00:00
|
|
|
relative_install_dir = "init"
|
|
|
|
part_name = "graphic_standard"
|
|
|
|
subsystem_name = "graphic"
|
|
|
|
}
|
|
|
|
|
|
|
|
## Install graphic.rc to /system/etc/init/graphic.rc }}}
|
|
|
|
|
2021-09-15 09:50:32 +00:00
|
|
|
## Install default.scss to /system/etc/wmlayout.d/default.scss {{{
|
2021-10-06 16:07:34 +00:00
|
|
|
wmlayout_scss("default.scss") {
|
|
|
|
scss = "default.scss"
|
2021-09-15 09:50:32 +00:00
|
|
|
part_name = "graphic_standard"
|
|
|
|
subsystem_name = "graphic"
|
|
|
|
}
|
|
|
|
|
|
|
|
## Install default.scss to /system/etc/wmlayout.d/default.scss }}}
|
|
|
|
|
2021-06-01 16:06:03 +00:00
|
|
|
group("libsurface") {
|
|
|
|
public_deps = [ "frameworks/surface:surface" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("libvsync_client") {
|
|
|
|
public_deps = [ "frameworks/vsync:libvsync_client" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("libwms_client") {
|
|
|
|
public_deps = [ "frameworks/wm:wms_client" ]
|
|
|
|
}
|
2021-08-04 12:56:22 +00:00
|
|
|
|
|
|
|
group("libwmclient") {
|
|
|
|
public_deps = [ "frameworks/wm:libwmclient" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("libwmservice") {
|
|
|
|
public_deps = [ "frameworks/wmservice:libwmservice" ]
|
|
|
|
}
|
2021-11-25 02:21:55 +00:00
|
|
|
|
|
|
|
group("libfence") {
|
|
|
|
public_deps = [ "frameworks/fence:libfence" ]
|
|
|
|
}
|
2021-11-25 02:22:34 +00:00
|
|
|
|
|
|
|
group("libgl") {
|
|
|
|
public_deps = [
|
|
|
|
"//third_party/EGL:libEGL",
|
|
|
|
"//third_party/openGLES:libGLES",
|
|
|
|
]
|
|
|
|
public_deps += libgl
|
|
|
|
}
|
2021-12-06 02:25:21 +00:00
|
|
|
|
|
|
|
group("libgraphic_dumper_client") {
|
|
|
|
public_deps = [ "frameworks/dumper:libgraphic_dumper_client" ]
|
|
|
|
}
|