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

Side by Side Diff: build/config/linux/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 | « build/config/fnl/BUILD.gn ('k') | skia/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import("//tools/generate_library_loader/generate_library_loader.gni") 8 import("//tools/generate_library_loader/generate_library_loader.gni")
9 9
10 config("sdk") { 10 config("sdk") {
(...skipping 11 matching lines...) Expand all
22 "value") ] 22 "value") ]
23 } 23 }
24 24
25 # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like 25 # Set here because OS_CHROMEOS cannot be autodetected in build_config.h like
26 # OS_LINUX and the like. 26 # OS_LINUX and the like.
27 if (is_chromeos) { 27 if (is_chromeos) {
28 defines = [ "OS_CHROMEOS" ] 28 defines = [ "OS_CHROMEOS" ]
29 } 29 }
30 } 30 }
31 31
32 config("freetype2") {
33 include_dirs = [ "$sysroot/usr/include/freetype2" ]
34 libs = [ "freetype" ]
35 }
36
37 config("x11") { 32 config("x11") {
38 libs = [ 33 libs = [
39 "X11", 34 "X11",
40 "Xi", 35 "Xi",
41 ] 36 ]
42 } 37 }
43 38
44 config("xcomposite") { 39 config("xcomposite") {
45 libs = [ "Xcomposite" ] 40 libs = [ "Xcomposite" ]
46 } 41 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 121
127 functions = libudev_functions 122 functions = libudev_functions
128 } 123 }
129 124
130 group("udev") { 125 group("udev") {
131 deps = [ 126 deps = [
132 ":udev0_loader", 127 ":udev0_loader",
133 ":udev1_loader", 128 ":udev1_loader",
134 ] 129 ]
135 } 130 }
OLDNEW
« no previous file with comments | « build/config/fnl/BUILD.gn ('k') | skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698