| 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 { |
| 11 'target_name': 'device_unittests', | 11 'target_name': 'device_unittests', |
| 12 'type': '<(gtest_target_type)', | 12 'type': '<(gtest_target_type)', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '../base/base.gyp:test_support_base', | 14 '../base/base.gyp:test_support_base', |
| 15 '../mojo/edk/mojo_edk.gyp:mojo_system_impl', | 15 '../mojo/edk/mojo_edk.gyp:mojo_system_impl', |
| 16 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 16 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
| 17 '../mojo/public/mojo_public.gyp:mojo_cpp_bindings', | |
| 18 '../testing/gmock.gyp:gmock', | 17 '../testing/gmock.gyp:gmock', |
| 19 '../testing/gtest.gyp:gtest', | 18 '../testing/gtest.gyp:gtest', |
| 20 '../tools/usb_gadget/usb_gadget.gyp:usb_gadget', | 19 '../tools/usb_gadget/usb_gadget.gyp:usb_gadget', |
| 21 'battery/battery.gyp:device_battery', | |
| 22 'battery/battery.gyp:device_battery_mojo_bindings', | |
| 23 'bluetooth/bluetooth.gyp:device_bluetooth', | 20 'bluetooth/bluetooth.gyp:device_bluetooth', |
| 24 'bluetooth/bluetooth.gyp:device_bluetooth_mocks', | 21 'bluetooth/bluetooth.gyp:device_bluetooth_mocks', |
| 25 'nfc/nfc.gyp:device_nfc', | 22 'nfc/nfc.gyp:device_nfc', |
| 26 'usb/usb.gyp:device_usb', | 23 'usb/usb.gyp:device_usb', |
| 27 'hid/hid.gyp:device_hid', | 24 'hid/hid.gyp:device_hid', |
| 28 'serial/serial.gyp:device_serial', | 25 'serial/serial.gyp:device_serial', |
| 29 'serial/serial.gyp:device_serial_test_util', | 26 'serial/serial.gyp:device_serial_test_util', |
| 30 ], | 27 ], |
| 31 'sources': [ | 28 'sources': [ |
| 32 'battery/battery_status_manager_linux_unittest.cc', | |
| 33 'battery/battery_status_manager_win_unittest.cc', | |
| 34 'battery/battery_status_service_unittest.cc', | |
| 35 'bluetooth/bluetooth_adapter_mac_unittest.mm', | 29 'bluetooth/bluetooth_adapter_mac_unittest.mm', |
| 36 'bluetooth/bluetooth_adapter_unittest.cc', | 30 'bluetooth/bluetooth_adapter_unittest.cc', |
| 37 'bluetooth/bluetooth_adapter_win_unittest.cc', | 31 'bluetooth/bluetooth_adapter_win_unittest.cc', |
| 38 'bluetooth/bluetooth_device_unittest.cc', | 32 'bluetooth/bluetooth_device_unittest.cc', |
| 39 'bluetooth/bluetooth_device_win_unittest.cc', | 33 'bluetooth/bluetooth_device_win_unittest.cc', |
| 40 'bluetooth/bluetooth_chromeos_unittest.cc', | 34 'bluetooth/bluetooth_chromeos_unittest.cc', |
| 41 'bluetooth/bluetooth_gatt_chromeos_unittest.cc', | 35 'bluetooth/bluetooth_gatt_chromeos_unittest.cc', |
| 42 'bluetooth/bluetooth_low_energy_win_unittest.cc', | 36 'bluetooth/bluetooth_low_energy_win_unittest.cc', |
| 43 'bluetooth/bluetooth_service_record_win_unittest.cc', | 37 'bluetooth/bluetooth_service_record_win_unittest.cc', |
| 44 'bluetooth/bluetooth_socket_chromeos_unittest.cc', | 38 'bluetooth/bluetooth_socket_chromeos_unittest.cc', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 63 'test/run_all_unittests.cc', | 57 'test/run_all_unittests.cc', |
| 64 'test/usb_test_gadget_impl.cc' | 58 'test/usb_test_gadget_impl.cc' |
| 65 ], | 59 ], |
| 66 'conditions': [ | 60 'conditions': [ |
| 67 ['chromeos==1', { | 61 ['chromeos==1', { |
| 68 'dependencies': [ | 62 'dependencies': [ |
| 69 '../build/linux/system.gyp:dbus', | 63 '../build/linux/system.gyp:dbus', |
| 70 '../chromeos/chromeos.gyp:chromeos_test_support', | 64 '../chromeos/chromeos.gyp:chromeos_test_support', |
| 71 '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', | 65 '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', |
| 72 '../dbus/dbus.gyp:dbus', | 66 '../dbus/dbus.gyp:dbus', |
| 73 ], | 67 ] |
| 74 'sources!': [ | |
| 75 'battery/battery_status_manager_linux_unittest.cc', | |
| 76 ], | |
| 77 }], | 68 }], |
| 78 ['OS=="mac"', { | 69 ['OS=="mac"', { |
| 79 'link_settings': { | 70 'link_settings': { |
| 80 'libraries': [ | 71 'libraries': [ |
| 81 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', | 72 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', |
| 82 ], | 73 ], |
| 83 }, | 74 }, |
| 84 }], | 75 }], |
| 85 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | 76 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
| 86 'conditions': [ | 77 'conditions': [ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 97 'dependencies!': [ | 88 'dependencies!': [ |
| 98 'hid/hid.gyp:device_hid', | 89 'hid/hid.gyp:device_hid', |
| 99 'serial/serial.gyp:device_serial', | 90 'serial/serial.gyp:device_serial', |
| 100 'serial/serial.gyp:device_serial_test_util', | 91 'serial/serial.gyp:device_serial_test_util', |
| 101 ], | 92 ], |
| 102 'sources/': [ | 93 'sources/': [ |
| 103 ['exclude', '^serial/'], | 94 ['exclude', '^serial/'], |
| 104 ['exclude', '^hid/'], | 95 ['exclude', '^hid/'], |
| 105 ], | 96 ], |
| 106 }], | 97 }], |
| 107 ['use_dbus==0', { | |
| 108 'sources!': [ | |
| 109 'battery/battery_status_manager_linux_unittest.cc', | |
| 110 ], | |
| 111 }], | |
| 112 ], | 98 ], |
| 113 }, | 99 }, |
| 114 ], | 100 ], |
| 115 } | 101 } |
| OLD | NEW |