Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: build/linux/system.gyp

Issue 367113004: Move GLIB_DISABLE_DEPRECATION_WARNINGS define to a more general place. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | net/proxy/proxy_config_service_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/system.gyp
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index 7ccd973ded1ba20379b8021a179bed5407fe47c9..694c78d01254df5d02979b7c6f446179b0dd7408 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -540,6 +540,14 @@
],
'defines': [
'USE_GIO',
+ # glib >=2.40 deprecate g_settings_list_schemas in favor of
Paweł Hajdan Jr. 2014/07/23 10:43:39 nit: Shouldn't this block be de-indented 2 spaces?
elecro 2014/07/23 13:13:51 Yeah, thanks missed that. CL rebased, and now wrap
+ # 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.
+ # 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.
+ 'GLIB_DISABLE_DEPRECATION_WARNINGS',
],
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)',
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | net/proxy/proxy_config_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698