• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import("//build/ohos.gni")
2
3ohos_shared_library("rosen_context") {
4  sources = [
5    "ohos_context_i.cpp",
6    "raw_context.cpp",
7    "rosen_context_impl.cpp",
8  ]
9  include_dirs = [
10    "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/src",
11    "//foundation/graphic/graphic_2d/rosen/include",
12    "//drivers/peripheral/display/interfaces/include",
13    "//foundation/multimedia/image_standard/interfaces/innerkits/include",
14    "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos",
15    "//foundation/graphic/graphic_2d/interfaces/inner_api/surface",
16  ]
17
18  deps = [
19    "//commonlibrary/c_utils/base:utils",
20    "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:EGL",
21    "//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv3",
22    "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
23    "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base",
24    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
25  ]
26  part_name = "graphic_2d"
27  subsystem_name = "graphic"
28}
29
30ohos_shared_library("vk_app_context") {
31  sources = [
32    "ohos_context_i_app.cpp",
33  ]
34  include_dirs = [
35    "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/src",
36    "//foundation/graphic/graphic_2d/rosen/include",
37    "//drivers/peripheral/display/interfaces/include",
38    "//foundation/multimedia/image_standard/interfaces/innerkits/include",
39    "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos",
40    "//foundation/graphic/graphic_2d/interfaces/innerkits/surface",
41  ]
42
43  deps = [
44    "//commonlibrary/c_utils/base:utils",
45    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
46  ]
47
48  cflags = [
49    "-Wno-unused-variable",
50  ]
51  part_name = "graphic_2d"
52  subsystem_name = "graphic"
53}