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

Side by Side Diff: build/common.gypi

Issue 7741001: Add Aura support to views: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | « no previous file | ui/gfx/native_widget_types.h » ('j') | ui/gfx/native_widget_types.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 26 matching lines...) Expand all
37 37
38 # Disable webui dialog replacements for native dialogs by default. 38 # Disable webui dialog replacements for native dialogs by default.
39 # TODO(flackr): Change this to a runtime flag triggered by 39 # TODO(flackr): Change this to a runtime flag triggered by
40 # --pure-views so that these dialogs can be easily tested. 40 # --pure-views so that these dialogs can be easily tested.
41 'webui_dialogs%': 0, 41 'webui_dialogs%': 0,
42 42
43 # Whether the compositor is enabled on views. 43 # Whether the compositor is enabled on views.
44 'views_compositor%': 0, 44 'views_compositor%': 0,
45 45
46 # Whether or not we are building with the Aura window manager. 46 # Whether or not we are building with the Aura window manager.
47 'aura_wm%': 0, 47 'use_aura%': 0,
48 }, 48 },
49 # Copy conditionally-set variables out one scope. 49 # Copy conditionally-set variables out one scope.
50 'chromeos%': '<(chromeos)', 50 'chromeos%': '<(chromeos)',
51 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', 51 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)',
52 'touchui%': '<(touchui)', 52 'touchui%': '<(touchui)',
53 'webui_dialogs%': '<(webui_dialogs)', 53 'webui_dialogs%': '<(webui_dialogs)',
54 'views_compositor%': '<(views_compositor)', 54 'views_compositor%': '<(views_compositor)',
55 'aura_wm%': '<(aura_wm)', 55 'use_aura%': '<(use_aura)',
56 56
57 # Compute the architecture that we're building on. 57 # Compute the architecture that we're building on.
58 'conditions': [ 58 'conditions': [
59 [ 'OS=="win" or OS=="mac"', { 59 [ 'OS=="win" or OS=="mac"', {
60 'host_arch%': 'ia32', 60 'host_arch%': 'ia32',
61 }, { 61 }, {
62 # This handles the Unix platforms for which there is some support. 62 # This handles the Unix platforms for which there is some support.
63 # Anything else gets passed through, which probably won't work very 63 # Anything else gets passed through, which probably won't work very
64 # well; such hosts should pass an explicit target_arch to gyp. 64 # well; such hosts should pass an explicit target_arch to gyp.
65 'host_arch%': 65 'host_arch%':
(...skipping 14 matching lines...) Expand all
80 }, { 80 }, {
81 'toolkit_uses_pure_views%': 0, 81 'toolkit_uses_pure_views%': 0,
82 }], 82 }],
83 83
84 # Use WebUI dialogs in TouchUI builds. 84 # Use WebUI dialogs in TouchUI builds.
85 ['touchui==1', { 85 ['touchui==1', {
86 'webui_dialogs%': 1, 86 'webui_dialogs%': 1,
87 }], 87 }],
88 88
89 # Use the views compositor when using the Aura window manager. 89 # Use the views compositor when using the Aura window manager.
90 ['aura_wm==1', { 90 ['use_aura==1', {
91 'views_compositor%': 1, 91 'views_compositor%': 1,
92 }], 92 }],
93 ], 93 ],
94 }, 94 },
95 95
96 # Copy conditionally-set variables out one scope. 96 # Copy conditionally-set variables out one scope.
97 'chromeos%': '<(chromeos)', 97 'chromeos%': '<(chromeos)',
98 'touchui%': '<(touchui)', 98 'touchui%': '<(touchui)',
99 'webui_dialogs%': '<(webui_dialogs)', 99 'webui_dialogs%': '<(webui_dialogs)',
100 'host_arch%': '<(host_arch)', 100 'host_arch%': '<(host_arch)',
101 'toolkit_views%': '<(toolkit_views)', 101 'toolkit_views%': '<(toolkit_views)',
102 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', 102 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)',
103 'views_compositor%': '<(views_compositor)', 103 'views_compositor%': '<(views_compositor)',
104 'aura_wm%': '<(aura_wm)', 104 'use_aura%': '<(use_aura)',
105 105
106 # We used to provide a variable for changing how libraries were built. 106 # We used to provide a variable for changing how libraries were built.
107 # This variable remains until we can clean up all the users. 107 # This variable remains until we can clean up all the users.
108 # This needs to be one nested variables dict in so that dependent 108 # This needs to be one nested variables dict in so that dependent
109 # gyp files can make use of it in their outer variables. (Yikes!) 109 # gyp files can make use of it in their outer variables. (Yikes!)
110 # http://code.google.com/p/chromium/issues/detail?id=83308 110 # http://code.google.com/p/chromium/issues/detail?id=83308
111 'library%': 'static_library', 111 'library%': 'static_library',
112 112
113 # Override branding to select the desired branding flavor. 113 # Override branding to select the desired branding flavor.
114 'branding%': 'Chromium', 114 'branding%': 'Chromium',
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 # Copy conditionally-set variables out one scope. 289 # Copy conditionally-set variables out one scope.
290 'branding%': '<(branding)', 290 'branding%': '<(branding)',
291 'buildtype%': '<(buildtype)', 291 'buildtype%': '<(buildtype)',
292 'target_arch%': '<(target_arch)', 292 'target_arch%': '<(target_arch)',
293 'host_arch%': '<(host_arch)', 293 'host_arch%': '<(host_arch)',
294 'library%': 'static_library', 294 'library%': 'static_library',
295 'toolkit_views%': '<(toolkit_views)', 295 'toolkit_views%': '<(toolkit_views)',
296 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', 296 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)',
297 'views_compositor%': '<(views_compositor)', 297 'views_compositor%': '<(views_compositor)',
298 'aura_wm%': '<(aura_wm)', 298 'use_aura%': '<(use_aura)',
299 'os_posix%': '<(os_posix)', 299 'os_posix%': '<(os_posix)',
300 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', 300 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
301 'use_skia%': '<(use_skia)', 301 'use_skia%': '<(use_skia)',
302 'use_x11%': '<(use_x11)', 302 'use_x11%': '<(use_x11)',
303 'use_gnome_keyring%': '<(use_gnome_keyring)', 303 'use_gnome_keyring%': '<(use_gnome_keyring)',
304 'linux_fpic%': '<(linux_fpic)', 304 'linux_fpic%': '<(linux_fpic)',
305 'enable_flapper_hacks%': '<(enable_flapper_hacks)', 305 'enable_flapper_hacks%': '<(enable_flapper_hacks)',
306 'chromeos%': '<(chromeos)', 306 'chromeos%': '<(chromeos)',
307 'touchui%': '<(touchui)', 307 'touchui%': '<(touchui)',
308 'webui_dialogs%': '<(webui_dialogs)', 308 'webui_dialogs%': '<(webui_dialogs)',
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 }], 779 }],
780 ['toolkit_views==1', { 780 ['toolkit_views==1', {
781 'defines': ['TOOLKIT_VIEWS=1'], 781 'defines': ['TOOLKIT_VIEWS=1'],
782 }], 782 }],
783 ['toolkit_uses_pure_views==1', { 783 ['toolkit_uses_pure_views==1', {
784 'defines': ['TOOLKIT_USES_PURE_VIEWS=1'], 784 'defines': ['TOOLKIT_USES_PURE_VIEWS=1'],
785 }], 785 }],
786 ['views_compositor==1', { 786 ['views_compositor==1', {
787 'defines': ['VIEWS_COMPOSITOR=1'], 787 'defines': ['VIEWS_COMPOSITOR=1'],
788 }], 788 }],
789 ['aura_wm==1', { 789 ['use_aura==1', {
790 'defines': ['AURA_WM=1'], 790 'defines': ['USE_AURA=1'],
791 }], 791 }],
792 ['chromeos==1', { 792 ['chromeos==1', {
793 'defines': ['OS_CHROMEOS=1'], 793 'defines': ['OS_CHROMEOS=1'],
794 }], 794 }],
795 ['touchui==1', { 795 ['touchui==1', {
796 'defines': ['TOUCH_UI=1'], 796 'defines': ['TOUCH_UI=1'],
797 }], 797 }],
798 ['use_wayland==1', { 798 ['use_wayland==1', {
799 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'], 799 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'],
800 }], 800 }],
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1052 'msvs_disabled_warnings': [ 1052 'msvs_disabled_warnings': [
1053 4251, # class 'std::xx' needs to have dll-interface. 1053 4251, # class 'std::xx' needs to have dll-interface.
1054 ], 1054 ],
1055 }], 1055 }],
1056 ['chromeos!=1', { 1056 ['chromeos!=1', {
1057 'sources/': [ ['exclude', '_chromeos\\.(h|cc)$'] ] 1057 'sources/': [ ['exclude', '_chromeos\\.(h|cc)$'] ]
1058 }], 1058 }],
1059 ['toolkit_views==0', { 1059 ['toolkit_views==0', {
1060 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] 1060 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ]
1061 }], 1061 }],
1062 ['use_aura==0', {
1063 'sources/': [ ['exclude', '_aura\\.(h|cc)$'] ]
1064 }],
1062 ], 1065 ],
1063 }], 1066 }],
1064 ], # target_conditions for 'target_defaults' 1067 ], # target_conditions for 'target_defaults'
1065 'default_configuration': 'Debug', 1068 'default_configuration': 'Debug',
1066 'configurations': { 1069 'configurations': {
1067 # VCLinkerTool LinkIncremental values below: 1070 # VCLinkerTool LinkIncremental values below:
1068 # 0 == default 1071 # 0 == default
1069 # 1 == /INCREMENTAL:NO 1072 # 1 == /INCREMENTAL:NO
1070 # 2 == /INCREMENTAL 1073 # 2 == /INCREMENTAL
1071 # Debug links incremental, Release does not. 1074 # Debug links incremental, Release does not.
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
1999 # settings in target dicts. SYMROOT is a special case, because many other 2002 # settings in target dicts. SYMROOT is a special case, because many other
2000 # Xcode variables depend on it, including variables such as 2003 # Xcode variables depend on it, including variables such as
2001 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2004 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2002 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2005 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2003 # files to appear (when present) in the UI as actual files and not red 2006 # files to appear (when present) in the UI as actual files and not red
2004 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2007 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2005 # and therefore SYMROOT, needs to be set at the project level. 2008 # and therefore SYMROOT, needs to be set at the project level.
2006 'SYMROOT': '<(DEPTH)/xcodebuild', 2009 'SYMROOT': '<(DEPTH)/xcodebuild',
2007 }, 2010 },
2008 } 2011 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/native_widget_types.h » ('j') | ui/gfx/native_widget_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698