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

Side by Side Diff: device/device_tests.gyp

Issue 989913002: Move UdevDecodeString from media/midi to device/udev_linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@seq3
Patch Set: Fix unit tests Created 5 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 | « device/BUILD.gn ('k') | device/udev_linux/udev.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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 }], 87 }],
88 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { 88 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
89 'conditions': [ 89 'conditions': [
90 ['use_allocator!="none"', { 90 ['use_allocator!="none"', {
91 'dependencies': [ 91 'dependencies': [
92 '../base/allocator/allocator.gyp:allocator', 92 '../base/allocator/allocator.gyp:allocator',
93 ], 93 ],
94 }], 94 }],
95 ], 95 ],
96 }], 96 }],
97 ['use_udev==1', {
98 'dependencies': [
99 'udev_linux/udev.gyp:udev_linux',
100 ],
101 'sources': [
102 'udev_linux/udev_unittest.cc',
103 ],
104 }],
97 ['OS=="linux" and use_udev==0', { 105 ['OS=="linux" and use_udev==0', {
98 # Udev is the only Linux implementation. If we're compiling without 106 # Udev is the only Linux implementation. If we're compiling without
99 # Udev, disable these unittests. 107 # Udev, disable these unittests.
100 'dependencies!': [ 108 'dependencies!': [
101 'hid/hid.gyp:device_hid', 109 'hid/hid.gyp:device_hid',
102 'serial/serial.gyp:device_serial', 110 'serial/serial.gyp:device_serial',
103 'serial/serial.gyp:device_serial_test_util', 111 'serial/serial.gyp:device_serial_test_util',
104 ], 112 ],
105 'sources/': [ 113 'sources/': [
106 ['exclude', '^serial/'], 114 ['exclude', '^serial/'],
107 ['exclude', '^hid/'], 115 ['exclude', '^hid/'],
108 ], 116 ],
109 }], 117 }],
110 ['use_dbus==0', { 118 ['use_dbus==0', {
111 'sources!': [ 119 'sources!': [
112 'battery/battery_status_manager_linux_unittest.cc', 120 'battery/battery_status_manager_linux_unittest.cc',
113 ], 121 ],
114 }], 122 }],
115 ], 123 ],
116 }, 124 },
117 ], 125 ],
118 } 126 }
OLDNEW
« no previous file with comments | « device/BUILD.gn ('k') | device/udev_linux/udev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698