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

Side by Side Diff: build/common.gypi

Issue 8775045: Revert 112641 - aura: Use WebKit compositor by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/views/view_unittest.cc » ('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) 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 'use_skia_on_mac%': 0, 44 'use_skia_on_mac%': 0,
45 }, 45 },
46 # Copy conditionally-set variables out one scope. 46 # Copy conditionally-set variables out one scope.
47 'chromeos%': '<(chromeos)', 47 'chromeos%': '<(chromeos)',
48 'views_compositor%': '<(views_compositor)', 48 'views_compositor%': '<(views_compositor)',
49 'use_aura%': '<(use_aura)', 49 'use_aura%': '<(use_aura)',
50 'use_openssl%': '<(use_openssl)', 50 'use_openssl%': '<(use_openssl)',
51 'use_virtual_keyboard%': '<(use_virtual_keyboard)', 51 'use_virtual_keyboard%': '<(use_virtual_keyboard)',
52 'use_skia_on_mac%': '<(use_skia_on_mac)', 52 'use_skia_on_mac%': '<(use_skia_on_mac)',
53 53
54 # WebKit compositor for ui
55 'use_webkit_compositor%': 0,
56
54 # Compute the architecture that we're building on. 57 # Compute the architecture that we're building on.
55 'conditions': [ 58 'conditions': [
56 [ 'OS=="win" or OS=="mac"', { 59 [ 'OS=="win" or OS=="mac"', {
57 'host_arch%': 'ia32', 60 'host_arch%': 'ia32',
58 }, { 61 }, {
59 # This handles the Unix platforms for which there is some support. 62 # This handles the Unix platforms for which there is some support.
60 # Anything else gets passed through, which probably won't work very 63 # Anything else gets passed through, which probably won't work very
61 # well; such hosts should pass an explicit target_arch to gyp. 64 # well; such hosts should pass an explicit target_arch to gyp.
62 'host_arch%': 65 'host_arch%':
63 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a rm.*/arm/;s/i86pc/ia32/")', 66 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/a rm.*/arm/;s/i86pc/ia32/")',
64 }], 67 }],
65 68
66 # Set default value of toolkit_views based on OS. 69 # Set default value of toolkit_views based on OS.
67 ['OS=="win" or chromeos==1 or use_aura==1', { 70 ['OS=="win" or chromeos==1 or use_aura==1', {
68 'toolkit_views%': 1, 71 'toolkit_views%': 1,
69 }, { 72 }, {
70 'toolkit_views%': 0, 73 'toolkit_views%': 0,
71 }], 74 }],
72 75
73 # Use the views compositor when using the Aura window manager. 76 # Use the views compositor when using the Aura window manager.
74 ['use_aura==1', { 77 ['use_aura==1', {
75 'views_compositor%': 1, 78 'views_compositor%': 1,
76 }], 79 }],
77
78 # Use the WebKit compositor for ui, when Aura is on.
79 ['use_aura==1', {
80 'use_webkit_compositor%': 1,
81 }, {
82 'use_webkit_compositor%': 0,
83 }],
84 ], 80 ],
85 }, 81 },
86 82
87 # Copy conditionally-set variables out one scope. 83 # Copy conditionally-set variables out one scope.
88 'chromeos%': '<(chromeos)', 84 'chromeos%': '<(chromeos)',
89 'host_arch%': '<(host_arch)', 85 'host_arch%': '<(host_arch)',
90 'toolkit_views%': '<(toolkit_views)', 86 'toolkit_views%': '<(toolkit_views)',
91 'views_compositor%': '<(views_compositor)', 87 'views_compositor%': '<(views_compositor)',
92 'use_webkit_compositor%': '<(use_webkit_compositor)', 88 'use_webkit_compositor%': '<(use_webkit_compositor)',
93 'use_aura%': '<(use_aura)', 89 'use_aura%': '<(use_aura)',
(...skipping 2566 matching lines...) Expand 10 before | Expand all | Expand 10 after
2660 # settings in target dicts. SYMROOT is a special case, because many other 2656 # settings in target dicts. SYMROOT is a special case, because many other
2661 # Xcode variables depend on it, including variables such as 2657 # Xcode variables depend on it, including variables such as
2662 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2658 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2663 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2659 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2664 # files to appear (when present) in the UI as actual files and not red 2660 # files to appear (when present) in the UI as actual files and not red
2665 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2661 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2666 # and therefore SYMROOT, needs to be set at the project level. 2662 # and therefore SYMROOT, needs to be set at the project level.
2667 'SYMROOT': '<(DEPTH)/xcodebuild', 2663 'SYMROOT': '<(DEPTH)/xcodebuild',
2668 }, 2664 },
2669 } 2665 }
OLDNEW
« no previous file with comments | « no previous file | ui/views/view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698