• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2025 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/graphic/graphic_2d/graphic_config.gni")
16
17ohos_source_set("frame_load") {
18  sanitize = {
19    cfi = true
20    cfi_cross_dso = true
21    cfi_no_nvcall = true
22    cfi_vcall_icall_only = true
23    debug = false
24  }
25  cflags = [
26    "-O3",
27    "-fno-semantic-interposition",
28    "-fwhole-program-vtables",
29    "-flto",
30    "-fno-unwind-tables",
31    "-fno-asynchronous-unwind-tables",
32  ]
33  cflags_cc = [
34    "-std=c++17",
35    "-fvisibility-inlines-hidden",
36  ]
37
38  sources = [ "src/rs_frame_blur_predict.cpp" ]
39
40  include_dirs = [
41    "include",
42    "$graphic_2d_root/rosen/modules/render_service_base/include",
43  ]
44
45  external_deps = [
46    "hilog:libhilog",
47    "skia:skia_canvaskit",
48  ]
49
50  deps = [
51    "$graphic_2d_root/rosen/modules/render_service_base:render_service_base_src",
52    "$graphic_2d_root/rosen/modules/frame_report:frame_report",
53  ]
54
55  part_name = "graphic_2d"
56  subsystem_name = "graphic"
57}
58