OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
6 | 6 |
7 pkg_config("system_libxml") { | 7 # Note: if your target also depends on //dbus, you don't need to add this |
8 packages = [ "libxml-2.0" ] | 8 # config (it will get added automatically if you depend on //dbus). |
| 9 pkg_config("dbus") { |
| 10 packages = [ "dbus-1" ] |
9 } | 11 } |
10 | |
11 static_library("libxml") { | |
12 sources = [ | |
13 "chromium/libxml_utils.cc", | |
14 "chromium/libxml_utils.h", | |
15 ] | |
16 | |
17 public_configs = [ ":system_libxml" ] | |
18 } | |
OLD | NEW |