| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 # still built when this is unset, but builds using the normal chromium | 116 # still built when this is unset, but builds using the normal chromium |
| 117 # build system. | 117 # build system. |
| 118 'android_webview_build%': 0, | 118 'android_webview_build%': 0, |
| 119 | 119 |
| 120 # Sets whether chrome is built for google tv device. | 120 # Sets whether chrome is built for google tv device. |
| 121 'google_tv%': 0, | 121 'google_tv%': 0, |
| 122 | 122 |
| 123 # Set ARM architecture version. | 123 # Set ARM architecture version. |
| 124 'arm_version%': 7, | 124 'arm_version%': 7, |
| 125 | 125 |
| 126 |
| 127 # MDNS is disabled by default. |
| 128 'enable_mdns%' : 0, |
| 129 |
| 130 # DNS-SD is disabled by default |
| 131 'enable_service_discovery%': 0, |
| 132 |
| 133 |
| 126 'conditions': [ | 134 'conditions': [ |
| 127 # Set default value of toolkit_views based on OS. | 135 # Set default value of toolkit_views based on OS. |
| 128 ['OS=="win" or chromeos==1 or use_aura==1', { | 136 ['OS=="win" or chromeos==1 or use_aura==1', { |
| 129 'toolkit_views%': 1, | 137 'toolkit_views%': 1, |
| 130 }, { | 138 }, { |
| 131 'toolkit_views%': 0, | 139 'toolkit_views%': 0, |
| 132 }], | 140 }], |
| 133 | 141 |
| 134 # Set toolkit_uses_gtk for the Chromium browser on Linux. | 142 # Set toolkit_uses_gtk for the Chromium browser on Linux. |
| 135 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and
use_aura==0 and use_ozone==0', { | 143 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and
use_aura==0 and use_ozone==0', { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 'enable_hidpi%': '<(enable_hidpi)', | 193 'enable_hidpi%': '<(enable_hidpi)', |
| 186 'enable_touch_ui%': '<(enable_touch_ui)', | 194 'enable_touch_ui%': '<(enable_touch_ui)', |
| 187 'android_webview_build%': '<(android_webview_build)', | 195 'android_webview_build%': '<(android_webview_build)', |
| 188 'google_tv%': '<(google_tv)', | 196 'google_tv%': '<(google_tv)', |
| 189 'enable_app_list%': '<(enable_app_list)', | 197 'enable_app_list%': '<(enable_app_list)', |
| 190 'use_default_render_theme%': '<(use_default_render_theme)', | 198 'use_default_render_theme%': '<(use_default_render_theme)', |
| 191 'buildtype%': '<(buildtype)', | 199 'buildtype%': '<(buildtype)', |
| 192 'branding%': '<(branding)', | 200 'branding%': '<(branding)', |
| 193 'arm_version%': '<(arm_version)', | 201 'arm_version%': '<(arm_version)', |
| 194 'linux_lsb_release%': '<(linux_lsb_release)', | 202 'linux_lsb_release%': '<(linux_lsb_release)', |
| 203 'enable_mdns%' : '<(enable_mdns)', |
| 204 'enable_service_discovery%' : '<(enable_service_discovery)', |
| 195 | 205 |
| 196 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 206 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
| 197 # (it disables debug info for fastest compilation - only for use | 207 # (it disables debug info for fastest compilation - only for use |
| 198 # on compile-only bots). | 208 # on compile-only bots). |
| 199 'fastbuild%': 0, | 209 'fastbuild%': 0, |
| 200 | 210 |
| 201 # Set to 1 to enable dcheck in release without having to use the flag. | 211 # Set to 1 to enable dcheck in release without having to use the flag. |
| 202 'dcheck_always_on%': 0, | 212 'dcheck_always_on%': 0, |
| 203 | 213 |
| 204 # Disable file manager component extension by default. | 214 # Disable file manager component extension by default. |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 }], | 683 }], |
| 674 # Whether Android ARM build uses OpenMAX DL FFT. | 684 # Whether Android ARM build uses OpenMAX DL FFT. |
| 675 ['OS=="android" and target_arch=="arm" and android_webview_build==0', { | 685 ['OS=="android" and target_arch=="arm" and android_webview_build==0', { |
| 676 # Currently only supported on Android ARM, without webview. | 686 # Currently only supported on Android ARM, without webview. |
| 677 # When enabled, this will also enable WebAudio on Android | 687 # When enabled, this will also enable WebAudio on Android |
| 678 # ARM. Default is enabled. | 688 # ARM. Default is enabled. |
| 679 'use_openmax_dl_fft%': 1, | 689 'use_openmax_dl_fft%': 1, |
| 680 }, { | 690 }, { |
| 681 'use_openmax_dl_fft%': 0, | 691 'use_openmax_dl_fft%': 0, |
| 682 }], | 692 }], |
| 693 [ 'enable_service_discovery == 1', { |
| 694 'enable_mdns': 1, |
| 695 }], |
| 683 ], | 696 ], |
| 684 | 697 |
| 685 # Set this to 1 to enable use of concatenated impulse responses | 698 # Set this to 1 to enable use of concatenated impulse responses |
| 686 # for the HRTF panner in WebAudio. | 699 # for the HRTF panner in WebAudio. |
| 687 'use_concatenated_impulse_responses': 1, | 700 'use_concatenated_impulse_responses': 1, |
| 688 | 701 |
| 689 # You can set the variable 'use_official_google_api_keys' to 1 | 702 # You can set the variable 'use_official_google_api_keys' to 1 |
| 690 # to use the Google-internal file containing official API keys | 703 # to use the Google-internal file containing official API keys |
| 691 # for Google Chrome even in a developer build. Setting this | 704 # for Google Chrome even in a developer build. Setting this |
| 692 # variable explicitly to 1 will cause your build to fail if the | 705 # variable explicitly to 1 will cause your build to fail if the |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 'enable_app_list%': '<(enable_app_list)', | 835 'enable_app_list%': '<(enable_app_list)', |
| 823 'use_default_render_theme%': '<(use_default_render_theme)', | 836 'use_default_render_theme%': '<(use_default_render_theme)', |
| 824 'enable_settings_app%': '<(enable_settings_app)', | 837 'enable_settings_app%': '<(enable_settings_app)', |
| 825 'google_api_key%': '<(google_api_key)', | 838 'google_api_key%': '<(google_api_key)', |
| 826 'google_default_client_id%': '<(google_default_client_id)', | 839 'google_default_client_id%': '<(google_default_client_id)', |
| 827 'google_default_client_secret%': '<(google_default_client_secret)', | 840 'google_default_client_secret%': '<(google_default_client_secret)', |
| 828 'enable_managed_users%': '<(enable_managed_users)', | 841 'enable_managed_users%': '<(enable_managed_users)', |
| 829 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', | 842 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', |
| 830 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', | 843 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', |
| 831 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', | 844 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', |
| 845 'enable_mdns%' : '<(enable_mdns)', |
| 846 'enable_service_discovery%' : '<(enable_service_discovery)', |
| 832 | 847 |
| 833 # Use system mesa instead of bundled one. | 848 # Use system mesa instead of bundled one. |
| 834 'use_system_mesa%': 0, | 849 'use_system_mesa%': 0, |
| 835 | 850 |
| 836 # Use system nspr instead of the bundled one. | 851 # Use system nspr instead of the bundled one. |
| 837 'use_system_nspr%': 0, | 852 'use_system_nspr%': 0, |
| 838 | 853 |
| 839 # Use system protobuf instead of bundled one. | 854 # Use system protobuf instead of bundled one. |
| 840 'use_system_protobuf%': 0, | 855 'use_system_protobuf%': 0, |
| 841 | 856 |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1080 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))', | 1095 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))', |
| 1081 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', | 1096 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', |
| 1082 | 1097 |
| 1083 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', | 1098 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', |
| 1084 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', | 1099 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', |
| 1085 | 1100 |
| 1086 # Whether we are using the rlz library or not. Platforms like Android send | 1101 # Whether we are using the rlz library or not. Platforms like Android send |
| 1087 # rlz codes for searches but do not use the library. | 1102 # rlz codes for searches but do not use the library. |
| 1088 'enable_rlz%': 0, | 1103 'enable_rlz%': 0, |
| 1089 | 1104 |
| 1090 # MDNS is disabled by default. | |
| 1091 'enable_mdns%' : 0, | |
| 1092 | |
| 1093 'conditions': [ | 1105 'conditions': [ |
| 1094 # The version of GCC in use, set later in platforms that use GCC and have | 1106 # The version of GCC in use, set later in platforms that use GCC and have |
| 1095 # not explicitly chosen to build with clang. Currently, this means all | 1107 # not explicitly chosen to build with clang. Currently, this means all |
| 1096 # platforms except Windows, Mac and iOS. | 1108 # platforms except Windows, Mac and iOS. |
| 1097 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1109 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
| 1098 # it takes effect here. | 1110 # it takes effect here. |
| 1099 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa
n==0 and tsan==0 and msan==0', { | 1111 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa
n==0 and tsan==0 and msan==0', { |
| 1100 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 1112 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
| 1101 }, { | 1113 }, { |
| 1102 'gcc_version%': 0, | 1114 'gcc_version%': 0, |
| (...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2233 'defines': ['SPDY_PROXY_AUTH_ORIGIN="<(spdy_proxy_auth_origin)"'], | 2245 'defines': ['SPDY_PROXY_AUTH_ORIGIN="<(spdy_proxy_auth_origin)"'], |
| 2234 }], | 2246 }], |
| 2235 ['spdy_proxy_auth_property != ""', { | 2247 ['spdy_proxy_auth_property != ""', { |
| 2236 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'], | 2248 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'], |
| 2237 }], | 2249 }], |
| 2238 ['spdy_proxy_auth_value != ""', { | 2250 ['spdy_proxy_auth_value != ""', { |
| 2239 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], | 2251 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], |
| 2240 }], | 2252 }], |
| 2241 ['enable_mdns==1', { | 2253 ['enable_mdns==1', { |
| 2242 'defines': ['ENABLE_MDNS=1'], | 2254 'defines': ['ENABLE_MDNS=1'], |
| 2243 }] | 2255 }], |
| 2256 ['enable_service_discovery==1', { |
| 2257 'defines': ['ENABLE_SERVICE_DISCOVERY=1'], |
| 2258 }], |
| 2244 ], # conditions for 'target_defaults' | 2259 ], # conditions for 'target_defaults' |
| 2245 'target_conditions': [ | 2260 'target_conditions': [ |
| 2246 ['enable_wexit_time_destructors==1', { | 2261 ['enable_wexit_time_destructors==1', { |
| 2247 'conditions': [ | 2262 'conditions': [ |
| 2248 [ 'clang==1', { | 2263 [ 'clang==1', { |
| 2249 'cflags': [ | 2264 'cflags': [ |
| 2250 '-Wexit-time-destructors', | 2265 '-Wexit-time-destructors', |
| 2251 ], | 2266 ], |
| 2252 'xcode_settings': { | 2267 'xcode_settings': { |
| 2253 'WARNING_CFLAGS': [ | 2268 'WARNING_CFLAGS': [ |
| (...skipping 2314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4568 # settings in target dicts. SYMROOT is a special case, because many other | 4583 # settings in target dicts. SYMROOT is a special case, because many other |
| 4569 # Xcode variables depend on it, including variables such as | 4584 # Xcode variables depend on it, including variables such as |
| 4570 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4585 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4571 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4586 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4572 # files to appear (when present) in the UI as actual files and not red | 4587 # files to appear (when present) in the UI as actual files and not red |
| 4573 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4588 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4574 # and therefore SYMROOT, needs to be set at the project level. | 4589 # and therefore SYMROOT, needs to be set at the project level. |
| 4575 'SYMROOT': '<(DEPTH)/xcodebuild', | 4590 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4576 }, | 4591 }, |
| 4577 } | 4592 } |
| OLD | NEW |