Chromium Code Reviews| Index: build/config/fnl/BUILD.gn |
| diff --git a/build/config/fnl/BUILD.gn b/build/config/fnl/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f3972aae76a75beb0cc3ecfe671ce623c048b6e4 |
| --- /dev/null |
| +++ b/build/config/fnl/BUILD.gn |
| @@ -0,0 +1,48 @@ |
| +# 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.
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//build/config/linux/pkg_config.gni") |
| +import("//build/config/features.gni") |
| +import("//build/config/sysroot.gni") |
| +import("//build/config/ui.gni") |
| + |
| +config("sdk") { |
| + if (sysroot != "") { |
| + cflags = [ "--sysroot=" + sysroot ] |
| + ldflags = [ "--sysroot=" + sysroot ] |
| + |
| + # Need to get some linker flags out of the sysroot. |
| + ldflags += [ exec_script("../linux/sysroot_ld_path.py", |
| + [ |
| + rebase_path("//build/linux/sysroot_ld_path.sh", |
| + root_build_dir), |
| + sysroot, |
| + ], |
| + "value") ] |
| + } |
| + |
| + defines = [] |
| + |
| + if (use_ozone) { |
| + defines += [ "MESA_EGL_NO_X11_HEADERS" ] |
| + } |
| +} |
| + |
| +config("fontconfig") { |
| + libs = [ "fontconfig" ] |
| +} |
| + |
| +pkg_config("freetype2") { |
| + packages = [ "freetype2" ] |
| +} |
| + |
| +if (use_evdev_gestures) { |
| + pkg_config("libevdev-cros") { |
| + packages = [ "libevdev-cros" ] |
| + } |
| + |
| + pkg_config("libgestures") { |
| + packages = [ "libgestures" ] |
| + } |
| +} |