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

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

Issue 1293073006: Make gtk2/gtk3 compile time switchable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove deprecation warning. Created 5 years, 3 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
« no previous file with comments | « chrome/browser/ui/libgtk2ui/BUILD.gn ('k') | gpu/gles2_conform_support/BUILD.gn » ('j') | 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 {
11 # GN version: //chrome/browser/ui/libgtk2ui 11 # GN version: //chrome/browser/ui/libgtk2ui
12 'target_name': 'gtk2ui', 12 'target_name': 'gtk2ui',
13 'type': '<(component)', 13 'type': '<(component)',
14 'dependencies': [ 14 'dependencies': [
15 '../../../../base/base.gyp:base', 15 '../../../../base/base.gyp:base',
16 '../../../../base/base.gyp:base_i18n', 16 '../../../../base/base.gyp:base_i18n',
17 '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gy p:dynamic_annotations', 17 '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gy p:dynamic_annotations',
18 '../../../../build/linux/system.gyp:gconf', 18 '../../../../build/linux/system.gyp:gconf',
19 '../../../../build/linux/system.gyp:gtk',
20 '../../../../build/linux/system.gyp:gtkprint',
21 '../../../../build/linux/system.gyp:x11', 19 '../../../../build/linux/system.gyp:x11',
22 '../../../../components/components_resources.gyp:components_resources', 20 '../../../../components/components_resources.gyp:components_resources',
23 '../../../../content/content.gyp:content', 21 '../../../../content/content.gyp:content',
24 '../../../../printing/printing.gyp:cups', 22 '../../../../printing/printing.gyp:cups',
25 '../../../../printing/printing.gyp:printing', 23 '../../../../printing/printing.gyp:printing',
26 '../../../../skia/skia.gyp:skia', 24 '../../../../skia/skia.gyp:skia',
27 '../../../../ui/aura/aura.gyp:aura', 25 '../../../../ui/aura/aura.gyp:aura',
28 '../../../../ui/base/ime/ui_base_ime.gyp:ui_base_ime', 26 '../../../../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
29 '../../../../ui/base/ui_base.gyp:ui_base', 27 '../../../../ui/base/ui_base.gyp:ui_base',
30 '../../../../ui/events/events.gyp:events', 28 '../../../../ui/events/events.gyp:events',
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 'x11_input_method_context_impl_gtk2.cc', 97 'x11_input_method_context_impl_gtk2.cc',
100 'x11_input_method_context_impl_gtk2.h', 98 'x11_input_method_context_impl_gtk2.h',
101 ], 99 ],
102 'conditions': [ 100 'conditions': [
103 ['use_gconf==0', { 101 ['use_gconf==0', {
104 'sources!': [ 102 'sources!': [
105 'gconf_listener.cc', 103 'gconf_listener.cc',
106 'gconf_listener.h', 104 'gconf_listener.h',
107 ], 105 ],
108 }], 106 }],
107 ['use_gtk3==1', {
108 'dependencies': [
109 '../../../../build/linux/system.gyp:gtk3',
110 '../../../../build/linux/system.gyp:gtkprint3',
111 ],
112 }, {
113 'dependencies': [
114 '../../../../build/linux/system.gyp:gtk2',
115 '../../../../build/linux/system.gyp:gtkprint2',
116 ],
117 }],
109 [ 'clang==1', { 118 [ 'clang==1', {
110 'cflags': [ 119 'cflags': [
111 # G_DEFINE_TYPE automatically generates a *get_instance_private inli ne function after glib 2.37. 120 # G_DEFINE_TYPE automatically generates a *get_instance_private inli ne function after glib 2.37.
112 # That's unused. Prevent to complain about it. 121 # That's unused. Prevent to complain about it.
113 '-Wno-unused-function', 122 '-Wno-unused-function',
114 123
115 # G_STATIC_ASSERT uses a typedef as a static_assert. 124 # G_STATIC_ASSERT uses a typedef as a static_assert.
116 '-Wno-unused-local-typedef', 125 '-Wno-unused-local-typedef',
117 ], 126 ],
118 }], 127 }],
119 ], 128 ],
120 }, 129 },
121 ], 130 ],
122 } 131 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtk2ui/BUILD.gn ('k') | gpu/gles2_conform_support/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698