1 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 import("//build/config/linux/pkg_config.gni") 6 import("//build/shim_headers.gni") 7 8 pkg_config("system_harfbuzz") { 9 packages = [ 10 "harfbuzz", 11 "harfbuzz-icu", 12 ] 13 } 14 15 shim_headers("harfbuzz_shim") { 16 root_path = "src" 17 headers = [ "hb.h" ] 18 } 19 20 source_set("harfbuzz-ng") { 21 deps = [ 22 ":harfbuzz_shim", 23 ] 24 public_configs = [ ":system_harfbuzz" ] 25 } 26 27 config("pangoft2_link_hack") { 28 } 29