blob: c16d741e8b91f13d8a2dc385703e5d35169a204f [file] [log] [blame]
Chris Sosa45d9f102014-03-24 11:18:54 -07001{
Chris Sosa45d9f102014-03-24 11:18:54 -07002 'target_defaults': {
3 'dependencies': [
Alex Vakulenko60f304c2014-04-14 15:17:25 -07004 '<(platform_root)/metrics/libmetrics-<(libbase_ver).gyp:libmetrics-<(libbase_ver)',
Chris Sosa45d9f102014-03-24 11:18:54 -07005 ],
6 'variables': {
7 'deps': [
8 'dbus-1',
9 'libchrome-<(libbase_ver)',
Christopher Wiley2ab1bec2014-04-11 11:04:49 -070010 'libchrome-test-<(libbase_ver)',
Chris Sosa45d9f102014-03-24 11:18:54 -070011 'libcurl',
12 ],
13 },
Alex Vakulenko60f304c2014-04-14 15:17:25 -070014 'link_settings': {
15 'libraries': [
Christopher Wiley90016242014-04-01 17:33:29 -070016 '-lbase-dbus_test_support-<(libbase_ver)',
Alex Vakulenko60f304c2014-04-14 15:17:25 -070017 ],
18 },
Chris Sosa45d9f102014-03-24 11:18:54 -070019 'cflags_cc': [
20 '-std=gnu++11',
Chris Sosa45d9f102014-03-24 11:18:54 -070021 ],
22 },
23 'targets': [
24 {
25 'target_name': 'buffet_common',
26 'type': 'static_library',
27 'sources': [
Alex Vakulenkob6513a12014-05-05 17:23:40 -070028 'any.cc',
Alex Vakulenkob3aac252014-05-07 17:35:24 -070029 'async_event_sequencer.cc',
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -070030 'commands/object_schema.cc',
31 'commands/prop_constraints.cc',
32 'commands/prop_types.cc',
33 'commands/prop_values.cc',
34 'commands/schema_constants.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070035 'data_encoding.cc',
Christopher Wileyeb19fa02014-03-27 13:27:30 -070036 'dbus_constants.cc',
Christopher Wileya4915c42014-03-27 14:45:37 -070037 'dbus_utils.cc',
Alex Vakulenko3cb466c2014-04-15 11:36:32 -070038 'device_registration_info.cc',
Alex Vakulenkob3aac252014-05-07 17:35:24 -070039 'error.cc',
Christopher Wileycec927c2014-04-15 16:26:47 -070040 'exported_object_manager.cc',
Christopher Wiley639477c2014-03-27 14:49:39 -070041 'exported_property_set.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070042 'http_request.cc',
Alex Vakulenkoa3062c52014-04-21 17:05:51 -070043 'http_connection_curl.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070044 'http_transport_curl.cc',
45 'http_utils.cc',
Christopher Wileya4915c42014-03-27 14:45:37 -070046 'manager.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070047 'mime_utils.cc',
Christopher Wiley006e94e2014-05-02 13:44:48 -070048 'storage_impls.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070049 'string_utils.cc',
Alex Vakulenkobda220a2014-04-18 15:25:44 -070050 'url_utils.cc'
Chris Sosa45d9f102014-03-24 11:18:54 -070051 ],
52 },
53 {
54 'target_name': 'buffet',
55 'type': 'executable',
56 'sources': [
57 'main.cc',
58 ],
59 'dependencies': [
60 'buffet_common',
61 ],
62 },
63 {
64 'target_name': 'buffet_client',
65 'type': 'executable',
66 'sources': [
67 'buffet_client.cc',
Christopher Wileyeb19fa02014-03-27 13:27:30 -070068 'dbus_constants.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070069 ],
Alex Vakulenko3cb466c2014-04-15 11:36:32 -070070 'dependencies': [
71 'buffet_common',
72 ],
Chris Sosa45d9f102014-03-24 11:18:54 -070073 },
74 {
75 'target_name': 'buffet_testrunner',
76 'type': 'executable',
77 'dependencies': [
78 'buffet_common',
79 ],
Alex Vakulenko60f304c2014-04-14 15:17:25 -070080 'includes': ['../common-mk/common_test.gypi'],
Chris Sosa45d9f102014-03-24 11:18:54 -070081 'sources': [
Alex Vakulenkob6513a12014-05-05 17:23:40 -070082 'any_unittest.cc',
83 'any_internal_impl_unittest.cc',
Alex Vakulenko9cd5e272014-04-25 17:26:11 -070084 'async_event_sequencer_unittest.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070085 'buffet_testrunner.cc',
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -070086 'commands/object_schema_unittest.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070087 'data_encoding_unittest.cc',
Alex Vakulenko8e34d392014-04-29 11:02:56 -070088 'device_registration_info_unittest.cc',
Alex Vakulenkob3aac252014-05-07 17:35:24 -070089 'error_unittest.cc',
Christopher Wileycec927c2014-04-15 16:26:47 -070090 'exported_object_manager_unittest.cc',
Christopher Wiley639477c2014-03-27 14:49:39 -070091 'exported_property_set_unittest.cc',
Alex Vakulenko9cd5e272014-04-25 17:26:11 -070092 'http_connection_fake.cc',
93 'http_transport_fake.cc',
Alex Vakulenkoa3062c52014-04-21 17:05:51 -070094 'http_utils_unittest.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070095 'mime_utils_unittest.cc',
96 'string_utils_unittest.cc',
Alex Vakulenkobda220a2014-04-18 15:25:44 -070097 'url_utils_unittest.cc'
Chris Sosa45d9f102014-03-24 11:18:54 -070098 ],
99 },
100 ],
101}