1# Copyright (c) 2020-2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#     http://www.apache.org/licenses/LICENSE-2.0
6# Unless required by applicable law or agreed to in writing, software
7# distributed under the License is distributed on an "AS IS" BASIS,
8# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9# See the License for the specific language governing permissions and
10# limitations under the License.
11
12import("//build/lite/config/test.gni")
13
14group("surface_lite_test") {
15  if (ohos_build_type == "debug") {
16    deps = [ ":surface_lite_unittest_door" ]
17  }
18}
19
20if (ohos_build_type == "debug") {
21  unittest("surface_lite_unittest_door") {
22    output_extension = "bin"
23    output_dir = "$root_out_dir/test/unittest/graphic"
24    sources = [ "unittest/graphic_surface_test.cpp" ]
25    deps = [
26      "//foundation/communication/ipc/interfaces/innerkits/c/ipc:ipc_single",
27      "//foundation/graphic/surface_lite:surface",
28    ]
29  }
30}
31