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

Side by Side Diff: build/config/fnl/BUILD.gn

Issue 1528173003: Use our own freetype2 (from //third_party) on Linux and FNL. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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 | build/config/linux/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 8
9 config("sdk") { 9 config("sdk") {
10 if (sysroot != "") { 10 if (sysroot != "") {
11 cflags = [ "--sysroot=" + sysroot ] 11 cflags = [ "--sysroot=" + sysroot ]
12 ldflags = [ "--sysroot=" + sysroot ] 12 ldflags = [ "--sysroot=" + sysroot ]
13 13
14 # Need to get some linker flags out of the sysroot. 14 # Need to get some linker flags out of the sysroot.
15 ldflags += [ exec_script("../linux/sysroot_ld_path.py", 15 ldflags += [ exec_script("../linux/sysroot_ld_path.py",
16 [ 16 [
17 rebase_path("//build/linux/sysroot_ld_path.sh", 17 rebase_path("//build/linux/sysroot_ld_path.sh",
18 root_build_dir), 18 root_build_dir),
19 sysroot, 19 sysroot,
20 ], 20 ],
21 "value") ] 21 "value") ]
22 } 22 }
23 23
24 defines = [ "FNL_MUSL" ] 24 defines = [ "FNL_MUSL" ]
25 25
26 if (use_ozone) { 26 if (use_ozone) {
27 defines += [ "MESA_EGL_NO_X11_HEADERS" ] 27 defines += [ "MESA_EGL_NO_X11_HEADERS" ]
28 } 28 }
29 } 29 }
30
31 config("freetype2") {
32 include_dirs = [ "$sysroot/usr/include/freetype2" ]
33 libs = [ "freetype" ]
34 }
OLDNEW
« no previous file with comments | « no previous file | build/config/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698