xref: /aosp_15_r20/external/angle/build/config/linux/pangocairo/BUILD.gn (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard Worker# Copyright 2016 The Chromium Authors
2*8975f5c5SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be
3*8975f5c5SAndroid Build Coastguard Worker# found in the LICENSE file.
4*8975f5c5SAndroid Build Coastguard Worker
5*8975f5c5SAndroid Build Coastguard Workerimport("//build/config/linux/pangocairo/pangocairo.gni")
6*8975f5c5SAndroid Build Coastguard Workerimport("//build/config/linux/pkg_config.gni")
7*8975f5c5SAndroid Build Coastguard Worker
8*8975f5c5SAndroid Build Coastguard Workerif (use_pangocairo) {
9*8975f5c5SAndroid Build Coastguard Worker  pkg_config("pangocairo") {
10*8975f5c5SAndroid Build Coastguard Worker    packages = [ "pangocairo" ]
11*8975f5c5SAndroid Build Coastguard Worker
12*8975f5c5SAndroid Build Coastguard Worker    # We don't want pkgconfig for pangocairo to explicitly request FreeType to get
13*8975f5c5SAndroid Build Coastguard Worker    # linked, because we control which FreeType to link to.
14*8975f5c5SAndroid Build Coastguard Worker    extra_args = [
15*8975f5c5SAndroid Build Coastguard Worker      "-v",
16*8975f5c5SAndroid Build Coastguard Worker      "freetype",
17*8975f5c5SAndroid Build Coastguard Worker    ]
18*8975f5c5SAndroid Build Coastguard Worker  }
19*8975f5c5SAndroid Build Coastguard Worker}
20