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

Side by Side Diff: build/common.gypi

Issue 59133008: ozone: Support building without cairo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & fix whitespace Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | skia/ext/bitmap_platform_device.h » ('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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2054 }], 2057 }],
2055 ['ui_compositor_image_transport==1', { 2058 ['ui_compositor_image_transport==1', {
2056 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'], 2059 'defines': ['UI_COMPOSITOR_IMAGE_TRANSPORT'],
2057 }], 2060 }],
2058 ['use_aura==1', { 2061 ['use_aura==1', {
2059 'defines': ['USE_AURA=1'], 2062 'defines': ['USE_AURA=1'],
2060 }], 2063 }],
2061 ['use_ash==1', { 2064 ['use_ash==1', {
2062 'defines': ['USE_ASH=1'], 2065 'defines': ['USE_ASH=1'],
2063 }], 2066 }],
2067 ['use_cairo==1', {
2068 'defines': ['USE_CAIRO=1'],
2069 }],
2064 ['use_cras==1', { 2070 ['use_cras==1', {
2065 'defines': ['USE_CRAS=1'], 2071 'defines': ['USE_CRAS=1'],
2066 }], 2072 }],
2067 ['use_ozone==1', { 2073 ['use_ozone==1', {
2068 'defines': ['USE_OZONE=1'], 2074 'defines': ['USE_OZONE=1'],
2069 }], 2075 }],
2070 ['use_default_render_theme==1', { 2076 ['use_default_render_theme==1', {
2071 'defines': ['USE_DEFAULT_RENDER_THEME=1'], 2077 'defines': ['USE_DEFAULT_RENDER_THEME=1'],
2072 }], 2078 }],
2073 ['use_libjpeg_turbo==1', { 2079 ['use_libjpeg_turbo==1', {
(...skipping 2656 matching lines...) Expand 10 before | Expand all | Expand 10 after
4730 # settings in target dicts. SYMROOT is a special case, because many other 4736 # settings in target dicts. SYMROOT is a special case, because many other
4731 # Xcode variables depend on it, including variables such as 4737 # Xcode variables depend on it, including variables such as
4732 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4738 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4733 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4739 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4734 # files to appear (when present) in the UI as actual files and not red 4740 # files to appear (when present) in the UI as actual files and not red
4735 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4741 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4736 # and therefore SYMROOT, needs to be set at the project level. 4742 # and therefore SYMROOT, needs to be set at the project level.
4737 'SYMROOT': '<(DEPTH)/xcodebuild', 4743 'SYMROOT': '<(DEPTH)/xcodebuild',
4738 }, 4744 },
4739 } 4745 }
OLDNEW
« no previous file with comments | « no previous file | skia/ext/bitmap_platform_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698