| 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. |
| 11 'variables': { | 11 'variables': { |
| 12 # Putting a variables dict inside another variables dict looks kind of | 12 # Putting a variables dict inside another variables dict looks kind of |
| 13 # weird. This is done so that 'host_arch', 'chromeos', etc are defined as | 13 # weird. This is done so that 'host_arch', 'chromeos', etc are defined as |
| 14 # variables within the outer variables dict here. This is necessary | 14 # variables within the outer variables dict here. This is necessary |
| 15 # to get these variables defined for the conditions within this variables | 15 # to get these variables defined for the conditions within this variables |
| 16 # dict that operate on these variables. | 16 # dict that operate on these variables. |
| 17 'variables': { | 17 'variables': { |
| 18 'variables': { | 18 'variables': { |
| 19 'variables': { | 19 'variables': { |
| 20 'variables': { | 20 'variables': { |
| 21 # Whether we're building a ChromeOS build. | 21 # Whether we're building a ChromeOS build. |
| 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 CRAS, the ChromeOS Audio Server. |
| 31 'use_cras%': 0, |
| 32 |
| 30 # Use a raw surface abstraction. | 33 # Use a raw surface abstraction. |
| 31 'use_ozone%': 0, | 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_cras%': '<(use_cras)', |
| 37 'use_ozone%': '<(use_ozone)', | 41 'use_ozone%': '<(use_ozone)', |
| 38 | 42 |
| 39 # Whether we are using Views Toolkit | 43 # Whether we are using Views Toolkit |
| 40 'toolkit_views%': 0, | 44 'toolkit_views%': 0, |
| 41 | 45 |
| 42 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/
62803 | 46 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/
62803 |
| 43 'use_openssl%': 0, | 47 'use_openssl%': 0, |
| 44 | 48 |
| 45 # Disable viewport meta tag by default. | 49 # Disable viewport meta tag by default. |
| 46 'enable_viewport%': 0, | 50 'enable_viewport%': 0, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 # gyp. | 95 # gyp. |
| 92 'host_arch%': | 96 'host_arch%': |
| 93 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s
/arm.*/arm/;s/i86pc/ia32/")', | 97 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s
/arm.*/arm/;s/i86pc/ia32/")', |
| 94 }], | 98 }], |
| 95 ], | 99 ], |
| 96 }, | 100 }, |
| 97 # Copy conditionally-set variables out one scope. | 101 # Copy conditionally-set variables out one scope. |
| 98 'chromeos%': '<(chromeos)', | 102 'chromeos%': '<(chromeos)', |
| 99 'use_aura%': '<(use_aura)', | 103 'use_aura%': '<(use_aura)', |
| 100 'use_ash%': '<(use_ash)', | 104 'use_ash%': '<(use_ash)', |
| 105 'use_cras%': '<(use_cras)', |
| 101 'use_ozone%': '<(use_ozone)', | 106 'use_ozone%': '<(use_ozone)', |
| 102 'use_openssl%': '<(use_openssl)', | 107 'use_openssl%': '<(use_openssl)', |
| 103 'enable_viewport%': '<(enable_viewport)', | 108 'enable_viewport%': '<(enable_viewport)', |
| 104 'enable_hidpi%': '<(enable_hidpi)', | 109 'enable_hidpi%': '<(enable_hidpi)', |
| 105 'enable_touch_ui%': '<(enable_touch_ui)', | 110 'enable_touch_ui%': '<(enable_touch_ui)', |
| 106 'buildtype%': '<(buildtype)', | 111 'buildtype%': '<(buildtype)', |
| 107 'branding%': '<(branding)', | 112 'branding%': '<(branding)', |
| 108 'host_arch%': '<(host_arch)', | 113 'host_arch%': '<(host_arch)', |
| 109 | 114 |
| 110 # Default architecture we're building for is the architecture we're | 115 # Default architecture we're building for is the architecture we're |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 }, | 177 }, |
| 173 | 178 |
| 174 # Copy conditionally-set variables out one scope. | 179 # Copy conditionally-set variables out one scope. |
| 175 'chromeos%': '<(chromeos)', | 180 'chromeos%': '<(chromeos)', |
| 176 'host_arch%': '<(host_arch)', | 181 'host_arch%': '<(host_arch)', |
| 177 'target_arch%': '<(target_arch)', | 182 'target_arch%': '<(target_arch)', |
| 178 'toolkit_views%': '<(toolkit_views)', | 183 'toolkit_views%': '<(toolkit_views)', |
| 179 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 184 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
| 180 'use_aura%': '<(use_aura)', | 185 'use_aura%': '<(use_aura)', |
| 181 'use_ash%': '<(use_ash)', | 186 'use_ash%': '<(use_ash)', |
| 187 'use_cras%': '<(use_cras)', |
| 182 'use_ozone%': '<(use_ozone)', | 188 'use_ozone%': '<(use_ozone)', |
| 183 'use_openssl%': '<(use_openssl)', | 189 'use_openssl%': '<(use_openssl)', |
| 184 'enable_viewport%': '<(enable_viewport)', | 190 'enable_viewport%': '<(enable_viewport)', |
| 185 'enable_hidpi%': '<(enable_hidpi)', | 191 'enable_hidpi%': '<(enable_hidpi)', |
| 186 'enable_touch_ui%': '<(enable_touch_ui)', | 192 'enable_touch_ui%': '<(enable_touch_ui)', |
| 187 'android_webview_build%': '<(android_webview_build)', | 193 'android_webview_build%': '<(android_webview_build)', |
| 188 'google_tv%': '<(google_tv)', | 194 'google_tv%': '<(google_tv)', |
| 189 'enable_app_list%': '<(enable_app_list)', | 195 'enable_app_list%': '<(enable_app_list)', |
| 190 'use_default_render_theme%': '<(use_default_render_theme)', | 196 'use_default_render_theme%': '<(use_default_render_theme)', |
| 191 'buildtype%': '<(buildtype)', | 197 'buildtype%': '<(buildtype)', |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 | 754 |
| 749 # Copy conditionally-set variables out one scope. | 755 # Copy conditionally-set variables out one scope. |
| 750 'branding%': '<(branding)', | 756 'branding%': '<(branding)', |
| 751 'buildtype%': '<(buildtype)', | 757 'buildtype%': '<(buildtype)', |
| 752 'target_arch%': '<(target_arch)', | 758 'target_arch%': '<(target_arch)', |
| 753 'host_arch%': '<(host_arch)', | 759 'host_arch%': '<(host_arch)', |
| 754 'toolkit_views%': '<(toolkit_views)', | 760 'toolkit_views%': '<(toolkit_views)', |
| 755 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 761 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
| 756 'use_aura%': '<(use_aura)', | 762 'use_aura%': '<(use_aura)', |
| 757 'use_ash%': '<(use_ash)', | 763 'use_ash%': '<(use_ash)', |
| 764 'use_cras%': '<(use_cras)', |
| 758 'use_openssl%': '<(use_openssl)', | 765 'use_openssl%': '<(use_openssl)', |
| 759 'use_nss%': '<(use_nss)', | 766 'use_nss%': '<(use_nss)', |
| 760 'os_bsd%': '<(os_bsd)', | 767 'os_bsd%': '<(os_bsd)', |
| 761 'os_posix%': '<(os_posix)', | 768 'os_posix%': '<(os_posix)', |
| 762 'use_glib%': '<(use_glib)', | 769 'use_glib%': '<(use_glib)', |
| 763 'use_pango%': '<(use_pango)', | 770 'use_pango%': '<(use_pango)', |
| 764 'use_ozone%': '<(use_ozone)', | 771 'use_ozone%': '<(use_ozone)', |
| 765 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 772 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
| 766 'use_x11%': '<(use_x11)', | 773 'use_x11%': '<(use_x11)', |
| 767 'use_gnome_keyring%': '<(use_gnome_keyring)', | 774 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| (...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1921 }], | 1928 }], |
| 1922 ['ui_compositor_image_transport==1', { | 1929 ['ui_compositor_image_transport==1', { |
| 1923 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], | 1930 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], |
| 1924 }], | 1931 }], |
| 1925 ['use_aura==1', { | 1932 ['use_aura==1', { |
| 1926 'defines': ['USE_AURA=1'], | 1933 'defines': ['USE_AURA=1'], |
| 1927 }], | 1934 }], |
| 1928 ['use_ash==1', { | 1935 ['use_ash==1', { |
| 1929 'defines': ['USE_ASH=1'], | 1936 'defines': ['USE_ASH=1'], |
| 1930 }], | 1937 }], |
| 1938 ['use_cras==1', { |
| 1939 'defines': ['USE_CRAS=1'], |
| 1940 }], |
| 1931 ['use_ozone==1', { | 1941 ['use_ozone==1', { |
| 1932 'defines': ['USE_OZONE=1'], | 1942 'defines': ['USE_OZONE=1'], |
| 1933 }], | 1943 }], |
| 1934 ['use_default_render_theme==1', { | 1944 ['use_default_render_theme==1', { |
| 1935 'defines': ['USE_DEFAULT_RENDER_THEME=1'], | 1945 'defines': ['USE_DEFAULT_RENDER_THEME=1'], |
| 1936 }], | 1946 }], |
| 1937 ['use_libjpeg_turbo==1', { | 1947 ['use_libjpeg_turbo==1', { |
| 1938 'defines': ['USE_LIBJPEG_TURBO=1'], | 1948 'defines': ['USE_LIBJPEG_TURBO=1'], |
| 1939 }], | 1949 }], |
| 1940 ['use_nss==1', { | 1950 ['use_nss==1', { |
| (...skipping 2746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4687 # settings in target dicts. SYMROOT is a special case, because many other | 4697 # settings in target dicts. SYMROOT is a special case, because many other |
| 4688 # Xcode variables depend on it, including variables such as | 4698 # Xcode variables depend on it, including variables such as |
| 4689 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4699 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4690 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4700 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4691 # files to appear (when present) in the UI as actual files and not red | 4701 # files to appear (when present) in the UI as actual files and not red |
| 4692 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4702 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4693 # and therefore SYMROOT, needs to be set at the project level. | 4703 # and therefore SYMROOT, needs to be set at the project level. |
| 4694 'SYMROOT': '<(DEPTH)/xcodebuild', | 4704 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4695 }, | 4705 }, |
| 4696 } | 4706 } |
| OLD | NEW |