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

Side by Side Diff: content/content_browser.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 | « content/browser/gamepad/gamepad_platform_data_fetcher.h ('k') | no next file » | 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 { 5 {
6 'dependencies': [ 6 'dependencies': [
7 'browser/speech/proto/speech_proto.gyp:speech_proto', 7 'browser/speech/proto/speech_proto.gyp:speech_proto',
8 '../base/base.gyp:base_static', 8 '../base/base.gyp:base_static',
9 '../crypto/crypto.gyp:crypto', 9 '../crypto/crypto.gyp:crypto',
10 '../google_apis/google_apis.gyp:google_apis', 10 '../google_apis/google_apis.gyp:google_apis',
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 '../build/linux/system.gyp:udev', 1071 '../build/linux/system.gyp:udev',
1072 '../sandbox/sandbox.gyp:libc_urandom_override', 1072 '../sandbox/sandbox.gyp:libc_urandom_override',
1073 ], 1073 ],
1074 # Set LINUX_SANDBOX_PATH for Linux, including Chrome OS 1074 # Set LINUX_SANDBOX_PATH for Linux, including Chrome OS
1075 'conditions': [ 1075 'conditions': [
1076 ['linux_sandbox_path != ""', { 1076 ['linux_sandbox_path != ""', {
1077 'defines': [ 1077 'defines': [
1078 'LINUX_SANDBOX_PATH="<(linux_sandbox_path)"', 1078 'LINUX_SANDBOX_PATH="<(linux_sandbox_path)"',
1079 ], 1079 ],
1080 }], 1080 }],
1081 ['use_udev == 1', {
1082 'defines': [
1083 'USE_UDEV',
1084 ],
1085 }],
1081 ], 1086 ],
1082 }], 1087 }],
1083 ['OS=="linux" and use_aura==1', { 1088 ['OS=="linux" and use_aura==1', {
1084 'dependencies': [ 1089 'dependencies': [
1085 '../build/linux/system.gyp:dbus', 1090 '../build/linux/system.gyp:dbus',
1086 '../build/linux/system.gyp:fontconfig', 1091 '../build/linux/system.gyp:fontconfig',
1087 '../build/linux/system.gyp:x11', 1092 '../build/linux/system.gyp:x11',
1088 '../dbus/dbus.gyp:dbus', 1093 '../dbus/dbus.gyp:dbus',
1089 ], 1094 ],
1090 }], 1095 }],
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 'dependencies': [ 1137 'dependencies': [
1133 '../build/linux/system.gyp:dbus', 1138 '../build/linux/system.gyp:dbus',
1134 ], 1139 ],
1135 'sources!': [ 1140 'sources!': [
1136 'browser/geolocation/wifi_data_provider_linux.cc', 1141 'browser/geolocation/wifi_data_provider_linux.cc',
1137 'browser/power_save_blocker_linux.cc', 1142 'browser/power_save_blocker_linux.cc',
1138 'browser/renderer_host/gtk_key_bindings_handler.cc', 1143 'browser/renderer_host/gtk_key_bindings_handler.cc',
1139 'browser/renderer_host/gtk_key_bindings_handler.h', 1144 'browser/renderer_host/gtk_key_bindings_handler.h',
1140 ], 1145 ],
1141 }], 1146 }],
1147 ['OS=="linux" and use_udev==0', {
Lei Zhang 2013/03/05 00:27:24 You can keep this together with the use_udev block
Mostyn Bramley-Moore 2013/11/14 00:26:33 Done.
1148 'sources!': [
1149 'browser/gamepad/gamepad_platform_data_fetcher_linux.cc',
1150 'browser/udev_linux.cc',
1151 'browser/udev_linux.h',
1152 'browser/device_monitor_linux.cc',
1153 'browser/device_monitor_linux.h',
1154 ],
1155 'sources': [
1156 'browser/gamepad/gamepad_platform_data_fetcher.cc',
1157 ],
1158 'dependencies!': [
1159 '../build/linux/system.gyp:udev',
1160 ],
1161 }],
1142 ['os_bsd==1', { 1162 ['os_bsd==1', {
1143 'sources/': [ 1163 'sources/': [
1144 ['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$' ], 1164 ['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$' ],
1145 ['exclude', '^browser/geolocation/wifi_data_provider_linux\\.cc$'], 1165 ['exclude', '^browser/geolocation/wifi_data_provider_linux\\.cc$'],
1146 ], 1166 ],
1147 }], 1167 }],
1148 ['use_aura!=1 and OS!="win"', { 1168 ['use_aura!=1 and OS!="win"', {
1149 'sources!': [ 1169 'sources!': [
1150 'browser/renderer_host/ui_events_helper.cc', 1170 'browser/renderer_host/ui_events_helper.cc',
1151 'browser/renderer_host/ui_events_helper.h', 1171 'browser/renderer_host/ui_events_helper.h',
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 ['exclude', '^browser/speech/'], 1245 ['exclude', '^browser/speech/'],
1226 ], 1246 ],
1227 }], 1247 }],
1228 ['linux_use_libgps==1', { 1248 ['linux_use_libgps==1', {
1229 'dependencies': [ 1249 'dependencies': [
1230 '../build/linux/system.gyp:libgps', 1250 '../build/linux/system.gyp:libgps',
1231 ], 1251 ],
1232 }], 1252 }],
1233 ], 1253 ],
1234 } 1254 }
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_platform_data_fetcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698