Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: build/common.gypi

Issue 12379030: Remove "use_skia" variable from gyp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | printing/printing.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', 411 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86',
412 'wix_path%': '<(DEPTH)/third_party/wix', 412 'wix_path%': '<(DEPTH)/third_party/wix',
413 413
414 # Managed users are enabled by default. 414 # Managed users are enabled by default.
415 'enable_managed_users%': 1, 415 'enable_managed_users%': 1,
416 416
417 'spdy_proxy_auth_origin%' : '', 417 'spdy_proxy_auth_origin%' : '',
418 'spdy_proxy_auth_property%' : '', 418 'spdy_proxy_auth_property%' : '',
419 419
420 'conditions': [ 420 'conditions': [
421 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of
422 # the 'conditions' clause. Initial attempts resulted in chromium and
423 # webkit disagreeing on its setting.
424 ['OS=="mac"', {
425 'use_skia%': 1,
426 }, {
427 'use_skia%': 1,
428 }],
429
430 # A flag for POSIX platforms 421 # A flag for POSIX platforms
431 ['OS=="win"', { 422 ['OS=="win"', {
432 'os_posix%': 0, 423 'os_posix%': 0,
433 }, { 424 }, {
434 'os_posix%': 1, 425 'os_posix%': 1,
435 }], 426 }],
436 427
437 # A flag for BSD platforms 428 # A flag for BSD platforms
438 ['OS=="freebsd" or OS=="openbsd"', { 429 ['OS=="freebsd" or OS=="openbsd"', {
439 'os_bsd%': 1, 430 'os_bsd%': 1,
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 'toolkit_views%': '<(toolkit_views)', 669 'toolkit_views%': '<(toolkit_views)',
679 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', 670 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
680 'use_aura%': '<(use_aura)', 671 'use_aura%': '<(use_aura)',
681 'use_ash%': '<(use_ash)', 672 'use_ash%': '<(use_ash)',
682 'use_openssl%': '<(use_openssl)', 673 'use_openssl%': '<(use_openssl)',
683 'use_nss%': '<(use_nss)', 674 'use_nss%': '<(use_nss)',
684 'os_bsd%': '<(os_bsd)', 675 'os_bsd%': '<(os_bsd)',
685 'os_posix%': '<(os_posix)', 676 'os_posix%': '<(os_posix)',
686 'use_glib%': '<(use_glib)', 677 'use_glib%': '<(use_glib)',
687 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', 678 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
688 'use_skia%': '<(use_skia)',
689 'use_x11%': '<(use_x11)', 679 'use_x11%': '<(use_x11)',
690 'use_gnome_keyring%': '<(use_gnome_keyring)', 680 'use_gnome_keyring%': '<(use_gnome_keyring)',
691 'linux_fpic%': '<(linux_fpic)', 681 'linux_fpic%': '<(linux_fpic)',
692 'enable_pepper_threading%': '<(enable_pepper_threading)', 682 'enable_pepper_threading%': '<(enable_pepper_threading)',
693 'chromeos%': '<(chromeos)', 683 'chromeos%': '<(chromeos)',
694 'enable_viewport%': '<(enable_viewport)', 684 'enable_viewport%': '<(enable_viewport)',
695 'enable_hidpi%': '<(enable_hidpi)', 685 'enable_hidpi%': '<(enable_hidpi)',
696 'enable_touch_ui%': '<(enable_touch_ui)', 686 'enable_touch_ui%': '<(enable_touch_ui)',
697 'use_xi2_mt%':'<(use_xi2_mt)', 687 'use_xi2_mt%':'<(use_xi2_mt)',
698 'file_manager_extension%': '<(file_manager_extension)', 688 'file_manager_extension%': '<(file_manager_extension)',
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1664 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l 1654 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l
1665 'mac_release_optimization%': 's', # Use -Os unless overridden 1655 'mac_release_optimization%': 's', # Use -Os unless overridden
1666 'mac_debug_optimization%': '0', # Use -O0 unless overridden 1656 'mac_debug_optimization%': '0', # Use -O0 unless overridden
1667 }, { 1657 }, {
1668 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l 1658 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l
1669 'mac_release_optimization%': '3', # Use -O3 unless overridden 1659 'mac_release_optimization%': '3', # Use -O3 unless overridden
1670 'mac_debug_optimization%': '0', # Use -O0 unless overridden 1660 'mac_debug_optimization%': '0', # Use -O0 unless overridden
1671 }], 1661 }],
1672 ], 1662 ],
1673 }, 1663 },
1664 # TODO(teravest): Remove this define once uses of USE_SKIA are cleaned up
1665 # throughout the codebase.
1666 'defines' : ['USE_SKIA'],
1674 'conditions': [ 1667 'conditions': [
1675 ['OS=="linux" and linux_use_tcmalloc==1 and clang_type_profiler==1', { 1668 ['OS=="linux" and linux_use_tcmalloc==1 and clang_type_profiler==1', {
1676 'cflags_cc!': ['-fno-rtti'], 1669 'cflags_cc!': ['-fno-rtti'],
1677 'cflags_cc+': [ 1670 'cflags_cc+': [
1678 '-frtti', 1671 '-frtti',
1679 '-gline-tables-only', 1672 '-gline-tables-only',
1680 '-fintercept-allocation-functions', 1673 '-fintercept-allocation-functions',
1681 ], 1674 ],
1682 'defines': ['TYPE_PROFILING'], 1675 'defines': ['TYPE_PROFILING'],
1683 'dependencies': [ 1676 'dependencies': [
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1869 ['use_openssl==1', { 1862 ['use_openssl==1', {
1870 'defines': [ 1863 'defines': [
1871 'USE_OPENSSL=1', 1864 'USE_OPENSSL=1',
1872 ], 1865 ],
1873 }], 1866 }],
1874 ['enable_eglimage==1', { 1867 ['enable_eglimage==1', {
1875 'defines': [ 1868 'defines': [
1876 'ENABLE_EGLIMAGE=1', 1869 'ENABLE_EGLIMAGE=1',
1877 ], 1870 ],
1878 }], 1871 }],
1879 ['use_skia==1', {
1880 'defines': [
1881 'USE_SKIA=1',
1882 ],
1883 }],
1884 ['asan==1 and OS=="win"', { 1872 ['asan==1 and OS=="win"', {
1885 # Since asan on windows uses Syzygy, we need /PROFILE turned on to 1873 # Since asan on windows uses Syzygy, we need /PROFILE turned on to
1886 # produce appropriate pdbs. 1874 # produce appropriate pdbs.
1887 'msvs_settings': { 1875 'msvs_settings': {
1888 'VCLinkerTool': { 1876 'VCLinkerTool': {
1889 'Profile': 'true', 1877 'Profile': 'true',
1890 }, 1878 },
1891 }, 1879 },
1892 'defines': ['ADDRESS_SANITIZER'], 1880 'defines': ['ADDRESS_SANITIZER'],
1893 }], # asan==1 and OS=="win" 1881 }], # asan==1 and OS=="win"
(...skipping 2234 matching lines...) Expand 10 before | Expand all | Expand 10 after
4128 # settings in target dicts. SYMROOT is a special case, because many other 4116 # settings in target dicts. SYMROOT is a special case, because many other
4129 # Xcode variables depend on it, including variables such as 4117 # Xcode variables depend on it, including variables such as
4130 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4118 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4131 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4119 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4132 # files to appear (when present) in the UI as actual files and not red 4120 # files to appear (when present) in the UI as actual files and not red
4133 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4121 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4134 # and therefore SYMROOT, needs to be set at the project level. 4122 # and therefore SYMROOT, needs to be set at the project level.
4135 'SYMROOT': '<(DEPTH)/xcodebuild', 4123 'SYMROOT': '<(DEPTH)/xcodebuild',
4136 }, 4124 },
4137 } 4125 }
OLDNEW
« no previous file with comments | « no previous file | printing/printing.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698