Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
|
tfarina
2013/02/17 16:42:49
why did you add this if you are not creating any v
youngki
2013/02/20 21:23:24
http://code.google.com/searchframe#OAMlx_jo-ck/src
| |
| 7 }, | |
| 8 'targets': [ | |
| 9 { | |
| 10 'target_name': 'device_bluetooth', | |
| 11 'type': '<(library)', | |
| 12 'dependencies': [ | |
| 13 '../chrome/chrome_resources.gyp:chrome_strings', | |
|
tfarina
2013/02/17 16:42:49
it would be cool to create your own resources file
youngki
2013/02/20 21:23:24
created a bug: https://code.google.com/p/chromium/
| |
| 14 '../third_party/libxml/libxml.gyp:libxml', | |
| 15 '../ui/ui.gyp:ui' | |
| 16 ], | |
| 17 'sources': [ | |
| 18 'bluetooth/bluetooth_adapter.cc', | |
| 19 'bluetooth/bluetooth_adapter.h', | |
| 20 'bluetooth/bluetooth_adapter_chromeos.cc', | |
| 21 'bluetooth/bluetooth_adapter_chromeos.h', | |
| 22 'bluetooth/bluetooth_adapter_factory.cc', | |
| 23 'bluetooth/bluetooth_adapter_factory.h', | |
| 24 'bluetooth/bluetooth_device.cc', | |
| 25 'bluetooth/bluetooth_device.h', | |
| 26 'bluetooth/bluetooth_device_chromeos.cc', | |
| 27 'bluetooth/bluetooth_device_chromeos.h', | |
| 28 'bluetooth/bluetooth_out_of_band_pairing_data.h', | |
| 29 'bluetooth/bluetooth_service_record.cc', | |
| 30 'bluetooth/bluetooth_service_record.h', | |
| 31 'bluetooth/bluetooth_socket.h', | |
| 32 'bluetooth/bluetooth_socket_chromeos.cc', | |
| 33 'bluetooth/bluetooth_socket_chromeos.h', | |
| 34 'bluetooth/bluetooth_utils.cc', | |
| 35 'bluetooth/bluetooth_utils.h', | |
| 36 ], | |
| 37 'conditions': [ | |
| 38 ['chromeos==0', { | |
| 39 'sources!': [ | |
| 40 # ChromeOs-only; exclude on other platforms. | |
| 41 'bluetooth/bluetooth_adapter_chromeos.cc', | |
| 42 'bluetooth/bluetooth_adapter_chromeos.h', | |
| 43 'bluetooth/bluetooth_device_chromeos.cc', | |
| 44 'bluetooth/bluetooth_device_chromeos.h', | |
| 45 'bluetooth/bluetooth_socket_chromeos.cc', | |
| 46 'bluetooth/bluetooth_socket_chromeos.h', | |
| 47 ] | |
| 48 }, { # chromeos==1 | |
| 49 'dependencies': [ | |
| 50 '../build/linux/system.gyp:dbus-glib', | |
| 51 '../chromeos/chromeos.gyp:chromeos', | |
| 52 '../dbus/dbus.gyp:dbus', | |
| 53 ] | |
| 54 }], | |
| 55 ], | |
| 56 }, | |
| 57 { | |
| 58 'target_name': 'device_bluetooth_mocks', | |
| 59 'type': '<(library)', | |
| 60 'dependencies': [ | |
| 61 'device_bluetooth', | |
| 62 '../testing/gmock.gyp:gmock', | |
| 63 ], | |
| 64 'sources': [ | |
| 65 'bluetooth/test/mock_bluetooth_adapter.cc', | |
| 66 'bluetooth/test/mock_bluetooth_adapter.h', | |
| 67 'bluetooth/test/mock_bluetooth_device.cc', | |
| 68 'bluetooth/test/mock_bluetooth_device.h', | |
| 69 ], | |
| 70 'include_dirs': [ | |
| 71 '..', | |
| 72 ], | |
| 73 }, | |
| 74 { | |
| 75 'target_name': 'device_unittests', | |
| 76 'type': '<(gtest_target_type)', | |
| 77 'dependencies': [ | |
| 78 'device_bluetooth', | |
| 79 'device_bluetooth_mocks', | |
| 80 '../base/base.gyp:test_support_base', | |
| 81 '../content/content.gyp:test_support_content', | |
| 82 '../testing/gmock.gyp:gmock', | |
| 83 '../testing/gtest.gyp:gtest', | |
| 84 ], | |
| 85 'sources': [ | |
| 86 'bluetooth/bluetooth_adapter_chromeos_unittest.cc', | |
| 87 'bluetooth/bluetooth_adapter_chromeos_devices_unittest.cc', | |
| 88 'bluetooth/bluetooth_service_record_unittest.cc', | |
| 89 'bluetooth/bluetooth_utils_unittest.cc', | |
| 90 'test/device_test_suite.cc', | |
| 91 'test/device_test_suite.h', | |
| 92 'test/run_all_unittests.cc', | |
| 93 ], | |
| 94 'conditions': [ | |
| 95 ['chromeos==0', { | |
| 96 'sources!': [ | |
| 97 # ChromeOs-only; exclude on other platforms. | |
| 98 'bluetooth/bluetooth_adapter_chromeos_unittest.cc', | |
| 99 'bluetooth/bluetooth_adapter_chromeos_devices_unittest.cc', | |
| 100 ] | |
| 101 }, { # chromeos==1 | |
| 102 'dependencies': [ | |
| 103 '../build/linux/system.gyp:dbus-glib', | |
| 104 '../chromeos/chromeos.gyp:chromeos_test_support', | |
| 105 '../dbus/dbus.gyp:dbus', | |
| 106 ] | |
| 107 }], | |
| 108 ], | |
| 109 }, | |
| 110 ], | |
| 111 } | |
| OLD | NEW |