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

Side by Side Diff: chrome/browser/ui/libgtk2ui/libgtk2ui.gyp

Issue 183223002: Fix build failures due to unused functions when building with clang on linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Proposed patch Created 6 years, 7 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 unified diff | Download patch
« AUTHORS ('K') | « AUTHORS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 'x11_input_method_context_impl_gtk2.cc', 81 'x11_input_method_context_impl_gtk2.cc',
82 'x11_input_method_context_impl_gtk2.h', 82 'x11_input_method_context_impl_gtk2.h',
83 ], 83 ],
84 'conditions': [ 84 'conditions': [
85 ['use_gconf==0', { 85 ['use_gconf==0', {
86 'sources!': [ 86 'sources!': [
87 'gconf_listener.cc', 87 'gconf_listener.cc',
88 'gconf_listener.h', 88 'gconf_listener.h',
89 ], 89 ],
90 }], 90 }],
91 [ 'OS=="linux" and clang==1', {
Nico 2014/05/01 18:29:01 nit: You don't really need the OS=="linux" bit, th
changseok 2014/05/02 03:06:26 Done.
92 # G_DEFINE_TYPE automatically generates a *get_instance_private inline function after glib 2.37.
93 # That's unused. Prevent to complain about it.
94 'cflags': [
95 '-Wno-unused-function',
96 ],
97 }],
91 ], 98 ],
92 }, 99 },
93 ], 100 ],
94 } 101 }
OLDNEW
« AUTHORS ('K') | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698