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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 'use_x11%': 1, | 521 'use_x11%': 1, |
522 }], | 522 }], |
523 | 523 |
524 # Flags to use glib. | 524 # Flags to use glib. |
525 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { | 525 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { |
526 'use_glib%': 0, | 526 'use_glib%': 0, |
527 }, { | 527 }, { |
528 'use_glib%': 1, | 528 'use_glib%': 1, |
529 }], | 529 }], |
530 | 530 |
531 # Flags to use pango. | 531 # Flags to use pango and cairo. |
532 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or embedded==1',
{ | 532 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or embedded==1',
{ |
533 'use_pango%': 0, | 533 'use_pango%': 0, |
| 534 'use_cairo%': 0, |
534 }, { | 535 }, { |
535 'use_pango%': 1, | 536 'use_pango%': 1, |
| 537 'use_cairo%': 1, |
536 }], | 538 }], |
537 | 539 |
538 # DBus usage. | 540 # DBus usage. |
539 ['OS=="linux" and embedded==0', { | 541 ['OS=="linux" and embedded==0', { |
540 'use_dbus%': 1, | 542 'use_dbus%': 1, |
541 }, { | 543 }, { |
542 'use_dbus%': 0, | 544 'use_dbus%': 0, |
543 }], | 545 }], |
544 | 546 |
545 # We always use skia text rendering in Aura on Windows, since GDI | 547 # We always use skia text rendering in Aura on Windows, since GDI |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 'use_aura%': '<(use_aura)', | 856 'use_aura%': '<(use_aura)', |
855 'use_ash%': '<(use_ash)', | 857 'use_ash%': '<(use_ash)', |
856 'use_cras%': '<(use_cras)', | 858 'use_cras%': '<(use_cras)', |
857 'use_openssl%': '<(use_openssl)', | 859 'use_openssl%': '<(use_openssl)', |
858 'use_nss%': '<(use_nss)', | 860 'use_nss%': '<(use_nss)', |
859 'os_bsd%': '<(os_bsd)', | 861 'os_bsd%': '<(os_bsd)', |
860 'os_posix%': '<(os_posix)', | 862 'os_posix%': '<(os_posix)', |
861 'use_dbus%': '<(use_dbus)', | 863 'use_dbus%': '<(use_dbus)', |
862 'use_glib%': '<(use_glib)', | 864 'use_glib%': '<(use_glib)', |
863 'use_pango%': '<(use_pango)', | 865 'use_pango%': '<(use_pango)', |
| 866 'use_cairo%': '<(use_cairo)', |
864 'use_ozone%': '<(use_ozone)', | 867 'use_ozone%': '<(use_ozone)', |
865 'use_ozone_evdev%': '<(use_ozone_evdev)', | 868 'use_ozone_evdev%': '<(use_ozone_evdev)', |
866 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 869 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
867 'desktop_linux%': '<(desktop_linux)', | 870 'desktop_linux%': '<(desktop_linux)', |
868 'use_x11%': '<(use_x11)', | 871 'use_x11%': '<(use_x11)', |
869 'use_gnome_keyring%': '<(use_gnome_keyring)', | 872 'use_gnome_keyring%': '<(use_gnome_keyring)', |
870 'linux_fpic%': '<(linux_fpic)', | 873 'linux_fpic%': '<(linux_fpic)', |
871 'chromeos%': '<(chromeos)', | 874 'chromeos%': '<(chromeos)', |
872 'enable_viewport%': '<(enable_viewport)', | 875 'enable_viewport%': '<(enable_viewport)', |
873 'enable_hidpi%': '<(enable_hidpi)', | 876 'enable_hidpi%': '<(enable_hidpi)', |
(...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2062 }], | 2065 }], |
2063 ['ui_compositor_image_transport==1', { | 2066 ['ui_compositor_image_transport==1', { |
2064 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], | 2067 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], |
2065 }], | 2068 }], |
2066 ['use_aura==1', { | 2069 ['use_aura==1', { |
2067 'defines': ['USE_AURA=1'], | 2070 'defines': ['USE_AURA=1'], |
2068 }], | 2071 }], |
2069 ['use_ash==1', { | 2072 ['use_ash==1', { |
2070 'defines': ['USE_ASH=1'], | 2073 'defines': ['USE_ASH=1'], |
2071 }], | 2074 }], |
| 2075 ['use_cairo==1', { |
| 2076 'defines': ['USE_CAIRO=1'], |
| 2077 }], |
2072 ['use_cras==1', { | 2078 ['use_cras==1', { |
2073 'defines': ['USE_CRAS=1'], | 2079 'defines': ['USE_CRAS=1'], |
2074 }], | 2080 }], |
2075 ['use_ozone==1', { | 2081 ['use_ozone==1', { |
2076 'defines': ['USE_OZONE=1'], | 2082 'defines': ['USE_OZONE=1'], |
2077 }], | 2083 }], |
2078 ['use_default_render_theme==1', { | 2084 ['use_default_render_theme==1', { |
2079 'defines': ['USE_DEFAULT_RENDER_THEME=1'], | 2085 'defines': ['USE_DEFAULT_RENDER_THEME=1'], |
2080 }], | 2086 }], |
2081 ['use_libjpeg_turbo==1', { | 2087 ['use_libjpeg_turbo==1', { |
(...skipping 2705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4787 # settings in target dicts. SYMROOT is a special case, because many other | 4793 # settings in target dicts. SYMROOT is a special case, because many other |
4788 # Xcode variables depend on it, including variables such as | 4794 # Xcode variables depend on it, including variables such as |
4789 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4795 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4790 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4796 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4791 # files to appear (when present) in the UI as actual files and not red | 4797 # files to appear (when present) in the UI as actual files and not red |
4792 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4798 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4793 # and therefore SYMROOT, needs to be set at the project level. | 4799 # and therefore SYMROOT, needs to be set at the project level. |
4794 'SYMROOT': '<(DEPTH)/xcodebuild', | 4800 'SYMROOT': '<(DEPTH)/xcodebuild', |
4795 }, | 4801 }, |
4796 } | 4802 } |
OLD | NEW |