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

Side by Side Diff: build/common.gypi

Issue 8051010: Separate Virtual Keyboard related conditionals from TouchUI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased on ToT, fix along with review comments Created 9 years, 2 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 | « no previous file | chrome/browser/chromeos/login/webui_login_view.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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 'toolkit_views%': 0, 67 'toolkit_views%': 0,
68 }], 68 }],
69 69
70 # Views are always Pure in Touch and Aura case. 70 # Views are always Pure in Touch and Aura case.
71 ['touchui==1 or use_aura==1', { 71 ['touchui==1 or use_aura==1', {
72 'use_only_pure_views%': 1, 72 'use_only_pure_views%': 1,
73 }, { 73 }, {
74 'use_only_pure_views%': 0, 74 'use_only_pure_views%': 0,
75 }], 75 }],
76 76
77 # Use virtual keyboard by default in TouchUI builds.
78 ['touchui==1', {
79 'use_virtual_keyboard%': 1,
80 }, {
81 'use_virtual_keyboard%': 0,
82 }],
83
77 # Use the views compositor when using the Aura window manager or 84 # Use the views compositor when using the Aura window manager or
78 # touch. 85 # touch.
79 ['use_aura==1 or touchui==1', { 86 ['use_aura==1 or touchui==1', {
80 'views_compositor%': 1, 87 'views_compositor%': 1,
81 }], 88 }],
82 ], 89 ],
83 }, 90 },
84 91
85 # Copy conditionally-set variables out one scope. 92 # Copy conditionally-set variables out one scope.
86 'chromeos%': '<(chromeos)', 93 'chromeos%': '<(chromeos)',
87 'touchui%': '<(touchui)', 94 'touchui%': '<(touchui)',
95 'use_virtual_keyboard%': '<(use_virtual_keyboard)',
88 'host_arch%': '<(host_arch)', 96 'host_arch%': '<(host_arch)',
89 'toolkit_views%': '<(toolkit_views)', 97 'toolkit_views%': '<(toolkit_views)',
90 'use_only_pure_views%': '<(use_only_pure_views)', 98 'use_only_pure_views%': '<(use_only_pure_views)',
91 'views_compositor%': '<(views_compositor)', 99 'views_compositor%': '<(views_compositor)',
92 'use_aura%': '<(use_aura)', 100 'use_aura%': '<(use_aura)',
93 101
94 # We used to provide a variable for changing how libraries were built. 102 # We used to provide a variable for changing how libraries were built.
95 # This variable remains until we can clean up all the users. 103 # This variable remains until we can clean up all the users.
96 # This needs to be one nested variables dict in so that dependent 104 # This needs to be one nested variables dict in so that dependent
97 # gyp files can make use of it in their outer variables. (Yikes!) 105 # gyp files can make use of it in their outer variables. (Yikes!)
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 'os_posix%': '<(os_posix)', 331 'os_posix%': '<(os_posix)',
324 'use_glib%': '<(use_glib)', 332 'use_glib%': '<(use_glib)',
325 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', 333 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
326 'use_skia%': '<(use_skia)', 334 'use_skia%': '<(use_skia)',
327 'use_x11%': '<(use_x11)', 335 'use_x11%': '<(use_x11)',
328 'use_gnome_keyring%': '<(use_gnome_keyring)', 336 'use_gnome_keyring%': '<(use_gnome_keyring)',
329 'linux_fpic%': '<(linux_fpic)', 337 'linux_fpic%': '<(linux_fpic)',
330 'enable_flapper_hacks%': '<(enable_flapper_hacks)', 338 'enable_flapper_hacks%': '<(enable_flapper_hacks)',
331 'chromeos%': '<(chromeos)', 339 'chromeos%': '<(chromeos)',
332 'touchui%': '<(touchui)', 340 'touchui%': '<(touchui)',
341 'use_virtual_keyboard%': '<(use_virtual_keyboard)',
333 'use_xi2_mt%':'<(use_xi2_mt)', 342 'use_xi2_mt%':'<(use_xi2_mt)',
334 'file_manager_extension%': '<(file_manager_extension)', 343 'file_manager_extension%': '<(file_manager_extension)',
335 'webui_task_manager%': '<(webui_task_manager)', 344 'webui_task_manager%': '<(webui_task_manager)',
336 'inside_chromium_build%': '<(inside_chromium_build)', 345 'inside_chromium_build%': '<(inside_chromium_build)',
337 'fastbuild%': '<(fastbuild)', 346 'fastbuild%': '<(fastbuild)',
338 'dcheck_always_on%': '<(dcheck_always_on)', 347 'dcheck_always_on%': '<(dcheck_always_on)',
339 'python_ver%': '<(python_ver)', 348 'python_ver%': '<(python_ver)',
340 'armv7%': '<(armv7)', 349 'armv7%': '<(armv7)',
341 'arm_neon%': '<(arm_neon)', 350 'arm_neon%': '<(arm_neon)',
342 'sysroot%': '<(sysroot)', 351 'sysroot%': '<(sysroot)',
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 }], 766 }],
758 ['use_only_pure_views==1', { 767 ['use_only_pure_views==1', {
759 'grit_defines': ['-D', 'use_only_pure_views'], 768 'grit_defines': ['-D', 'use_only_pure_views'],
760 }], 769 }],
761 ['use_aura==1', { 770 ['use_aura==1', {
762 'grit_defines': ['-D', 'use_aura'], 771 'grit_defines': ['-D', 'use_aura'],
763 }], 772 }],
764 ['touchui==1', { 773 ['touchui==1', {
765 'grit_defines': ['-D', 'touchui'], 774 'grit_defines': ['-D', 'touchui'],
766 }], 775 }],
776 ['use_virtual_keyboard==1', {
777 'grit_defines': ['-D', 'use_virtual_keyboard'],
778 }],
767 ['file_manager_extension==1', { 779 ['file_manager_extension==1', {
768 'grit_defines': ['-D', 'file_manager_extension'], 780 'grit_defines': ['-D', 'file_manager_extension'],
769 }], 781 }],
770 ['webui_task_manager==1', { 782 ['webui_task_manager==1', {
771 'grit_defines': ['-D', 'webui_task_manager'], 783 'grit_defines': ['-D', 'webui_task_manager'],
772 }], 784 }],
773 ['remoting==1', { 785 ['remoting==1', {
774 'grit_defines': ['-D', 'remoting'], 786 'grit_defines': ['-D', 'remoting'],
775 }], 787 }],
776 ['use_titlecase_in_grd_files==1', { 788 ['use_titlecase_in_grd_files==1', {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 }], 906 }],
895 ['toolkit_uses_gtk==1', { 907 ['toolkit_uses_gtk==1', {
896 'defines': ['TOOLKIT_USES_GTK=1'], 908 'defines': ['TOOLKIT_USES_GTK=1'],
897 }], 909 }],
898 ['chromeos==1', { 910 ['chromeos==1', {
899 'defines': ['OS_CHROMEOS=1'], 911 'defines': ['OS_CHROMEOS=1'],
900 }], 912 }],
901 ['touchui==1', { 913 ['touchui==1', {
902 'defines': ['TOUCH_UI=1'], 914 'defines': ['TOUCH_UI=1'],
903 }], 915 }],
916 ['use_virtual_keyboard==1', {
917 'defines': ['USE_VIRTUAL_KEYBOARD=1'],
918 }],
904 ['use_xi2_mt!=0', { 919 ['use_xi2_mt!=0', {
905 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], 920 'defines': ['USE_XI2_MT=<(use_xi2_mt)'],
906 }], 921 }],
907 ['use_wayland==1', { 922 ['use_wayland==1', {
908 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'], 923 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'],
909 }], 924 }],
910 ['file_manager_extension==1', { 925 ['file_manager_extension==1', {
911 'defines': ['FILE_MANAGER_EXTENSION=1'], 926 'defines': ['FILE_MANAGER_EXTENSION=1'],
912 }], 927 }],
913 ['webui_task_manager==1', { 928 ['webui_task_manager==1', {
(...skipping 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after
2478 # settings in target dicts. SYMROOT is a special case, because many other 2493 # settings in target dicts. SYMROOT is a special case, because many other
2479 # Xcode variables depend on it, including variables such as 2494 # Xcode variables depend on it, including variables such as
2480 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2495 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2481 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2496 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2482 # files to appear (when present) in the UI as actual files and not red 2497 # files to appear (when present) in the UI as actual files and not red
2483 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2498 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2484 # and therefore SYMROOT, needs to be set at the project level. 2499 # and therefore SYMROOT, needs to be set at the project level.
2485 'SYMROOT': '<(DEPTH)/xcodebuild', 2500 'SYMROOT': '<(DEPTH)/xcodebuild',
2486 }, 2501 },
2487 } 2502 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698