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

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: move USE_UDEV define to a linux-specific spot 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 | content/browser/browser_main_loop.h » ('j') | content/content_browser.gypi » ('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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 'os_bsd%': 0, 441 'os_bsd%': 0,
442 }], 442 }],
443 443
444 # NSS usage. 444 # NSS usage.
445 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==0', { 445 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u se_openssl==0', {
446 'use_nss%': 1, 446 'use_nss%': 1,
447 }, { 447 }, {
448 'use_nss%': 0, 448 'use_nss%': 0,
449 }], 449 }],
450 450
451 # libudev usage.
452 ['OS=="linux"', {
453 'use_udev%': 1,
454 }, {
455 'use_udev%': 0,
456 }],
457
451 # Flags to use X11 on non-Mac POSIX platforms 458 # Flags to use X11 on non-Mac POSIX platforms
452 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { 459 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', {
453 'use_glib%': 0, 460 'use_glib%': 0,
454 'use_x11%': 0, 461 'use_x11%': 0,
455 }, { 462 }, {
456 'use_glib%': 1, 463 'use_glib%': 1,
457 'use_x11%': 1, 464 'use_x11%': 1,
458 }], 465 }],
459 466
460 # We always use skia text rendering in Aura on Windows, since GDI 467 # We always use skia text rendering in Aura on Windows, since GDI
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 'branding%': '<(branding)', 680 'branding%': '<(branding)',
674 'buildtype%': '<(buildtype)', 681 'buildtype%': '<(buildtype)',
675 'target_arch%': '<(target_arch)', 682 'target_arch%': '<(target_arch)',
676 'host_arch%': '<(host_arch)', 683 'host_arch%': '<(host_arch)',
677 'toolkit_views%': '<(toolkit_views)', 684 'toolkit_views%': '<(toolkit_views)',
678 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', 685 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
679 'use_aura%': '<(use_aura)', 686 'use_aura%': '<(use_aura)',
680 'use_ash%': '<(use_ash)', 687 'use_ash%': '<(use_ash)',
681 'use_openssl%': '<(use_openssl)', 688 'use_openssl%': '<(use_openssl)',
682 'use_nss%': '<(use_nss)', 689 'use_nss%': '<(use_nss)',
690 'use_udev%': '<(use_udev)',
683 'os_bsd%': '<(os_bsd)', 691 'os_bsd%': '<(os_bsd)',
684 'os_posix%': '<(os_posix)', 692 'os_posix%': '<(os_posix)',
685 'use_glib%': '<(use_glib)', 693 'use_glib%': '<(use_glib)',
686 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', 694 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
687 'use_skia%': '<(use_skia)', 695 'use_skia%': '<(use_skia)',
688 'use_x11%': '<(use_x11)', 696 'use_x11%': '<(use_x11)',
689 'use_gnome_keyring%': '<(use_gnome_keyring)', 697 'use_gnome_keyring%': '<(use_gnome_keyring)',
690 'linux_fpic%': '<(linux_fpic)', 698 'linux_fpic%': '<(linux_fpic)',
691 'enable_pepper_threading%': '<(enable_pepper_threading)', 699 'enable_pepper_threading%': '<(enable_pepper_threading)',
692 'chromeos%': '<(chromeos)', 700 'chromeos%': '<(chromeos)',
(...skipping 3432 matching lines...) Expand 10 before | Expand all | Expand 10 after
4125 # settings in target dicts. SYMROOT is a special case, because many other 4133 # settings in target dicts. SYMROOT is a special case, because many other
4126 # Xcode variables depend on it, including variables such as 4134 # Xcode variables depend on it, including variables such as
4127 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4135 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4128 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4136 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4129 # files to appear (when present) in the UI as actual files and not red 4137 # files to appear (when present) in the UI as actual files and not red
4130 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4138 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4131 # and therefore SYMROOT, needs to be set at the project level. 4139 # and therefore SYMROOT, needs to be set at the project level.
4132 'SYMROOT': '<(DEPTH)/xcodebuild', 4140 'SYMROOT': '<(DEPTH)/xcodebuild',
4133 }, 4141 },
4134 } 4142 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_main_loop.h » ('j') | content/content_browser.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698