| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |