blob: 17a85bcdb4bbcd693032c496bf85f305aad26fed [file] [log] [blame]
Chris Sosa45d9f102014-03-24 11:18:54 -07001{
Chris Sosa45d9f102014-03-24 11:18:54 -07002 'target_defaults': {
Chris Sosa45d9f102014-03-24 11:18:54 -07003 'variables': {
4 'deps': [
5 'dbus-1',
6 'libchrome-<(libbase_ver)',
Christopher Wiley2ab1bec2014-04-11 11:04:49 -07007 'libchrome-test-<(libbase_ver)',
Chris Sosa45d9f102014-03-24 11:18:54 -07008 'libcurl',
Bertrand SIMONNET6458a6e2014-06-20 14:35:27 -07009 'libmetrics-<(libbase_ver)',
Chris Sosa45d9f102014-03-24 11:18:54 -070010 ],
11 },
Alex Vakulenko60f304c2014-04-14 15:17:25 -070012 'link_settings': {
13 'libraries': [
Christopher Wiley90016242014-04-01 17:33:29 -070014 '-lbase-dbus_test_support-<(libbase_ver)',
Alex Vakulenko60f304c2014-04-14 15:17:25 -070015 ],
16 },
Chris Sosa45d9f102014-03-24 11:18:54 -070017 'cflags_cc': [
18 '-std=gnu++11',
Chris Sosa45d9f102014-03-24 11:18:54 -070019 ],
20 },
21 'targets': [
22 {
23 'target_name': 'buffet_common',
24 'type': 'static_library',
25 'sources': [
Alex Vakulenkob6513a12014-05-05 17:23:40 -070026 'any.cc',
Alex Vakulenkob3aac252014-05-07 17:35:24 -070027 'async_event_sequencer.cc',
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -070028 'commands/object_schema.cc',
29 'commands/prop_constraints.cc',
30 'commands/prop_types.cc',
31 'commands/prop_values.cc',
32 'commands/schema_constants.cc',
Alex Vakulenko66ec2922014-06-17 15:30:22 -070033 'commands/schema_utils.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070034 'data_encoding.cc',
Christopher Wileyeb19fa02014-03-27 13:27:30 -070035 'dbus_constants.cc',
Christopher Wileya4915c42014-03-27 14:45:37 -070036 'dbus_utils.cc',
Alex Vakulenko3cb466c2014-04-15 11:36:32 -070037 'device_registration_info.cc',
Alex Vakulenkob3aac252014-05-07 17:35:24 -070038 'error.cc',
Christopher Wileycec927c2014-04-15 16:26:47 -070039 'exported_object_manager.cc',
Christopher Wiley639477c2014-03-27 14:49:39 -070040 'exported_property_set.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070041 'http_request.cc',
Alex Vakulenkoa3062c52014-04-21 17:05:51 -070042 'http_connection_curl.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070043 'http_transport_curl.cc',
44 'http_utils.cc',
Christopher Wileya4915c42014-03-27 14:45:37 -070045 'manager.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070046 'mime_utils.cc',
Christopher Wiley006e94e2014-05-02 13:44:48 -070047 'storage_impls.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070048 'string_utils.cc',
Alex Vakulenkobda220a2014-04-18 15:25:44 -070049 'url_utils.cc'
Chris Sosa45d9f102014-03-24 11:18:54 -070050 ],
51 },
52 {
53 'target_name': 'buffet',
54 'type': 'executable',
55 'sources': [
56 'main.cc',
57 ],
58 'dependencies': [
59 'buffet_common',
60 ],
61 },
62 {
63 'target_name': 'buffet_client',
64 'type': 'executable',
65 'sources': [
66 'buffet_client.cc',
Christopher Wileyeb19fa02014-03-27 13:27:30 -070067 'dbus_constants.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070068 ],
Alex Vakulenko3cb466c2014-04-15 11:36:32 -070069 'dependencies': [
70 'buffet_common',
71 ],
Chris Sosa45d9f102014-03-24 11:18:54 -070072 },
73 {
74 'target_name': 'buffet_testrunner',
75 'type': 'executable',
76 'dependencies': [
77 'buffet_common',
78 ],
Alex Vakulenko60f304c2014-04-14 15:17:25 -070079 'includes': ['../common-mk/common_test.gypi'],
Chris Sosa45d9f102014-03-24 11:18:54 -070080 'sources': [
Alex Vakulenkob6513a12014-05-05 17:23:40 -070081 'any_unittest.cc',
82 'any_internal_impl_unittest.cc',
Alex Vakulenko9cd5e272014-04-25 17:26:11 -070083 'async_event_sequencer_unittest.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070084 'buffet_testrunner.cc',
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -070085 'commands/object_schema_unittest.cc',
Alex Vakulenko66ec2922014-06-17 15:30:22 -070086 'commands/schema_utils_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}