| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 # Enable Web Intents and supporting UI. | 191 # Enable Web Intents and supporting UI. |
| 192 'enable_web_intents%': 0, | 192 'enable_web_intents%': 0, |
| 193 | 193 |
| 194 # Smooth scrolling is disabled by default. | 194 # Smooth scrolling is disabled by default. |
| 195 'enable_smooth_scrolling%': 0, | 195 'enable_smooth_scrolling%': 0, |
| 196 | 196 |
| 197 # Webrtc compilation is enabled by default. Set to 0 to disable. | 197 # Webrtc compilation is enabled by default. Set to 0 to disable. |
| 198 'enable_webrtc%': 1, | 198 'enable_webrtc%': 1, |
| 199 | 199 |
| 200 # Whether to use precompiled headers on Windows. |
| 201 'use_precompiled_headers%': 0, |
| 202 |
| 200 'conditions': [ | 203 'conditions': [ |
| 201 # Use Skia as WebKit renderer on Mac | 204 # Use Skia as WebKit renderer on Mac |
| 202 ['OS=="mac"', { | 205 ['OS=="mac"', { |
| 203 'use_skia%': 0, | 206 'use_skia%': 0, |
| 204 }, { | 207 }, { |
| 205 'use_skia%': 1, | 208 'use_skia%': 1, |
| 206 }], | 209 }], |
| 207 | 210 |
| 208 # A flag for POSIX platforms | 211 # A flag for POSIX platforms |
| 209 ['OS=="win"', { | 212 ['OS=="win"', { |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 'python_ver%': '<(python_ver)', | 298 'python_ver%': '<(python_ver)', |
| 296 'armv7%': '<(armv7)', | 299 'armv7%': '<(armv7)', |
| 297 'arm_neon%': '<(arm_neon)', | 300 'arm_neon%': '<(arm_neon)', |
| 298 'sysroot%': '<(sysroot)', | 301 'sysroot%': '<(sysroot)', |
| 299 'disable_sse2%': '<(disable_sse2)', | 302 'disable_sse2%': '<(disable_sse2)', |
| 300 'component%': '<(component)', | 303 'component%': '<(component)', |
| 301 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 304 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
| 302 'use_third_party_translations%': '<(use_third_party_translations)', | 305 'use_third_party_translations%': '<(use_third_party_translations)', |
| 303 'remoting%': '<(remoting)', | 306 'remoting%': '<(remoting)', |
| 304 'enable_webrtc%': '<(enable_webrtc)', | 307 'enable_webrtc%': '<(enable_webrtc)', |
| 308 'use_precompiled_headers%': '<(use_precompiled_headers)', |
| 305 'p2p_apis%': '<(p2p_apis)', | 309 'p2p_apis%': '<(p2p_apis)', |
| 306 'configuration_policy%': '<(configuration_policy)', | 310 'configuration_policy%': '<(configuration_policy)', |
| 307 'safe_browsing%': '<(safe_browsing)', | 311 'safe_browsing%': '<(safe_browsing)', |
| 308 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 312 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 309 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 313 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
| 310 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', | 314 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', |
| 311 # Whether to build for Wayland display server | 315 # Whether to build for Wayland display server |
| 312 'use_wayland%': 0, | 316 'use_wayland%': 0, |
| 313 | 317 |
| 314 # The release channel that this build targets. This is used to restrict | 318 # The release channel that this build targets. This is used to restrict |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 # Clang creates chubby debug information, which makes linking very | 814 # Clang creates chubby debug information, which makes linking very |
| 811 # slow. For now, don't create debug information with clang. See | 815 # slow. For now, don't create debug information with clang. See |
| 812 # http://crbug.com/70000 | 816 # http://crbug.com/70000 |
| 813 ['OS=="linux" and clang==1', { | 817 ['OS=="linux" and clang==1', { |
| 814 'variables': { | 818 'variables': { |
| 815 'debug_extra_cflags': '-g0', | 819 'debug_extra_cflags': '-g0', |
| 816 }, | 820 }, |
| 817 }], | 821 }], |
| 818 ], # conditions for fastbuild. | 822 ], # conditions for fastbuild. |
| 819 }], # fastbuild!=0 | 823 }], # fastbuild!=0 |
| 824 ['use_precompiled_headers!=0', { |
| 825 'conditions': [ |
| 826 ['OS=="win"', { |
| 827 'sources': ['<(DEPTH)/build/precompile.cc'], |
| 828 'msvs_precompiled_header': '<(DEPTH)/build/precompile.h', |
| 829 'msvs_precompiled_source': '<(DEPTH)/build/precompile.cc', |
| 830 }], # OS=="win" |
| 831 ], # conditions |
| 832 }], # use_precompiled_headers!=0 |
| 820 ['selinux==1', { | 833 ['selinux==1', { |
| 821 'defines': ['CHROMIUM_SELINUX=1'], | 834 'defines': ['CHROMIUM_SELINUX=1'], |
| 822 }], | 835 }], |
| 823 ['win_use_allocator_shim==0', { | 836 ['win_use_allocator_shim==0', { |
| 824 'conditions': [ | 837 'conditions': [ |
| 825 ['OS=="win"', { | 838 ['OS=="win"', { |
| 826 'defines': ['NO_TCMALLOC'], | 839 'defines': ['NO_TCMALLOC'], |
| 827 }], | 840 }], |
| 828 ], | 841 ], |
| 829 }], | 842 }], |
| (...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1958 # settings in target dicts. SYMROOT is a special case, because many other | 1971 # settings in target dicts. SYMROOT is a special case, because many other |
| 1959 # Xcode variables depend on it, including variables such as | 1972 # Xcode variables depend on it, including variables such as |
| 1960 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1973 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 1961 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1974 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 1962 # files to appear (when present) in the UI as actual files and not red | 1975 # files to appear (when present) in the UI as actual files and not red |
| 1963 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1976 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 1964 # and therefore SYMROOT, needs to be set at the project level. | 1977 # and therefore SYMROOT, needs to be set at the project level. |
| 1965 'SYMROOT': '<(DEPTH)/xcodebuild', | 1978 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1966 }, | 1979 }, |
| 1967 } | 1980 } |
| OLD | NEW |