Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: build/linux/unbundle/harfbuzz-ng.gn

Issue 2905843002: Fix build with system harfbuzz (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//build/shim_headers.gni") 6 import("//build/shim_headers.gni")
7 7
8 pkg_config("system_harfbuzz") { 8 pkg_config("system_harfbuzz") {
9 packages = [ 9 packages = [
10 "harfbuzz", 10 "harfbuzz",
11 "harfbuzz-icu", 11 "harfbuzz-icu",
12 ] 12 ]
13 } 13 }
14 14
15 shim_headers("harfbuzz_shim") { 15 shim_headers("harfbuzz_shim") {
16 root_path = "src" 16 root_path = "src"
17 headers = [ "hb.h" ] 17 headers = [ "hb.h" ]
18 } 18 }
19 19
20 source_set("harfbuzz-ng") { 20 group("harfbuzz-ng") {
21 public_deps = [
22 ":harfbuzz-ng-ft",
23 ":harfbuzz-ng-without-freetype",
24 ]
25 }
26
27 source_set("harfbuzz-ng-ft") {
21 deps = [ 28 deps = [
22 ":harfbuzz_shim", 29 ":harfbuzz_shim",
23 ] 30 ]
31 public_configs = [ ":system_harfbuzz" ]
32 }
33
34 source_set("harfbuzz-ng-without-freetype") {
35 deps = [
36 ":harfbuzz_shim",
37 ]
24 public_configs = [ ":system_harfbuzz" ] 38 public_configs = [ ":system_harfbuzz" ]
25 } 39 }
26 40
27 config("pangoft2_link_hack") { 41 config("pangoft2_link_hack") {
28 } 42 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698