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_native_surface_linux%': 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)', |
37 | 40 |
38 # Whether or not we are using the /dev/input/event* message pump. | 41 # Whether or not we are using the /dev/input/event* message pump. |
39 'use_messagepump_linux%': '<(use_messagepump_linux)', | 42 'use_messagepump_linux%': '<(use_messagepump_linux)', |
40 | 43 |
44 # Use a raw Linux framebuffer. | |
45 'use_native_surface_linux%': '<(use_native_surface_linux)', | |
46 | |
41 # Whether we are using Views Toolkit | 47 # Whether we are using Views Toolkit |
42 'toolkit_views%': 0, | 48 'toolkit_views%': 0, |
43 | 49 |
44 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/ 62803 | 50 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/ 62803 |
45 'use_openssl%': 0, | 51 'use_openssl%': 0, |
46 | 52 |
47 # Disable viewport meta tag by default. | 53 # Disable viewport meta tag by default. |
48 'enable_viewport%': 0, | 54 'enable_viewport%': 0, |
49 | 55 |
50 # Enable HiDPI support. | 56 # Enable HiDPI support. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
91 'host_arch%': | 97 'host_arch%': |
92 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s /arm.*/arm/;s/i86pc/ia32/")', | 98 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s /arm.*/arm/;s/i86pc/ia32/")', |
93 }], | 99 }], |
94 ], | 100 ], |
95 }, | 101 }, |
96 # Copy conditionally-set variables out one scope. | 102 # Copy conditionally-set variables out one scope. |
97 'chromeos%': '<(chromeos)', | 103 'chromeos%': '<(chromeos)', |
98 'use_aura%': '<(use_aura)', | 104 'use_aura%': '<(use_aura)', |
99 'use_ash%': '<(use_ash)', | 105 'use_ash%': '<(use_ash)', |
100 'use_messagepump_linux%': '<(use_messagepump_linux)', | 106 'use_messagepump_linux%': '<(use_messagepump_linux)', |
107 'use_native_surface_linux%': '<(use_native_surface_linux)', | |
101 'use_openssl%': '<(use_openssl)', | 108 'use_openssl%': '<(use_openssl)', |
102 'enable_viewport%': '<(enable_viewport)', | 109 'enable_viewport%': '<(enable_viewport)', |
103 'enable_hidpi%': '<(enable_hidpi)', | 110 'enable_hidpi%': '<(enable_hidpi)', |
104 'enable_touch_ui%': '<(enable_touch_ui)', | 111 'enable_touch_ui%': '<(enable_touch_ui)', |
105 'buildtype%': '<(buildtype)', | 112 'buildtype%': '<(buildtype)', |
106 'host_arch%': '<(host_arch)', | 113 'host_arch%': '<(host_arch)', |
107 | 114 |
108 # Default architecture we're building for is the architecture we're | 115 # Default architecture we're building for is the architecture we're |
109 # building on. | 116 # building on. |
110 'target_arch%': '<(host_arch)', | 117 'target_arch%': '<(host_arch)', |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 | 182 |
176 # Copy conditionally-set variables out one scope. | 183 # Copy conditionally-set variables out one scope. |
177 'chromeos%': '<(chromeos)', | 184 'chromeos%': '<(chromeos)', |
178 'host_arch%': '<(host_arch)', | 185 'host_arch%': '<(host_arch)', |
179 'target_arch%': '<(target_arch)', | 186 'target_arch%': '<(target_arch)', |
180 'toolkit_views%': '<(toolkit_views)', | 187 'toolkit_views%': '<(toolkit_views)', |
181 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 188 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
182 'use_aura%': '<(use_aura)', | 189 'use_aura%': '<(use_aura)', |
183 'use_ash%': '<(use_ash)', | 190 'use_ash%': '<(use_ash)', |
184 'use_messagepump_linux%': '<(use_messagepump_linux)', | 191 'use_messagepump_linux%': '<(use_messagepump_linux)', |
192 'use_native_surface_linux%': '<(use_native_surface_linux)', | |
185 'use_openssl%': '<(use_openssl)', | 193 'use_openssl%': '<(use_openssl)', |
186 'enable_viewport%': '<(enable_viewport)', | 194 'enable_viewport%': '<(enable_viewport)', |
187 'enable_hidpi%': '<(enable_hidpi)', | 195 'enable_hidpi%': '<(enable_hidpi)', |
188 'enable_touch_ui%': '<(enable_touch_ui)', | 196 'enable_touch_ui%': '<(enable_touch_ui)', |
189 'android_webview_build%': '<(android_webview_build)', | 197 'android_webview_build%': '<(android_webview_build)', |
190 'google_tv%': '<(google_tv)', | 198 'google_tv%': '<(google_tv)', |
191 'inside_chromium_build%': '<(inside_chromium_build)', | 199 'inside_chromium_build%': '<(inside_chromium_build)', |
192 'enable_app_list%': '<(enable_app_list)', | 200 'enable_app_list%': '<(enable_app_list)', |
193 'enable_message_center%': '<(enable_message_center)', | 201 'enable_message_center%': '<(enable_message_center)', |
194 'use_default_render_theme%': '<(use_default_render_theme)', | 202 '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)', | 720 'toolkit_views%': '<(toolkit_views)', |
713 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 721 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
714 'use_aura%': '<(use_aura)', | 722 'use_aura%': '<(use_aura)', |
715 'use_ash%': '<(use_ash)', | 723 'use_ash%': '<(use_ash)', |
716 'use_openssl%': '<(use_openssl)', | 724 'use_openssl%': '<(use_openssl)', |
717 'use_nss%': '<(use_nss)', | 725 'use_nss%': '<(use_nss)', |
718 'os_bsd%': '<(os_bsd)', | 726 'os_bsd%': '<(os_bsd)', |
719 'os_posix%': '<(os_posix)', | 727 'os_posix%': '<(os_posix)', |
720 'use_glib%': '<(use_glib)', | 728 'use_glib%': '<(use_glib)', |
721 'use_messagepump_linux%': '<(use_messagepump_linux)', | 729 'use_messagepump_linux%': '<(use_messagepump_linux)', |
730 'use_native_surface_linux%': '<(use_native_surface_linux)', | |
722 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 731 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
723 'use_x11%': '<(use_x11)', | 732 'use_x11%': '<(use_x11)', |
724 'use_gnome_keyring%': '<(use_gnome_keyring)', | 733 'use_gnome_keyring%': '<(use_gnome_keyring)', |
725 'linux_fpic%': '<(linux_fpic)', | 734 'linux_fpic%': '<(linux_fpic)', |
726 'chromeos%': '<(chromeos)', | 735 'chromeos%': '<(chromeos)', |
727 'enable_viewport%': '<(enable_viewport)', | 736 'enable_viewport%': '<(enable_viewport)', |
728 'enable_hidpi%': '<(enable_hidpi)', | 737 'enable_hidpi%': '<(enable_hidpi)', |
729 'enable_touch_ui%': '<(enable_touch_ui)', | 738 'enable_touch_ui%': '<(enable_touch_ui)', |
730 'use_xi2_mt%':'<(use_xi2_mt)', | 739 'use_xi2_mt%':'<(use_xi2_mt)', |
731 'file_manager_extension%': '<(file_manager_extension)', | 740 'file_manager_extension%': '<(file_manager_extension)', |
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1830 }], | 1839 }], |
1831 ['use_aura==1', { | 1840 ['use_aura==1', { |
1832 'defines': ['USE_AURA=1'], | 1841 'defines': ['USE_AURA=1'], |
1833 }], | 1842 }], |
1834 ['use_ash==1', { | 1843 ['use_ash==1', { |
1835 'defines': ['USE_ASH=1'], | 1844 'defines': ['USE_ASH=1'], |
1836 }], | 1845 }], |
1837 ['use_messagepump_linux==1', { | 1846 ['use_messagepump_linux==1', { |
1838 'defines': ['USE_MESSAGEPUMP_LINUX=1'], | 1847 'defines': ['USE_MESSAGEPUMP_LINUX=1'], |
1839 }], | 1848 }], |
1849 ['use_native_surface_linux==1', { | |
1850 'defines': ['USE_NATIVE_SURFACE_LINUX=1'], | |
1851 }], | |
1840 ['use_default_render_theme==1', { | 1852 ['use_default_render_theme==1', { |
1841 'defines': ['USE_DEFAULT_RENDER_THEME=1'], | 1853 'defines': ['USE_DEFAULT_RENDER_THEME=1'], |
1842 }], | 1854 }], |
1843 ['use_libjpeg_turbo==1', { | 1855 ['use_libjpeg_turbo==1', { |
1844 'defines': ['USE_LIBJPEG_TURBO=1'], | 1856 'defines': ['USE_LIBJPEG_TURBO=1'], |
1845 }], | 1857 }], |
1846 ['use_nss==1', { | 1858 ['use_nss==1', { |
1847 'defines': ['USE_NSS=1'], | 1859 'defines': ['USE_NSS=1'], |
1848 }], | 1860 }], |
1849 ['use_x11==1', { | 1861 ['use_x11==1', { |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2615 'werror%': '-Werror', | 2627 'werror%': '-Werror', |
2616 'libraries_for_target%': '', | 2628 'libraries_for_target%': '', |
2617 }, | 2629 }, |
2618 'defines': [ | 2630 'defines': [ |
2619 '_FILE_OFFSET_BITS=64', | 2631 '_FILE_OFFSET_BITS=64', |
2620 ], | 2632 ], |
2621 'cflags': [ | 2633 'cflags': [ |
2622 '<(werror)', # See note above about the werror variable. | 2634 '<(werror)', # See note above about the werror variable. |
2623 '-pthread', | 2635 '-pthread', |
2624 '-fno-exceptions', | 2636 '-fno-exceptions', |
2637 '-funwind-tables', # Emit unwind tables despite -fno-exceptions. | |
jonathan.backer
2013/04/30 12:41:20
IDK what this is, but I don't see it on ToT. Merge
| |
2625 '-fno-strict-aliasing', # See http://crbug.com/32204 | 2638 '-fno-strict-aliasing', # See http://crbug.com/32204 |
2626 '-Wall', | 2639 '-Wall', |
2627 # TODO(evan): turn this back on once all the builds work. | 2640 # TODO(evan): turn this back on once all the builds work. |
2628 # '-Wextra', | 2641 # '-Wextra', |
2629 # Don't warn about unused function params. We use those everywhere. | 2642 # Don't warn about unused function params. We use those everywhere. |
2630 '-Wno-unused-parameter', | 2643 '-Wno-unused-parameter', |
2631 # Don't warn about the "struct foo f = {0};" initialization pattern. | 2644 # Don't warn about the "struct foo f = {0};" initialization pattern. |
2632 '-Wno-missing-field-initializers', | 2645 '-Wno-missing-field-initializers', |
2633 # Don't export any symbols (for example, to plugins we dlopen()). | 2646 # Don't export any symbols (for example, to plugins we dlopen()). |
2634 # Note: this is *required* to make some plugins work. | 2647 # Note: this is *required* to make some plugins work. |
(...skipping 1728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4363 # settings in target dicts. SYMROOT is a special case, because many other | 4376 # settings in target dicts. SYMROOT is a special case, because many other |
4364 # Xcode variables depend on it, including variables such as | 4377 # Xcode variables depend on it, including variables such as |
4365 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4378 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4366 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4379 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4367 # files to appear (when present) in the UI as actual files and not red | 4380 # files to appear (when present) in the UI as actual files and not red |
4368 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4381 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4369 # and therefore SYMROOT, needs to be set at the project level. | 4382 # and therefore SYMROOT, needs to be set at the project level. |
4370 'SYMROOT': '<(DEPTH)/xcodebuild', | 4383 'SYMROOT': '<(DEPTH)/xcodebuild', |
4371 }, | 4384 }, |
4372 } | 4385 } |
OLD | NEW |