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

Side by Side Diff: build/common.gypi

Issue 12374068: Make it possible to disable udev in linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix jam's nits 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
« no previous file with comments | « no previous file | content/browser/browser_main_loop.h » ('j') | content/browser/browser_main_loop.h » ('J')
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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 'armv7': 0, 476 'armv7': 0,
477 }], 477 }],
478 478
479 # NSS usage. 479 # NSS usage.
480 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==0', { 480 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==0', {
481 'use_nss%': 1, 481 'use_nss%': 1,
482 }, { 482 }, {
483 'use_nss%': 0, 483 'use_nss%': 0,
484 }], 484 }],
485 485
486 # libudev usage.
487 ['OS=="linux"', {
488 'use_udev%': 1,
489 }, {
490 'use_udev%': 0,
491 }],
492
486 # Flags to use X11 on non-Mac POSIX platforms. 493 # Flags to use X11 on non-Mac POSIX platforms.
487 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', { 494 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1', {
488 'use_x11%': 0, 495 'use_x11%': 0,
489 }, { 496 }, {
490 'use_x11%': 1, 497 'use_x11%': 1,
491 }], 498 }],
492 499
493 # Flags to use pango and glib on non-Mac POSIX platforms. 500 # Flags to use pango and glib on non-Mac POSIX platforms.
494 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { 501 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', {
495 'use_glib%': 0, 502 'use_glib%': 0,
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 'buildtype%': '<(buildtype)', 807 'buildtype%': '<(buildtype)',
801 'target_arch%': '<(target_arch)', 808 'target_arch%': '<(target_arch)',
802 'host_arch%': '<(host_arch)', 809 'host_arch%': '<(host_arch)',
803 'toolkit_views%': '<(toolkit_views)', 810 'toolkit_views%': '<(toolkit_views)',
804 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', 811 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
805 'use_aura%': '<(use_aura)', 812 'use_aura%': '<(use_aura)',
806 'use_ash%': '<(use_ash)', 813 'use_ash%': '<(use_ash)',
807 'use_cras%': '<(use_cras)', 814 'use_cras%': '<(use_cras)',
808 'use_openssl%': '<(use_openssl)', 815 'use_openssl%': '<(use_openssl)',
809 'use_nss%': '<(use_nss)', 816 'use_nss%': '<(use_nss)',
817 'use_udev%': '<(use_udev)',
810 'os_bsd%': '<(os_bsd)', 818 'os_bsd%': '<(os_bsd)',
811 'os_posix%': '<(os_posix)', 819 'os_posix%': '<(os_posix)',
812 'use_glib%': '<(use_glib)', 820 'use_glib%': '<(use_glib)',
813 'use_pango%': '<(use_pango)', 821 'use_pango%': '<(use_pango)',
814 'use_ozone%': '<(use_ozone)', 822 'use_ozone%': '<(use_ozone)',
815 'use_ozone_evdev%': '<(use_ozone_evdev)', 823 'use_ozone_evdev%': '<(use_ozone_evdev)',
816 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', 824 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
817 'desktop_linux%': '<(desktop_linux)', 825 'desktop_linux%': '<(desktop_linux)',
818 'use_x11%': '<(use_x11)', 826 'use_x11%': '<(use_x11)',
819 'use_gnome_keyring%': '<(use_gnome_keyring)', 827 'use_gnome_keyring%': '<(use_gnome_keyring)',
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after
2085 }], 2093 }],
2086 ['enable_hidpi==1', { 2094 ['enable_hidpi==1', {
2087 'defines': ['ENABLE_HIDPI=1'], 2095 'defines': ['ENABLE_HIDPI=1'],
2088 }], 2096 }],
2089 ['native_discardable_memory==1', { 2097 ['native_discardable_memory==1', {
2090 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], 2098 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'],
2091 }], 2099 }],
2092 ['native_memory_pressure_signals==1', { 2100 ['native_memory_pressure_signals==1', {
2093 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], 2101 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'],
2094 }], 2102 }],
2103 ['use_udev==1', {
2104 'defines': ['USE_UDEV'],
2105 }],
2095 ['fastbuild!=0', { 2106 ['fastbuild!=0', {
2096 'xcode_settings': { 2107 'xcode_settings': {
2097 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', 2108 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
2098 }, 2109 },
2099 'conditions': [ 2110 'conditions': [
2100 ['clang==1', { 2111 ['clang==1', {
2101 # Clang creates chubby debug information, which makes linking very 2112 # Clang creates chubby debug information, which makes linking very
2102 # slow. For now, don't create debug information with clang. See 2113 # slow. For now, don't create debug information with clang. See
2103 # http://crbug.com/70000 2114 # http://crbug.com/70000
2104 'conditions': [ 2115 'conditions': [
(...skipping 2600 matching lines...) Expand 10 before | Expand all | Expand 10 after
4705 # settings in target dicts. SYMROOT is a special case, because many other 4716 # settings in target dicts. SYMROOT is a special case, because many other
4706 # Xcode variables depend on it, including variables such as 4717 # Xcode variables depend on it, including variables such as
4707 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4718 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4708 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4719 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4709 # files to appear (when present) in the UI as actual files and not red 4720 # files to appear (when present) in the UI as actual files and not red
4710 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4721 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4711 # and therefore SYMROOT, needs to be set at the project level. 4722 # and therefore SYMROOT, needs to be set at the project level.
4712 'SYMROOT': '<(DEPTH)/xcodebuild', 4723 'SYMROOT': '<(DEPTH)/xcodebuild',
4713 }, 4724 },
4714 } 4725 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_main_loop.h » ('j') | content/browser/browser_main_loop.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698