1# Copyright 2019 Google LLC 2# 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6import("../../gn/skia.gni") 7 8config("public_config") { 9 include_dirs = [ "include" ] 10} 11 12skia_source_set("skresources") { 13 import("skresources.gni") 14 public_configs = [ ":public_config" ] 15 public = skia_skresources_public 16 sources = skia_skresources_sources 17 configs = [ 18 "../../:skia_private", 19 "../../:skia_library", 20 ] 21 cflags = [ "-std=c++17" ] 22 cflags_cc = [ "-Wno-unknown-pragmas" ] 23 deps = [ 24 "../..:skia", 25 "../../experimental/ffmpeg:video_decoder", 26 ] 27 if (use_oh_skia) { 28 include_dirs = [ "${skia_root_dir}" ] 29 deps -= [ "../..:skia" ] 30 } 31} 32