diff options
Diffstat (limited to 'chromium/build/linux/BUILD.gn')
-rw-r--r-- | chromium/build/linux/BUILD.gn | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/chromium/build/linux/BUILD.gn b/chromium/build/linux/BUILD.gn index 1573bb053b4..54314c76878 100644 --- a/chromium/build/linux/BUILD.gn +++ b/chromium/build/linux/BUILD.gn @@ -10,25 +10,7 @@ if (use_gio) { pkg_config("gio_config") { packages = [ "gio-2.0" ] - # glib >=2.40 deprecate g_settings_list_schemas in favor of - # g_settings_schema_source_list_schemas. This function is not available on - # earlier versions that we still need to support (specifically, 2.32), so - # disable the warning with the GLIB_DISABLE_DEPRECATION_WARNINGS define. - # TODO(mgiuca): Remove this suppression when we drop support for Ubuntu - # 13.10 (saucy) and earlier. Update the code to use - # g_settings_schema_source_list_schemas instead. - defines = [ - "USE_GIO", - "GLIB_DISABLE_DEPRECATION_WARNINGS", - ] - - # TODO(brettw) Theoretically I think ignore_libs should be set so that we - # don't link directly to GIO and use the loader generated below. But the - # gio target in GYP doesn't make any sense to me and appears to link - # directly to GIO in addition to making a loader. This this uncommented, - # the link in component build fails, so I think this is closer to the - # GYP build. - #ignore_libs = true # Loader generated below. + defines = [ "USE_GIO" ] } } |