OLD | NEW |
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 11 matching lines...) Expand all Loading... |
22 'chromeos%': 0, | 22 'chromeos%': 0, |
23 | 23 |
24 # Whether or not we are using the Aura windowing framework. | 24 # Whether or not we are using the Aura windowing framework. |
25 'use_aura%': 0, | 25 'use_aura%': 0, |
26 | 26 |
27 # Whether or not we are building the Ash shell. | 27 # Whether or not we are building the Ash shell. |
28 'use_ash%': 0, | 28 'use_ash%': 0, |
29 | 29 |
30 # Whether or not we are using the embedded messagepump. | 30 # Whether or not we are using the embedded messagepump. |
31 'use_messagepump_linux%': 0, | 31 'use_messagepump_linux%': 0, |
| 32 |
| 33 # Use a raw surface abstraction. |
| 34 'use_ozone%': 0, |
32 }, | 35 }, |
33 # Copy conditionally-set variables out one scope. | 36 # Copy conditionally-set variables out one scope. |
34 'chromeos%': '<(chromeos)', | 37 'chromeos%': '<(chromeos)', |
35 'use_aura%': '<(use_aura)', | 38 'use_aura%': '<(use_aura)', |
36 'use_ash%': '<(use_ash)', | 39 'use_ash%': '<(use_ash)', |
| 40 'use_ozone%': '<(use_ozone)', |
37 | 41 |
38 # Whether or not we are using the /dev/input/event* message pump. | 42 # Whether or not we are using the /dev/input/event* message pump. |
39 'use_messagepump_linux%': '<(use_messagepump_linux)', | 43 'use_messagepump_linux%': '<(use_messagepump_linux)', |
40 | 44 |
41 # Whether we are using Views Toolkit | 45 # Whether we are using Views Toolkit |
42 'toolkit_views%': 0, | 46 'toolkit_views%': 0, |
43 | 47 |
44 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/
62803 | 48 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/
62803 |
45 'use_openssl%': 0, | 49 'use_openssl%': 0, |
46 | 50 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 'host_arch%': | 95 'host_arch%': |
92 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s
/arm.*/arm/;s/i86pc/ia32/")', | 96 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s
/arm.*/arm/;s/i86pc/ia32/")', |
93 }], | 97 }], |
94 ], | 98 ], |
95 }, | 99 }, |
96 # Copy conditionally-set variables out one scope. | 100 # Copy conditionally-set variables out one scope. |
97 'chromeos%': '<(chromeos)', | 101 'chromeos%': '<(chromeos)', |
98 'use_aura%': '<(use_aura)', | 102 'use_aura%': '<(use_aura)', |
99 'use_ash%': '<(use_ash)', | 103 'use_ash%': '<(use_ash)', |
100 'use_messagepump_linux%': '<(use_messagepump_linux)', | 104 'use_messagepump_linux%': '<(use_messagepump_linux)', |
| 105 'use_ozone%': '<(use_ozone)', |
101 'use_openssl%': '<(use_openssl)', | 106 'use_openssl%': '<(use_openssl)', |
102 'enable_viewport%': '<(enable_viewport)', | 107 'enable_viewport%': '<(enable_viewport)', |
103 'enable_hidpi%': '<(enable_hidpi)', | 108 'enable_hidpi%': '<(enable_hidpi)', |
104 'enable_touch_ui%': '<(enable_touch_ui)', | 109 'enable_touch_ui%': '<(enable_touch_ui)', |
105 'buildtype%': '<(buildtype)', | 110 'buildtype%': '<(buildtype)', |
106 'host_arch%': '<(host_arch)', | 111 'host_arch%': '<(host_arch)', |
107 | 112 |
108 # Default architecture we're building for is the architecture we're | 113 # Default architecture we're building for is the architecture we're |
109 # building on. | 114 # building on. |
110 'target_arch%': '<(host_arch)', | 115 'target_arch%': '<(host_arch)', |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 180 |
176 # Copy conditionally-set variables out one scope. | 181 # Copy conditionally-set variables out one scope. |
177 'chromeos%': '<(chromeos)', | 182 'chromeos%': '<(chromeos)', |
178 'host_arch%': '<(host_arch)', | 183 'host_arch%': '<(host_arch)', |
179 'target_arch%': '<(target_arch)', | 184 'target_arch%': '<(target_arch)', |
180 'toolkit_views%': '<(toolkit_views)', | 185 'toolkit_views%': '<(toolkit_views)', |
181 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 186 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
182 'use_aura%': '<(use_aura)', | 187 'use_aura%': '<(use_aura)', |
183 'use_ash%': '<(use_ash)', | 188 'use_ash%': '<(use_ash)', |
184 'use_messagepump_linux%': '<(use_messagepump_linux)', | 189 'use_messagepump_linux%': '<(use_messagepump_linux)', |
| 190 'use_ozone%': '<(use_ozone)', |
185 'use_openssl%': '<(use_openssl)', | 191 'use_openssl%': '<(use_openssl)', |
186 'enable_viewport%': '<(enable_viewport)', | 192 'enable_viewport%': '<(enable_viewport)', |
187 'enable_hidpi%': '<(enable_hidpi)', | 193 'enable_hidpi%': '<(enable_hidpi)', |
188 'enable_touch_ui%': '<(enable_touch_ui)', | 194 'enable_touch_ui%': '<(enable_touch_ui)', |
189 'android_webview_build%': '<(android_webview_build)', | 195 'android_webview_build%': '<(android_webview_build)', |
190 'google_tv%': '<(google_tv)', | 196 'google_tv%': '<(google_tv)', |
191 'inside_chromium_build%': '<(inside_chromium_build)', | 197 'inside_chromium_build%': '<(inside_chromium_build)', |
192 'enable_app_list%': '<(enable_app_list)', | 198 'enable_app_list%': '<(enable_app_list)', |
193 'enable_message_center%': '<(enable_message_center)', | 199 'enable_message_center%': '<(enable_message_center)', |
194 'use_default_render_theme%': '<(use_default_render_theme)', | 200 'use_default_render_theme%': '<(use_default_render_theme)', |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 'toolkit_views%': '<(toolkit_views)', | 718 'toolkit_views%': '<(toolkit_views)', |
713 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 719 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
714 'use_aura%': '<(use_aura)', | 720 'use_aura%': '<(use_aura)', |
715 'use_ash%': '<(use_ash)', | 721 'use_ash%': '<(use_ash)', |
716 'use_openssl%': '<(use_openssl)', | 722 'use_openssl%': '<(use_openssl)', |
717 'use_nss%': '<(use_nss)', | 723 'use_nss%': '<(use_nss)', |
718 'os_bsd%': '<(os_bsd)', | 724 'os_bsd%': '<(os_bsd)', |
719 'os_posix%': '<(os_posix)', | 725 'os_posix%': '<(os_posix)', |
720 'use_glib%': '<(use_glib)', | 726 'use_glib%': '<(use_glib)', |
721 'use_messagepump_linux%': '<(use_messagepump_linux)', | 727 'use_messagepump_linux%': '<(use_messagepump_linux)', |
| 728 'use_ozone%': '<(use_ozone)', |
722 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 729 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
723 'use_x11%': '<(use_x11)', | 730 'use_x11%': '<(use_x11)', |
724 'use_gnome_keyring%': '<(use_gnome_keyring)', | 731 'use_gnome_keyring%': '<(use_gnome_keyring)', |
725 'linux_fpic%': '<(linux_fpic)', | 732 'linux_fpic%': '<(linux_fpic)', |
726 'chromeos%': '<(chromeos)', | 733 'chromeos%': '<(chromeos)', |
727 'enable_viewport%': '<(enable_viewport)', | 734 'enable_viewport%': '<(enable_viewport)', |
728 'enable_hidpi%': '<(enable_hidpi)', | 735 'enable_hidpi%': '<(enable_hidpi)', |
729 'enable_touch_ui%': '<(enable_touch_ui)', | 736 'enable_touch_ui%': '<(enable_touch_ui)', |
730 'use_xi2_mt%':'<(use_xi2_mt)', | 737 'use_xi2_mt%':'<(use_xi2_mt)', |
731 'file_manager_extension%': '<(file_manager_extension)', | 738 'file_manager_extension%': '<(file_manager_extension)', |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1460 }], | 1467 }], |
1461 ['use_aura==1', { | 1468 ['use_aura==1', { |
1462 'grit_defines': ['-D', 'use_aura'], | 1469 'grit_defines': ['-D', 'use_aura'], |
1463 }], | 1470 }], |
1464 ['use_ash==1', { | 1471 ['use_ash==1', { |
1465 'grit_defines': ['-D', 'use_ash'], | 1472 'grit_defines': ['-D', 'use_ash'], |
1466 }], | 1473 }], |
1467 ['use_nss==1', { | 1474 ['use_nss==1', { |
1468 'grit_defines': ['-D', 'use_nss'], | 1475 'grit_defines': ['-D', 'use_nss'], |
1469 }], | 1476 }], |
| 1477 ['use_ozone==1', { |
| 1478 'grit_defines': ['-D', 'use_ozone'], |
| 1479 }], |
1470 ['file_manager_extension==1', { | 1480 ['file_manager_extension==1', { |
1471 'grit_defines': ['-D', 'file_manager_extension'], | 1481 'grit_defines': ['-D', 'file_manager_extension'], |
1472 }], | 1482 }], |
1473 ['image_loader_extension==1', { | 1483 ['image_loader_extension==1', { |
1474 'grit_defines': ['-D', 'image_loader_extension'], | 1484 'grit_defines': ['-D', 'image_loader_extension'], |
1475 }], | 1485 }], |
1476 ['remoting==1', { | 1486 ['remoting==1', { |
1477 'grit_defines': ['-D', 'remoting'], | 1487 'grit_defines': ['-D', 'remoting'], |
1478 }], | 1488 }], |
1479 ['use_titlecase_in_grd_files==1', { | 1489 ['use_titlecase_in_grd_files==1', { |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1849 }], | 1859 }], |
1850 ['use_aura==1', { | 1860 ['use_aura==1', { |
1851 'defines': ['USE_AURA=1'], | 1861 'defines': ['USE_AURA=1'], |
1852 }], | 1862 }], |
1853 ['use_ash==1', { | 1863 ['use_ash==1', { |
1854 'defines': ['USE_ASH=1'], | 1864 'defines': ['USE_ASH=1'], |
1855 }], | 1865 }], |
1856 ['use_messagepump_linux==1', { | 1866 ['use_messagepump_linux==1', { |
1857 'defines': ['USE_MESSAGEPUMP_LINUX=1'], | 1867 'defines': ['USE_MESSAGEPUMP_LINUX=1'], |
1858 }], | 1868 }], |
| 1869 ['use_ozone==1', { |
| 1870 'defines': ['USE_OZONE=1'], |
| 1871 }], |
1859 ['use_default_render_theme==1', { | 1872 ['use_default_render_theme==1', { |
1860 'defines': ['USE_DEFAULT_RENDER_THEME=1'], | 1873 'defines': ['USE_DEFAULT_RENDER_THEME=1'], |
1861 }], | 1874 }], |
1862 ['use_libjpeg_turbo==1', { | 1875 ['use_libjpeg_turbo==1', { |
1863 'defines': ['USE_LIBJPEG_TURBO=1'], | 1876 'defines': ['USE_LIBJPEG_TURBO=1'], |
1864 }], | 1877 }], |
1865 ['use_nss==1', { | 1878 ['use_nss==1', { |
1866 'defines': ['USE_NSS=1'], | 1879 'defines': ['USE_NSS=1'], |
1867 }], | 1880 }], |
1868 ['use_x11==1', { | 1881 ['use_x11==1', { |
(...skipping 2562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4431 # settings in target dicts. SYMROOT is a special case, because many other | 4444 # settings in target dicts. SYMROOT is a special case, because many other |
4432 # Xcode variables depend on it, including variables such as | 4445 # Xcode variables depend on it, including variables such as |
4433 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4446 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4434 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4447 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4435 # files to appear (when present) in the UI as actual files and not red | 4448 # files to appear (when present) in the UI as actual files and not red |
4436 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4449 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4437 # and therefore SYMROOT, needs to be set at the project level. | 4450 # and therefore SYMROOT, needs to be set at the project level. |
4438 'SYMROOT': '<(DEPTH)/xcodebuild', | 4451 'SYMROOT': '<(DEPTH)/xcodebuild', |
4439 }, | 4452 }, |
4440 } | 4453 } |
OLD | NEW |