BUILD.gn 1.2 KB
Newer Older
1
# Copyright (C) 2023 Huawei Device Co., Ltd.
M
mamingshuai 已提交
2 3 4 5 6 7 8 9 10 11
# 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
Z
zhurong 已提交
12
# limitations under the License.
M
mamingshuai 已提交
13 14 15 16 17

import("//build/ohos_var.gni")
group("graphic") {
  testonly = true
  if (is_standard_system) {
Z
zhurong 已提交
18
    deps = [
19
      "crossplatform:crossplatform",
X
xiongwei 已提交
20
      "effectKit:EffectKitTest",
H
hk_js 已提交
21
      "graphicColorSpace:ActsColorSpaceManagerTest",
22
      "graphicnapidrawingtest:ActsGraphicNapiDrawingTest",
K
kouyanan 已提交
23
      "graphicnapitest:ActsGraphicNapiTest",
Z
zhurong 已提交
24
      "webGL:webGL_hap_test",
Z
zhurong 已提交
25
      "windowStage:ActsWindowStageTest",
Z
zhurong 已提交
26 27
      "windowstandard:window_hap_test",
    ]
Z
zleoyu 已提交
28 29 30
    if (!(product_name == "ohcore")) {
      deps += [ "vkgl:cpvkgl" ]
    }
M
mamingshuai 已提交
31 32 33 34 35 36 37
  } else {
    deps = [
      "appaccount:appaccount_hap",
      "osaccount:osaccount_hap",
    ]
  }
}