| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 # Default architecture we're building for is the architecture we're | 141 # Default architecture we're building for is the architecture we're |
| 142 # building on. | 142 # building on. |
| 143 'target_arch%': '<(host_arch)', | 143 'target_arch%': '<(host_arch)', |
| 144 | 144 |
| 145 # This is set when building the Android WebView inside the Android | 145 # This is set when building the Android WebView inside the Android |
| 146 # build system, using the 'android' gyp backend. The WebView code is | 146 # build system, using the 'android' gyp backend. The WebView code is |
| 147 # still built when this is unset, but builds using the normal chromium | 147 # still built when this is unset, but builds using the normal chromium |
| 148 # build system. | 148 # build system. |
| 149 'android_webview_build%': 0, | 149 'android_webview_build%': 0, |
| 150 | 150 |
| 151 # Sets whether chrome is built for google tv device. | |
| 152 'google_tv%': 0, | |
| 153 | |
| 154 # Set ARM architecture version. | 151 # Set ARM architecture version. |
| 155 'arm_version%': 7, | 152 'arm_version%': 7, |
| 156 | 153 |
| 157 # Use aurax11 for clipboard implementation. This is true on linux_aura. | 154 # Use aurax11 for clipboard implementation. This is true on linux_aura. |
| 158 'use_clipboard_aurax11%': 0, | 155 'use_clipboard_aurax11%': 0, |
| 159 | 156 |
| 160 # goma settings. | 157 # goma settings. |
| 161 # 1 to use goma. | 158 # 1 to use goma. |
| 162 # If no gomadir is set, it uses the default gomadir. | 159 # If no gomadir is set, it uses the default gomadir. |
| 163 'use_goma%': 0, | 160 'use_goma%': 0, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 'use_ozone%': '<(use_ozone)', | 244 'use_ozone%': '<(use_ozone)', |
| 248 'use_ozone_evdev%': '<(use_ozone_evdev)', | 245 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 249 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 246 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 250 'embedded%': '<(embedded)', | 247 'embedded%': '<(embedded)', |
| 251 'use_openssl%': '<(use_openssl)', | 248 'use_openssl%': '<(use_openssl)', |
| 252 'use_system_fontconfig%': '<(use_system_fontconfig)', | 249 'use_system_fontconfig%': '<(use_system_fontconfig)', |
| 253 'enable_viewport%': '<(enable_viewport)', | 250 'enable_viewport%': '<(enable_viewport)', |
| 254 'enable_hidpi%': '<(enable_hidpi)', | 251 'enable_hidpi%': '<(enable_hidpi)', |
| 255 'enable_touch_ui%': '<(enable_touch_ui)', | 252 'enable_touch_ui%': '<(enable_touch_ui)', |
| 256 'android_webview_build%': '<(android_webview_build)', | 253 'android_webview_build%': '<(android_webview_build)', |
| 257 'google_tv%': '<(google_tv)', | |
| 258 'use_goma%': '<(use_goma)', | 254 'use_goma%': '<(use_goma)', |
| 259 'gomadir%': '<(gomadir)', | 255 'gomadir%': '<(gomadir)', |
| 260 'enable_app_list%': '<(enable_app_list)', | 256 'enable_app_list%': '<(enable_app_list)', |
| 261 'use_default_render_theme%': '<(use_default_render_theme)', | 257 'use_default_render_theme%': '<(use_default_render_theme)', |
| 262 'buildtype%': '<(buildtype)', | 258 'buildtype%': '<(buildtype)', |
| 263 'branding%': '<(branding)', | 259 'branding%': '<(branding)', |
| 264 'arm_version%': '<(arm_version)', | 260 'arm_version%': '<(arm_version)', |
| 265 | 261 |
| 266 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 262 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
| 267 # (it disables debug info for fastest compilation - only for use | 263 # (it disables debug info for fastest compilation - only for use |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 ['OS=="win" and buildtype!="Official"', { | 687 ['OS=="win" and buildtype!="Official"', { |
| 692 'chromium_win_pch%': 1 | 688 'chromium_win_pch%': 1 |
| 693 }], | 689 }], |
| 694 | 690 |
| 695 ['chromeos==1 or OS=="android" or OS=="ios"', { | 691 ['chromeos==1 or OS=="android" or OS=="ios"', { |
| 696 'enable_plugin_installation%': 0, | 692 'enable_plugin_installation%': 0, |
| 697 }, { | 693 }, { |
| 698 'enable_plugin_installation%': 1, | 694 'enable_plugin_installation%': 1, |
| 699 }], | 695 }], |
| 700 | 696 |
| 701 ['(OS=="android" and google_tv!=1) or OS=="ios" or embedded==1', { | 697 ['OS=="android" or OS=="ios" or embedded==1', { |
| 702 'enable_plugins%': 0, | 698 'enable_plugins%': 0, |
| 703 }, { | 699 }, { |
| 704 'enable_plugins%': 1, | 700 'enable_plugins%': 1, |
| 705 }], | 701 }], |
| 706 | 702 |
| 707 # linux_use_gold_binary: whether to use the binary checked into | 703 # linux_use_gold_binary: whether to use the binary checked into |
| 708 # third_party/gold. Gold is not used for 32-bit linux builds | 704 # third_party/gold. Gold is not used for 32-bit linux builds |
| 709 # as it runs out of address space. | 705 # as it runs out of address space. |
| 710 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { | 706 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { |
| 711 'linux_use_gold_binary%': 1, | 707 'linux_use_gold_binary%': 1, |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 966 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 962 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
| 967 'disable_ftp_support%': '<(disable_ftp_support)', | 963 'disable_ftp_support%': '<(disable_ftp_support)', |
| 968 'enable_task_manager%': '<(enable_task_manager)', | 964 'enable_task_manager%': '<(enable_task_manager)', |
| 969 'sas_dll_path%': '<(sas_dll_path)', | 965 'sas_dll_path%': '<(sas_dll_path)', |
| 970 'wix_path%': '<(wix_path)', | 966 'wix_path%': '<(wix_path)', |
| 971 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 967 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
| 972 'use_system_libjpeg%': '<(use_system_libjpeg)', | 968 'use_system_libjpeg%': '<(use_system_libjpeg)', |
| 973 'android_webview_build%': '<(android_webview_build)', | 969 'android_webview_build%': '<(android_webview_build)', |
| 974 'gyp_managed_install%': 0, | 970 'gyp_managed_install%': 0, |
| 975 'create_standalone_apk%': 1, | 971 'create_standalone_apk%': 1, |
| 976 'google_tv%': '<(google_tv)', | |
| 977 'enable_app_list%': '<(enable_app_list)', | 972 'enable_app_list%': '<(enable_app_list)', |
| 978 'use_default_render_theme%': '<(use_default_render_theme)', | 973 'use_default_render_theme%': '<(use_default_render_theme)', |
| 979 'enable_settings_app%': '<(enable_settings_app)', | 974 'enable_settings_app%': '<(enable_settings_app)', |
| 980 'google_api_key%': '<(google_api_key)', | 975 'google_api_key%': '<(google_api_key)', |
| 981 'google_default_client_id%': '<(google_default_client_id)', | 976 'google_default_client_id%': '<(google_default_client_id)', |
| 982 'google_default_client_secret%': '<(google_default_client_secret)', | 977 'google_default_client_secret%': '<(google_default_client_secret)', |
| 983 'enable_managed_users%': '<(enable_managed_users)', | 978 'enable_managed_users%': '<(enable_managed_users)', |
| 984 'native_discardable_memory%': '<(native_discardable_memory)', | 979 'native_discardable_memory%': '<(native_discardable_memory)', |
| 985 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', | 980 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', |
| 986 'data_reduction_fallback_host%': '<(data_reduction_fallback_host)', | 981 'data_reduction_fallback_host%': '<(data_reduction_fallback_host)', |
| (...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1614 'NACL_WIN64', | 1609 'NACL_WIN64', |
| 1615 ], | 1610 ], |
| 1616 }], | 1611 }], |
| 1617 | 1612 |
| 1618 ['os_posix==1 and chromeos==0 and OS!="android" and OS!="ios"', { | 1613 ['os_posix==1 and chromeos==0 and OS!="android" and OS!="ios"', { |
| 1619 'use_cups%': 1, | 1614 'use_cups%': 1, |
| 1620 }, { | 1615 }, { |
| 1621 'use_cups%': 0, | 1616 'use_cups%': 0, |
| 1622 }], | 1617 }], |
| 1623 | 1618 |
| 1624 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win" or google_t
v==1)', { | 1619 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win")', { |
| 1625 'enable_pepper_cdms%': 1, | 1620 'enable_pepper_cdms%': 1, |
| 1626 }, { | 1621 }, { |
| 1627 'enable_pepper_cdms%': 0, | 1622 'enable_pepper_cdms%': 0, |
| 1628 }], | 1623 }], |
| 1629 | 1624 |
| 1630 # Native Client glibc toolchain is enabled | 1625 # Native Client glibc toolchain is enabled |
| 1631 # by default except on arm and mips. | 1626 # by default except on arm and mips. |
| 1632 ['target_arch=="arm" or target_arch=="mipsel"', { | 1627 ['target_arch=="arm" or target_arch=="mipsel"', { |
| 1633 'disable_glibc%': 1, | 1628 'disable_glibc%': 1, |
| 1634 }, { | 1629 }, { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1712 ['use_third_party_translations==1', { | 1707 ['use_third_party_translations==1', { |
| 1713 'grit_defines': ['-D', 'use_third_party_translations'], | 1708 'grit_defines': ['-D', 'use_third_party_translations'], |
| 1714 'locales': [ | 1709 'locales': [ |
| 1715 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', | 1710 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', |
| 1716 'ka', 'ku', 'kw', 'ms', 'ug' | 1711 'ka', 'ku', 'kw', 'ms', 'ug' |
| 1717 ], | 1712 ], |
| 1718 }], | 1713 }], |
| 1719 ['OS=="android"', { | 1714 ['OS=="android"', { |
| 1720 'grit_defines': ['-t', 'android', | 1715 'grit_defines': ['-t', 'android', |
| 1721 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], | 1716 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], |
| 1722 'conditions': [ | |
| 1723 ['google_tv==1', { | |
| 1724 'grit_defines': ['-D', 'google_tv'], | |
| 1725 }], | |
| 1726 ], | |
| 1727 }], | 1717 }], |
| 1728 ['OS=="mac" or OS=="ios"', { | 1718 ['OS=="mac" or OS=="ios"', { |
| 1729 'grit_defines': ['-D', 'scale_factors=2x'], | 1719 'grit_defines': ['-D', 'scale_factors=2x'], |
| 1730 }], | 1720 }], |
| 1731 ['OS == "ios"', { | 1721 ['OS == "ios"', { |
| 1732 'grit_defines': [ | 1722 'grit_defines': [ |
| 1733 '-t', 'ios', | 1723 '-t', 'ios', |
| 1734 # iOS uses a whitelist to filter resources. | 1724 # iOS uses a whitelist to filter resources. |
| 1735 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' | 1725 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' |
| 1736 ], | 1726 ], |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2172 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], | 2162 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], |
| 2173 }], | 2163 }], |
| 2174 ['toolkit_uses_gtk==1 and toolkit_views==0', { | 2164 ['toolkit_uses_gtk==1 and toolkit_views==0', { |
| 2175 # TODO(erg): We are progressively sealing up use of deprecated features | 2165 # TODO(erg): We are progressively sealing up use of deprecated features |
| 2176 # in gtk in preparation for an eventual porting to gtk3. | 2166 # in gtk in preparation for an eventual porting to gtk3. |
| 2177 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'], | 2167 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'], |
| 2178 }], | 2168 }], |
| 2179 ['chromeos==1', { | 2169 ['chromeos==1', { |
| 2180 'defines': ['OS_CHROMEOS=1'], | 2170 'defines': ['OS_CHROMEOS=1'], |
| 2181 }], | 2171 }], |
| 2182 ['google_tv==1', { | |
| 2183 'defines': [ | |
| 2184 'GOOGLE_TV=1', | |
| 2185 'VIDEO_HOLE=1', | |
| 2186 ], | |
| 2187 }], | |
| 2188 ['use_xi2_mt!=0 and use_x11==1', { | 2172 ['use_xi2_mt!=0 and use_x11==1', { |
| 2189 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], | 2173 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], |
| 2190 }], | 2174 }], |
| 2191 ['file_manager_extension==1', { | 2175 ['file_manager_extension==1', { |
| 2192 'defines': ['FILE_MANAGER_EXTENSION=1'], | 2176 'defines': ['FILE_MANAGER_EXTENSION=1'], |
| 2193 }], | 2177 }], |
| 2194 ['image_loader_extension==1', { | 2178 ['image_loader_extension==1', { |
| 2195 'defines': ['IMAGE_LOADER_EXTENSION=1'], | 2179 'defines': ['IMAGE_LOADER_EXTENSION=1'], |
| 2196 }], | 2180 }], |
| 2197 ['profiling==1', { | 2181 ['profiling==1', { |
| (...skipping 2649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4847 # settings in target dicts. SYMROOT is a special case, because many other | 4831 # settings in target dicts. SYMROOT is a special case, because many other |
| 4848 # Xcode variables depend on it, including variables such as | 4832 # Xcode variables depend on it, including variables such as |
| 4849 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4833 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4850 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4834 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4851 # files to appear (when present) in the UI as actual files and not red | 4835 # files to appear (when present) in the UI as actual files and not red |
| 4852 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4836 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4853 # and therefore SYMROOT, needs to be set at the project level. | 4837 # and therefore SYMROOT, needs to be set at the project level. |
| 4854 'SYMROOT': '<(DEPTH)/xcodebuild', | 4838 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4855 }, | 4839 }, |
| 4856 } | 4840 } |
| OLD | NEW |