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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 'dependencies': [ | 71 'dependencies': [ |
72 '../build/linux/system.gyp:dbus', | 72 '../build/linux/system.gyp:dbus', |
73 '../chromeos/chromeos.gyp:chromeos_test_support', | 73 '../chromeos/chromeos.gyp:chromeos_test_support', |
74 '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', | 74 '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', |
75 '../dbus/dbus.gyp:dbus', | 75 '../dbus/dbus.gyp:dbus', |
76 ], | 76 ], |
77 'sources!': [ | 77 'sources!': [ |
78 'battery/battery_status_manager_linux_unittest.cc', | 78 'battery/battery_status_manager_linux_unittest.cc', |
79 ], | 79 ], |
80 }], | 80 }], |
| 81 ['OS=="android"', { |
| 82 'dependencies!': [ |
| 83 '../tools/usb_gadget/usb_gadget.gyp:usb_gadget', |
| 84 'usb/usb.gyp:device_usb', |
| 85 'serial/serial.gyp:device_serial', |
| 86 'serial/serial.gyp:device_serial_test_util', |
| 87 'hid/hid.gyp:device_hid', |
| 88 ], |
| 89 'dependencies': [ |
| 90 '../testing/android/native_test.gyp:native_test_native_code', |
| 91 ], |
| 92 'sources/': [ |
| 93 ['exclude', '(^|/)hid'], |
| 94 ['exclude', '(^|/)serial'], |
| 95 ['exclude', '(^|/)usb'], |
| 96 ], |
| 97 }], |
81 ['OS=="mac"', { | 98 ['OS=="mac"', { |
82 'link_settings': { | 99 'link_settings': { |
83 'libraries': [ | 100 'libraries': [ |
84 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', | 101 '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', |
85 ], | 102 ], |
86 }, | 103 }, |
87 }], | 104 }], |
88 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | 105 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
89 'conditions': [ | 106 'conditions': [ |
90 ['use_allocator!="none"', { | 107 ['use_allocator!="none"', { |
(...skipping 25 matching lines...) Expand all Loading... |
116 ], | 133 ], |
117 }], | 134 }], |
118 ['use_dbus==0', { | 135 ['use_dbus==0', { |
119 'sources!': [ | 136 'sources!': [ |
120 'battery/battery_status_manager_linux_unittest.cc', | 137 'battery/battery_status_manager_linux_unittest.cc', |
121 ], | 138 ], |
122 }], | 139 }], |
123 ], | 140 ], |
124 }, | 141 }, |
125 ], | 142 ], |
| 143 'conditions': [ |
| 144 ['OS=="android"', { |
| 145 'targets': [ |
| 146 { |
| 147 'target_name': 'device_unittests_apk', |
| 148 'type': 'none', |
| 149 'dependencies': [ |
| 150 'device_unittests', |
| 151 ], |
| 152 'variables': { |
| 153 'test_suite_name': 'device_unittests', |
| 154 }, |
| 155 'includes': [ '../build/apk_test.gypi' ], |
| 156 }, |
| 157 ], |
| 158 }], |
| 159 ], |
126 } | 160 } |
OLD | NEW |