| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 # Whether we are using Views Toolkit | 39 # Whether we are using Views Toolkit |
| 40 'toolkit_views%': 0, | 40 'toolkit_views%': 0, |
| 41 | 41 |
| 42 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/
62803 | 42 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/
62803 |
| 43 'use_openssl%': 0, | 43 'use_openssl%': 0, |
| 44 | 44 |
| 45 # Disable viewport meta tag by default. | 45 # Disable viewport meta tag by default. |
| 46 'enable_viewport%': 0, | 46 'enable_viewport%': 0, |
| 47 | 47 |
| 48 # Enable DoubleResourceLoadTiming support. |
| 49 'enable_double_resource_load_timing%': 1, |
| 50 |
| 48 # Enable HiDPI support. | 51 # Enable HiDPI support. |
| 49 'enable_hidpi%': 0, | 52 'enable_hidpi%': 0, |
| 50 | 53 |
| 51 # Enable touch optimized art assets and metrics. | 54 # Enable touch optimized art assets and metrics. |
| 52 'enable_touch_ui%': 0, | 55 'enable_touch_ui%': 0, |
| 53 | 56 |
| 54 # Override buildtype to select the desired build flavor. | 57 # Override buildtype to select the desired build flavor. |
| 55 # Dev - everyday build for development/testing | 58 # Dev - everyday build for development/testing |
| 56 # Official - release build (generally implies additional processing) | 59 # Official - release build (generally implies additional processing) |
| 57 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 60 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 }], | 97 }], |
| 95 ], | 98 ], |
| 96 }, | 99 }, |
| 97 # Copy conditionally-set variables out one scope. | 100 # Copy conditionally-set variables out one scope. |
| 98 'chromeos%': '<(chromeos)', | 101 'chromeos%': '<(chromeos)', |
| 99 'use_aura%': '<(use_aura)', | 102 'use_aura%': '<(use_aura)', |
| 100 'use_ash%': '<(use_ash)', | 103 'use_ash%': '<(use_ash)', |
| 101 'use_ozone%': '<(use_ozone)', | 104 'use_ozone%': '<(use_ozone)', |
| 102 'use_openssl%': '<(use_openssl)', | 105 'use_openssl%': '<(use_openssl)', |
| 103 'enable_viewport%': '<(enable_viewport)', | 106 'enable_viewport%': '<(enable_viewport)', |
| 107 'enable_double_resource_load_timing%': '<(enable_double_resource_load_ti
ming)', |
| 104 'enable_hidpi%': '<(enable_hidpi)', | 108 'enable_hidpi%': '<(enable_hidpi)', |
| 105 'enable_touch_ui%': '<(enable_touch_ui)', | 109 'enable_touch_ui%': '<(enable_touch_ui)', |
| 106 'buildtype%': '<(buildtype)', | 110 'buildtype%': '<(buildtype)', |
| 107 'branding%': '<(branding)', | 111 'branding%': '<(branding)', |
| 108 'host_arch%': '<(host_arch)', | 112 'host_arch%': '<(host_arch)', |
| 109 | 113 |
| 110 # Default architecture we're building for is the architecture we're | 114 # Default architecture we're building for is the architecture we're |
| 111 # building on. | 115 # building on. |
| 112 'target_arch%': '<(host_arch)', | 116 'target_arch%': '<(host_arch)', |
| 113 | 117 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 'chromeos%': '<(chromeos)', | 179 'chromeos%': '<(chromeos)', |
| 176 'host_arch%': '<(host_arch)', | 180 'host_arch%': '<(host_arch)', |
| 177 'target_arch%': '<(target_arch)', | 181 'target_arch%': '<(target_arch)', |
| 178 'toolkit_views%': '<(toolkit_views)', | 182 'toolkit_views%': '<(toolkit_views)', |
| 179 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 183 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
| 180 'use_aura%': '<(use_aura)', | 184 'use_aura%': '<(use_aura)', |
| 181 'use_ash%': '<(use_ash)', | 185 'use_ash%': '<(use_ash)', |
| 182 'use_ozone%': '<(use_ozone)', | 186 'use_ozone%': '<(use_ozone)', |
| 183 'use_openssl%': '<(use_openssl)', | 187 'use_openssl%': '<(use_openssl)', |
| 184 'enable_viewport%': '<(enable_viewport)', | 188 'enable_viewport%': '<(enable_viewport)', |
| 189 'enable_double_resource_load_timing%': '<(enable_double_resource_load_timi
ng)', |
| 185 'enable_hidpi%': '<(enable_hidpi)', | 190 'enable_hidpi%': '<(enable_hidpi)', |
| 186 'enable_touch_ui%': '<(enable_touch_ui)', | 191 'enable_touch_ui%': '<(enable_touch_ui)', |
| 187 'android_webview_build%': '<(android_webview_build)', | 192 'android_webview_build%': '<(android_webview_build)', |
| 188 'google_tv%': '<(google_tv)', | 193 'google_tv%': '<(google_tv)', |
| 189 'enable_app_list%': '<(enable_app_list)', | 194 'enable_app_list%': '<(enable_app_list)', |
| 190 'use_default_render_theme%': '<(use_default_render_theme)', | 195 'use_default_render_theme%': '<(use_default_render_theme)', |
| 191 'buildtype%': '<(buildtype)', | 196 'buildtype%': '<(buildtype)', |
| 192 'branding%': '<(branding)', | 197 'branding%': '<(branding)', |
| 193 'arm_version%': '<(arm_version)', | 198 'arm_version%': '<(arm_version)', |
| 194 'linux_lsb_release%': '<(linux_lsb_release)', | 199 'linux_lsb_release%': '<(linux_lsb_release)', |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 'os_bsd%': '<(os_bsd)', | 740 'os_bsd%': '<(os_bsd)', |
| 736 'os_posix%': '<(os_posix)', | 741 'os_posix%': '<(os_posix)', |
| 737 'use_glib%': '<(use_glib)', | 742 'use_glib%': '<(use_glib)', |
| 738 'use_ozone%': '<(use_ozone)', | 743 'use_ozone%': '<(use_ozone)', |
| 739 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 744 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
| 740 'use_x11%': '<(use_x11)', | 745 'use_x11%': '<(use_x11)', |
| 741 'use_gnome_keyring%': '<(use_gnome_keyring)', | 746 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 742 'linux_fpic%': '<(linux_fpic)', | 747 'linux_fpic%': '<(linux_fpic)', |
| 743 'chromeos%': '<(chromeos)', | 748 'chromeos%': '<(chromeos)', |
| 744 'enable_viewport%': '<(enable_viewport)', | 749 'enable_viewport%': '<(enable_viewport)', |
| 750 'enable_double_resource_load_timing%': '<(enable_double_resource_load_timing
)', |
| 745 'enable_hidpi%': '<(enable_hidpi)', | 751 'enable_hidpi%': '<(enable_hidpi)', |
| 746 'enable_touch_ui%': '<(enable_touch_ui)', | 752 'enable_touch_ui%': '<(enable_touch_ui)', |
| 747 'use_xi2_mt%':'<(use_xi2_mt)', | 753 'use_xi2_mt%':'<(use_xi2_mt)', |
| 748 'file_manager_extension%': '<(file_manager_extension)', | 754 'file_manager_extension%': '<(file_manager_extension)', |
| 749 'image_loader_extension%': '<(image_loader_extension)', | 755 'image_loader_extension%': '<(image_loader_extension)', |
| 750 'fastbuild%': '<(fastbuild)', | 756 'fastbuild%': '<(fastbuild)', |
| 751 'dcheck_always_on%': '<(dcheck_always_on)', | 757 'dcheck_always_on%': '<(dcheck_always_on)', |
| 752 'python_ver%': '<(python_ver)', | 758 'python_ver%': '<(python_ver)', |
| 753 'arm_version%': '<(arm_version)', | 759 'arm_version%': '<(arm_version)', |
| 754 'armv7%': '<(armv7)', | 760 'armv7%': '<(armv7)', |
| (...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1829 'xcode_settings': { | 1835 'xcode_settings': { |
| 1830 'DYLIB_INSTALL_NAME_BASE': '@rpath', | 1836 'DYLIB_INSTALL_NAME_BASE': '@rpath', |
| 1831 'LD_RUNPATH_SEARCH_PATHS': [ | 1837 'LD_RUNPATH_SEARCH_PATHS': [ |
| 1832 # For unbundled binaries. | 1838 # For unbundled binaries. |
| 1833 '@loader_path/.', | 1839 '@loader_path/.', |
| 1834 # For bundled binaries, to get back from Binary.app/Contents/MacOS. | 1840 # For bundled binaries, to get back from Binary.app/Contents/MacOS. |
| 1835 '@loader_path/../../..', | 1841 '@loader_path/../../..', |
| 1836 ], | 1842 ], |
| 1837 }, | 1843 }, |
| 1838 }], | 1844 }], |
| 1845 ['enable_double_resource_load_timing==1', { |
| 1846 'defines': ['ENABLE_DOUBLE_RESOURCE_LOAD_TIMING'], |
| 1847 }], |
| 1839 ['enable_rlz==1', { | 1848 ['enable_rlz==1', { |
| 1840 'defines': ['ENABLE_RLZ'], | 1849 'defines': ['ENABLE_RLZ'], |
| 1841 }], | 1850 }], |
| 1842 ['component=="shared_library"', { | 1851 ['component=="shared_library"', { |
| 1843 'defines': ['COMPONENT_BUILD'], | 1852 'defines': ['COMPONENT_BUILD'], |
| 1844 }], | 1853 }], |
| 1845 ['toolkit_views==1', { | 1854 ['toolkit_views==1', { |
| 1846 'defines': ['TOOLKIT_VIEWS=1'], | 1855 'defines': ['TOOLKIT_VIEWS=1'], |
| 1847 }], | 1856 }], |
| 1848 ['ui_compositor_image_transport==1', { | 1857 ['ui_compositor_image_transport==1', { |
| (...skipping 2590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4439 # settings in target dicts. SYMROOT is a special case, because many other | 4448 # settings in target dicts. SYMROOT is a special case, because many other |
| 4440 # Xcode variables depend on it, including variables such as | 4449 # Xcode variables depend on it, including variables such as |
| 4441 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4450 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4442 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4451 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4443 # files to appear (when present) in the UI as actual files and not red | 4452 # files to appear (when present) in the UI as actual files and not red |
| 4444 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4453 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4445 # and therefore SYMROOT, needs to be set at the project level. | 4454 # and therefore SYMROOT, needs to be set at the project level. |
| 4446 'SYMROOT': '<(DEPTH)/xcodebuild', | 4455 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4447 }, | 4456 }, |
| 4448 } | 4457 } |
| OLD | NEW |