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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 # Default architecture we're building for is the architecture we're | 134 # Default architecture we're building for is the architecture we're |
135 # building on. | 135 # building on. |
136 'target_arch%': '<(host_arch)', | 136 'target_arch%': '<(host_arch)', |
137 | 137 |
138 # This is set when building the Android WebView inside the Android | 138 # This is set when building the Android WebView inside the Android |
139 # build system, using the 'android' gyp backend. The WebView code is | 139 # build system, using the 'android' gyp backend. The WebView code is |
140 # still built when this is unset, but builds using the normal chromium | 140 # still built when this is unset, but builds using the normal chromium |
141 # build system. | 141 # build system. |
142 'android_webview_build%': 0, | 142 'android_webview_build%': 0, |
143 | 143 |
144 # Sets whether chrome is built for google tv device. | |
145 'google_tv%': 0, | |
146 | |
147 # Set ARM architecture version. | 144 # Set ARM architecture version. |
148 'arm_version%': 7, | 145 'arm_version%': 7, |
149 | 146 |
150 # Use aurax11 for clipboard implementation. This is true on linux_aura. | 147 # Use aurax11 for clipboard implementation. This is true on linux_aura. |
151 'use_clipboard_aurax11%': 0, | 148 'use_clipboard_aurax11%': 0, |
152 | 149 |
153 # goma settings. | 150 # goma settings. |
154 # 1 to use goma. | 151 # 1 to use goma. |
155 # If no gomadir is set, it uses the default gomadir. | 152 # If no gomadir is set, it uses the default gomadir. |
156 'use_goma%': 0, | 153 'use_goma%': 0, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 'use_cras%': '<(use_cras)', | 236 'use_cras%': '<(use_cras)', |
240 'use_ozone%': '<(use_ozone)', | 237 'use_ozone%': '<(use_ozone)', |
241 'use_ozone_evdev%': '<(use_ozone_evdev)', | 238 'use_ozone_evdev%': '<(use_ozone_evdev)', |
242 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 239 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
243 'embedded%': '<(embedded)', | 240 'embedded%': '<(embedded)', |
244 'use_openssl%': '<(use_openssl)', | 241 'use_openssl%': '<(use_openssl)', |
245 'enable_viewport%': '<(enable_viewport)', | 242 'enable_viewport%': '<(enable_viewport)', |
246 'enable_hidpi%': '<(enable_hidpi)', | 243 'enable_hidpi%': '<(enable_hidpi)', |
247 'enable_touch_ui%': '<(enable_touch_ui)', | 244 'enable_touch_ui%': '<(enable_touch_ui)', |
248 'android_webview_build%': '<(android_webview_build)', | 245 'android_webview_build%': '<(android_webview_build)', |
249 'google_tv%': '<(google_tv)', | |
250 'use_goma%': '<(use_goma)', | 246 'use_goma%': '<(use_goma)', |
251 'gomadir%': '<(gomadir)', | 247 'gomadir%': '<(gomadir)', |
252 'enable_app_list%': '<(enable_app_list)', | 248 'enable_app_list%': '<(enable_app_list)', |
253 'use_default_render_theme%': '<(use_default_render_theme)', | 249 'use_default_render_theme%': '<(use_default_render_theme)', |
254 'buildtype%': '<(buildtype)', | 250 'buildtype%': '<(buildtype)', |
255 'branding%': '<(branding)', | 251 'branding%': '<(branding)', |
256 'arm_version%': '<(arm_version)', | 252 'arm_version%': '<(arm_version)', |
257 | 253 |
258 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 254 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
259 # (it disables debug info for fastest compilation - only for use | 255 # (it disables debug info for fastest compilation - only for use |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 ['OS=="win" and buildtype!="Official"', { | 676 ['OS=="win" and buildtype!="Official"', { |
681 'chromium_win_pch%': 1 | 677 'chromium_win_pch%': 1 |
682 }], | 678 }], |
683 | 679 |
684 ['chromeos==1 or OS=="android" or OS=="ios"', { | 680 ['chromeos==1 or OS=="android" or OS=="ios"', { |
685 'enable_plugin_installation%': 0, | 681 'enable_plugin_installation%': 0, |
686 }, { | 682 }, { |
687 'enable_plugin_installation%': 1, | 683 'enable_plugin_installation%': 1, |
688 }], | 684 }], |
689 | 685 |
690 ['(OS=="android" and google_tv!=1) or OS=="ios" or embedded==1', { | 686 ['OS=="android" or OS=="ios" or embedded==1', { |
691 'enable_plugins%': 0, | 687 'enable_plugins%': 0, |
692 }, { | 688 }, { |
693 'enable_plugins%': 1, | 689 'enable_plugins%': 1, |
694 }], | 690 }], |
695 | 691 |
696 # linux_use_gold_binary: whether to use the binary checked into | 692 # linux_use_gold_binary: whether to use the binary checked into |
697 # third_party/gold. Gold is not used for 32-bit linux builds | 693 # third_party/gold. Gold is not used for 32-bit linux builds |
698 # as it runs out of address space. | 694 # as it runs out of address space. |
699 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { | 695 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { |
700 'linux_use_gold_binary%': 1, | 696 'linux_use_gold_binary%': 1, |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 949 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
954 'disable_ftp_support%': '<(disable_ftp_support)', | 950 'disable_ftp_support%': '<(disable_ftp_support)', |
955 'enable_task_manager%': '<(enable_task_manager)', | 951 'enable_task_manager%': '<(enable_task_manager)', |
956 'sas_dll_path%': '<(sas_dll_path)', | 952 'sas_dll_path%': '<(sas_dll_path)', |
957 'wix_path%': '<(wix_path)', | 953 'wix_path%': '<(wix_path)', |
958 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 954 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
959 'use_system_libjpeg%': '<(use_system_libjpeg)', | 955 'use_system_libjpeg%': '<(use_system_libjpeg)', |
960 'android_webview_build%': '<(android_webview_build)', | 956 'android_webview_build%': '<(android_webview_build)', |
961 'gyp_managed_install%': 0, | 957 'gyp_managed_install%': 0, |
962 'create_standalone_apk%': 1, | 958 'create_standalone_apk%': 1, |
963 'google_tv%': '<(google_tv)', | |
964 'enable_app_list%': '<(enable_app_list)', | 959 'enable_app_list%': '<(enable_app_list)', |
965 'use_default_render_theme%': '<(use_default_render_theme)', | 960 'use_default_render_theme%': '<(use_default_render_theme)', |
966 'enable_settings_app%': '<(enable_settings_app)', | 961 'enable_settings_app%': '<(enable_settings_app)', |
967 'google_api_key%': '<(google_api_key)', | 962 'google_api_key%': '<(google_api_key)', |
968 'google_default_client_id%': '<(google_default_client_id)', | 963 'google_default_client_id%': '<(google_default_client_id)', |
969 'google_default_client_secret%': '<(google_default_client_secret)', | 964 'google_default_client_secret%': '<(google_default_client_secret)', |
970 'enable_managed_users%': '<(enable_managed_users)', | 965 'enable_managed_users%': '<(enable_managed_users)', |
971 'native_discardable_memory%': '<(native_discardable_memory)', | 966 'native_discardable_memory%': '<(native_discardable_memory)', |
972 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', | 967 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', |
973 'data_reduction_fallback_host%': '<(data_reduction_fallback_host)', | 968 'data_reduction_fallback_host%': '<(data_reduction_fallback_host)', |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1593 'NACL_WIN64', | 1588 'NACL_WIN64', |
1594 ], | 1589 ], |
1595 }], | 1590 }], |
1596 | 1591 |
1597 ['os_posix==1 and chromeos==0 and OS!="android" and OS!="ios"', { | 1592 ['os_posix==1 and chromeos==0 and OS!="android" and OS!="ios"', { |
1598 'use_cups%': 1, | 1593 'use_cups%': 1, |
1599 }, { | 1594 }, { |
1600 'use_cups%': 0, | 1595 'use_cups%': 0, |
1601 }], | 1596 }], |
1602 | 1597 |
1603 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win" or google_t
v==1)', { | 1598 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win")', { |
1604 'enable_pepper_cdms%': 1, | 1599 'enable_pepper_cdms%': 1, |
1605 }, { | 1600 }, { |
1606 'enable_pepper_cdms%': 0, | 1601 'enable_pepper_cdms%': 0, |
1607 }], | 1602 }], |
1608 | 1603 |
1609 # Native Client glibc toolchain is enabled | 1604 # Native Client glibc toolchain is enabled |
1610 # by default except on arm and mips. | 1605 # by default except on arm and mips. |
1611 ['target_arch=="arm" or target_arch=="mipsel"', { | 1606 ['target_arch=="arm" or target_arch=="mipsel"', { |
1612 'disable_glibc%': 1, | 1607 'disable_glibc%': 1, |
1613 }, { | 1608 }, { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1691 ['use_third_party_translations==1', { | 1686 ['use_third_party_translations==1', { |
1692 'grit_defines': ['-D', 'use_third_party_translations'], | 1687 'grit_defines': ['-D', 'use_third_party_translations'], |
1693 'locales': [ | 1688 'locales': [ |
1694 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', | 1689 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', |
1695 'ka', 'ku', 'kw', 'ms', 'ug' | 1690 'ka', 'ku', 'kw', 'ms', 'ug' |
1696 ], | 1691 ], |
1697 }], | 1692 }], |
1698 ['OS=="android"', { | 1693 ['OS=="android"', { |
1699 'grit_defines': ['-t', 'android', | 1694 'grit_defines': ['-t', 'android', |
1700 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], | 1695 '-E', 'ANDROID_JAVA_TAGGED_ONLY=true'], |
1701 'conditions': [ | |
1702 ['google_tv==1', { | |
1703 'grit_defines': ['-D', 'google_tv'], | |
1704 }], | |
1705 ], | |
1706 }], | 1696 }], |
1707 ['OS=="mac" or OS=="ios"', { | 1697 ['OS=="mac" or OS=="ios"', { |
1708 'grit_defines': ['-D', 'scale_factors=2x'], | 1698 'grit_defines': ['-D', 'scale_factors=2x'], |
1709 }], | 1699 }], |
1710 ['OS == "ios"', { | 1700 ['OS == "ios"', { |
1711 'grit_defines': [ | 1701 'grit_defines': [ |
1712 '-t', 'ios', | 1702 '-t', 'ios', |
1713 # iOS uses a whitelist to filter resources. | 1703 # iOS uses a whitelist to filter resources. |
1714 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' | 1704 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' |
1715 ], | 1705 ], |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2151 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], | 2141 'defines': ['ENABLE_ONE_CLICK_SIGNIN'], |
2152 }], | 2142 }], |
2153 ['toolkit_uses_gtk==1 and toolkit_views==0', { | 2143 ['toolkit_uses_gtk==1 and toolkit_views==0', { |
2154 # TODO(erg): We are progressively sealing up use of deprecated features | 2144 # TODO(erg): We are progressively sealing up use of deprecated features |
2155 # in gtk in preparation for an eventual porting to gtk3. | 2145 # in gtk in preparation for an eventual porting to gtk3. |
2156 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'], | 2146 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'], |
2157 }], | 2147 }], |
2158 ['chromeos==1', { | 2148 ['chromeos==1', { |
2159 'defines': ['OS_CHROMEOS=1'], | 2149 'defines': ['OS_CHROMEOS=1'], |
2160 }], | 2150 }], |
2161 ['google_tv==1', { | |
2162 'defines': [ | |
2163 'GOOGLE_TV=1', | |
2164 'VIDEO_HOLE=1', | |
2165 ], | |
2166 }], | |
2167 ['use_xi2_mt!=0 and use_x11==1', { | 2151 ['use_xi2_mt!=0 and use_x11==1', { |
2168 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], | 2152 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], |
2169 }], | 2153 }], |
2170 ['file_manager_extension==1', { | 2154 ['file_manager_extension==1', { |
2171 'defines': ['FILE_MANAGER_EXTENSION=1'], | 2155 'defines': ['FILE_MANAGER_EXTENSION=1'], |
2172 }], | 2156 }], |
2173 ['image_loader_extension==1', { | 2157 ['image_loader_extension==1', { |
2174 'defines': ['IMAGE_LOADER_EXTENSION=1'], | 2158 'defines': ['IMAGE_LOADER_EXTENSION=1'], |
2175 }], | 2159 }], |
2176 ['profiling==1', { | 2160 ['profiling==1', { |
(...skipping 2625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4802 # settings in target dicts. SYMROOT is a special case, because many other | 4786 # settings in target dicts. SYMROOT is a special case, because many other |
4803 # Xcode variables depend on it, including variables such as | 4787 # Xcode variables depend on it, including variables such as |
4804 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4788 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4805 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4789 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4806 # files to appear (when present) in the UI as actual files and not red | 4790 # files to appear (when present) in the UI as actual files and not red |
4807 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4791 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4808 # and therefore SYMROOT, needs to be set at the project level. | 4792 # and therefore SYMROOT, needs to be set at the project level. |
4809 'SYMROOT': '<(DEPTH)/xcodebuild', | 4793 'SYMROOT': '<(DEPTH)/xcodebuild', |
4810 }, | 4794 }, |
4811 } | 4795 } |
OLD | NEW |