• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 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#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/ohos.gni")
15import("//foundation/arkui/ace_engine/ace_config.gni")
16
17config("form_render_config") {
18  visibility = [ ":*" ]
19  include_dirs = [
20    "$ace_root/frameworks",
21    "include/",
22  ]
23  cflags = []
24  if (target_cpu == "arm") {
25    cflags += [ "-DBINDER_IPC_32BIT" ]
26  }
27}
28
29ohos_shared_library("ace_form_render") {
30  sources = [
31    "$ace_root/interfaces/inner_api/form_render/src/form_renderer.cpp",
32    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_impl.cpp",
33    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_proxy.cpp",
34    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_delegate_stub.cpp",
35    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_impl.cpp",
36    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_proxy.cpp",
37    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_dispatcher_stub.cpp",
38    "$ace_root/interfaces/inner_api/form_render/src/form_renderer_group.cpp",
39  ]
40
41  configs = [
42    "$ace_root:ace_config",
43    "//commonlibrary/c_utils/base:utils_config",
44  ]
45
46  public_configs = [ ":form_render_config" ]
47
48  deps = [ "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client" ]
49
50  external_deps = [
51    "ability_base:configuration",
52    "ability_base:want",
53    "ability_runtime:ability_context_native",
54    "ability_runtime:ability_manager",
55    "ability_runtime:runtime",
56    "ace_engine:ace_uicontent",
57    "c_utils:utils",
58    "form_fwk:form_manager",
59    "graphic_standard:surface",
60    "hiviewdfx_hilog_native:libhilog",
61    "input:libmmi-client",
62    "ipc:ipc_core",
63    "napi:ace_napi",
64  ]
65
66  subsystem_name = ace_engine_subsystem
67  part_name = ace_engine_part
68}
69