| OLD | NEW |
| 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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/linux/pkg_config.gni") | 6 import("//build/config/linux/pkg_config.gni") |
| 7 import("//tools/generate_library_loader/generate_library_loader.gni") | 7 import("//tools/generate_library_loader/generate_library_loader.gni") |
| 8 | 8 |
| 9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 10 [ rebase_path("system.gyp") ], | 10 [ rebase_path("system.gyp") ], |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 generate_library_loader("libbrlapi") { | 23 generate_library_loader("libbrlapi") { |
| 24 name = "LibBrlapiLoader" | 24 name = "LibBrlapiLoader" |
| 25 output_h = "libbrlapi.h" | 25 output_h = "libbrlapi.h" |
| 26 output_cc = "libbrlapi_loader.cc" | 26 output_cc = "libbrlapi_loader.cc" |
| 27 header = "<brlapi.h>" | 27 header = "<brlapi.h>" |
| 28 config = ":brlapi_config" | 28 config = ":brlapi_config" |
| 29 | 29 |
| 30 functions = gypi_values.libbrlapi_functions | 30 functions = gypi_values.libbrlapi_functions |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 if (is_desktop_linux) { | 33 if (use_gio) { |
| 34 pkg_config("gio_config") { | 34 pkg_config("gio_config") { |
| 35 packages = [ "gio-2.0" ] | 35 packages = [ "gio-2.0" ] |
| 36 | 36 |
| 37 # glib >=2.40 deprecate g_settings_list_schemas in favor of | 37 # glib >=2.40 deprecate g_settings_list_schemas in favor of |
| 38 # g_settings_schema_source_list_schemas. This function is not available on | 38 # g_settings_schema_source_list_schemas. This function is not available on |
| 39 # earlier versions that we still need to support (specifically, 2.32), so | 39 # earlier versions that we still need to support (specifically, 2.32), so |
| 40 # disable the warning with the GLIB_DISABLE_DEPRECATION_WARNINGS define. | 40 # disable the warning with the GLIB_DISABLE_DEPRECATION_WARNINGS define. |
| 41 # TODO(mgiuca): Remove this suppression when we drop support for Ubuntu | 41 # TODO(mgiuca): Remove this suppression when we drop support for Ubuntu |
| 42 # 13.10 (saucy) and earlier. Update the code to use | 42 # 13.10 (saucy) and earlier. Update the code to use |
| 43 # g_settings_schema_source_list_schemas instead. | 43 # g_settings_schema_source_list_schemas instead. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 group("fontconfig") { | 109 group("fontconfig") { |
| 110 if (use_system_fontconfig) { | 110 if (use_system_fontconfig) { |
| 111 public_configs = [ "//build/config/linux:fontconfig" ] | 111 public_configs = [ "//build/config/linux:fontconfig" ] |
| 112 } else { | 112 } else { |
| 113 public_deps = [ | 113 public_deps = [ |
| 114 "//third_party/fontconfig", | 114 "//third_party/fontconfig", |
| 115 ] | 115 ] |
| 116 } | 116 } |
| 117 } | 117 } |
| OLD | NEW |