OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/features.gni") |
| 6 import("//build/config/sysroot.gni") |
| 7 import("//build/config/ui.gni") |
| 8 |
| 9 config("sdk") { |
| 10 if (sysroot != "") { |
| 11 cflags = [ "--sysroot=" + sysroot ] |
| 12 ldflags = [ "--sysroot=" + sysroot ] |
| 13 |
| 14 # Need to get some linker flags out of the sysroot. |
| 15 ldflags += [ exec_script("../linux/sysroot_ld_path.py", |
| 16 [ |
| 17 rebase_path("//build/linux/sysroot_ld_path.sh", |
| 18 root_build_dir), |
| 19 sysroot, |
| 20 ], |
| 21 "value") ] |
| 22 } |
| 23 |
| 24 defines = [ "FNL_MUSL" ] |
| 25 |
| 26 if (use_ozone) { |
| 27 defines += [ "MESA_EGL_NO_X11_HEADERS" ] |
| 28 } |
| 29 } |
OLD | NEW |