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

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

Issue 1348493002: Add fnl build target (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
(Empty)
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
viettrungluu 2015/09/15 23:48:22 nit: 2015 (and no "(c)" in the current copyright h
cdotstout 2015/09/16 22:01:00 Done.
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/config/features.gni")
7 import("//build/config/sysroot.gni")
8 import("//build/config/ui.gni")
9
10 config("sdk") {
11 if (sysroot != "") {
12 cflags = [ "--sysroot=" + sysroot ]
13 ldflags = [ "--sysroot=" + sysroot ]
14
15 # Need to get some linker flags out of the sysroot.
16 ldflags += [ exec_script("../linux/sysroot_ld_path.py",
17 [
18 rebase_path("//build/linux/sysroot_ld_path.sh",
19 root_build_dir),
20 sysroot,
21 ],
22 "value") ]
23 }
24
25 defines = []
26
27 if (use_ozone) {
28 defines += [ "MESA_EGL_NO_X11_HEADERS" ]
29 }
30 }
31
32 config("fontconfig") {
33 libs = [ "fontconfig" ]
34 }
35
36 pkg_config("freetype2") {
37 packages = [ "freetype2" ]
38 }
39
40 if (use_evdev_gestures) {
41 pkg_config("libevdev-cros") {
42 packages = [ "libevdev-cros" ]
43 }
44
45 pkg_config("libgestures") {
46 packages = [ "libgestures" ]
47 }
48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698