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

Side by Side Diff: build/common.gypi

Issue 13985039: Rationalize linux vs x11 in ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review / try issues Created 7 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 | Annotate | Revision Log
« no previous file with comments | « build/build_config.h ('k') | gpu/gles2_conform_support/gles2_conform_support.gyp » ('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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 'conditions': [ 129 'conditions': [
130 # Set default value of toolkit_views based on OS. 130 # Set default value of toolkit_views based on OS.
131 ['OS=="win" or chromeos==1 or use_aura==1', { 131 ['OS=="win" or chromeos==1 or use_aura==1', {
132 'toolkit_views%': 1, 132 'toolkit_views%': 1,
133 }, { 133 }, {
134 'toolkit_views%': 0, 134 'toolkit_views%': 0,
135 }], 135 }],
136 136
137 # Set toolkit_uses_gtk for the Chromium browser on Linux. 137 # Set toolkit_uses_gtk for the Chromium browser on Linux.
138 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_aura==0', { 138 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_aura==0 and use_messagepump_linux==0', {
139 'toolkit_uses_gtk%': 1, 139 'toolkit_uses_gtk%': 1,
140 }, { 140 }, {
141 'toolkit_uses_gtk%': 0, 141 'toolkit_uses_gtk%': 0,
142 }], 142 }],
143 143
144 # Enable HiDPI on Mac OS and Chrome OS. 144 # Enable HiDPI on Mac OS and Chrome OS.
145 ['OS=="mac" or chromeos==1', { 145 ['OS=="mac" or chromeos==1', {
146 'enable_hidpi%': 1, 146 'enable_hidpi%': 1,
147 }], 147 }],
148 148
(...skipping 1690 matching lines...) Expand 10 before | Expand all | Expand 10 after
1839 }], 1839 }],
1840 ['use_default_render_theme==1', { 1840 ['use_default_render_theme==1', {
1841 'defines': ['USE_DEFAULT_RENDER_THEME=1'], 1841 'defines': ['USE_DEFAULT_RENDER_THEME=1'],
1842 }], 1842 }],
1843 ['use_libjpeg_turbo==1', { 1843 ['use_libjpeg_turbo==1', {
1844 'defines': ['USE_LIBJPEG_TURBO=1'], 1844 'defines': ['USE_LIBJPEG_TURBO=1'],
1845 }], 1845 }],
1846 ['use_nss==1', { 1846 ['use_nss==1', {
1847 'defines': ['USE_NSS=1'], 1847 'defines': ['USE_NSS=1'],
1848 }], 1848 }],
1849 ['use_x11==1', {
1850 'defines': ['USE_X11=1'],
1851 }],
1849 ['enable_one_click_signin==1', { 1852 ['enable_one_click_signin==1', {
1850 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], 1853 'defines': ['ENABLE_ONE_CLICK_SIGNIN'],
1851 }], 1854 }],
1852 ['toolkit_uses_gtk==1 and toolkit_views==0', { 1855 ['toolkit_uses_gtk==1 and toolkit_views==0', {
1853 # TODO(erg): We are progressively sealing up use of deprecated features 1856 # TODO(erg): We are progressively sealing up use of deprecated features
1854 # in gtk in preparation for an eventual porting to gtk3. 1857 # in gtk in preparation for an eventual porting to gtk3.
1855 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'], 1858 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'],
1856 }], 1859 }],
1857 ['chromeos==1', { 1860 ['chromeos==1', {
1858 'defines': ['OS_CHROMEOS=1'], 1861 'defines': ['OS_CHROMEOS=1'],
(...skipping 2501 matching lines...) Expand 10 before | Expand all | Expand 10 after
4360 # settings in target dicts. SYMROOT is a special case, because many other 4363 # settings in target dicts. SYMROOT is a special case, because many other
4361 # Xcode variables depend on it, including variables such as 4364 # Xcode variables depend on it, including variables such as
4362 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4365 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4363 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4366 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4364 # files to appear (when present) in the UI as actual files and not red 4367 # files to appear (when present) in the UI as actual files and not red
4365 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4368 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4366 # and therefore SYMROOT, needs to be set at the project level. 4369 # and therefore SYMROOT, needs to be set at the project level.
4367 'SYMROOT': '<(DEPTH)/xcodebuild', 4370 'SYMROOT': '<(DEPTH)/xcodebuild',
4368 }, 4371 },
4369 } 4372 }
OLDNEW
« no previous file with comments | « build/build_config.h ('k') | gpu/gles2_conform_support/gles2_conform_support.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698