blob: 2197989d52594f54740ee4754c6abe586016751d [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 Vakulenko7c36b672014-07-16 14:50:58 -070028 'commands/command_definition.cc',
29 'commands/command_dictionary.cc',
30 'commands/command_manager.cc',
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -070031 'commands/object_schema.cc',
32 'commands/prop_constraints.cc',
33 'commands/prop_types.cc',
34 'commands/prop_values.cc',
35 'commands/schema_constants.cc',
Alex Vakulenko66ec2922014-06-17 15:30:22 -070036 'commands/schema_utils.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070037 'data_encoding.cc',
Christopher Wileyeb19fa02014-03-27 13:27:30 -070038 'dbus_constants.cc',
Christopher Wileya4915c42014-03-27 14:45:37 -070039 'dbus_utils.cc',
Alex Vakulenko3cb466c2014-04-15 11:36:32 -070040 'device_registration_info.cc',
Alex Vakulenkob3aac252014-05-07 17:35:24 -070041 'error.cc',
Christopher Wileycec927c2014-04-15 16:26:47 -070042 'exported_object_manager.cc',
Christopher Wiley639477c2014-03-27 14:49:39 -070043 'exported_property_set.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070044 'http_request.cc',
Alex Vakulenkoa3062c52014-04-21 17:05:51 -070045 'http_connection_curl.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070046 'http_transport_curl.cc',
47 'http_utils.cc',
Christopher Wileya4915c42014-03-27 14:45:37 -070048 'manager.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070049 'mime_utils.cc',
Christopher Wiley006e94e2014-05-02 13:44:48 -070050 'storage_impls.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070051 'string_utils.cc',
Alex Vakulenkobda220a2014-04-18 15:25:44 -070052 'url_utils.cc'
Chris Sosa45d9f102014-03-24 11:18:54 -070053 ],
54 },
55 {
56 'target_name': 'buffet',
57 'type': 'executable',
58 'sources': [
59 'main.cc',
60 ],
61 'dependencies': [
62 'buffet_common',
63 ],
64 },
65 {
66 'target_name': 'buffet_client',
67 'type': 'executable',
68 'sources': [
69 'buffet_client.cc',
Christopher Wileyeb19fa02014-03-27 13:27:30 -070070 'dbus_constants.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070071 ],
Alex Vakulenko3cb466c2014-04-15 11:36:32 -070072 'dependencies': [
73 'buffet_common',
74 ],
Chris Sosa45d9f102014-03-24 11:18:54 -070075 },
76 {
77 'target_name': 'buffet_testrunner',
78 'type': 'executable',
79 'dependencies': [
80 'buffet_common',
81 ],
Alex Vakulenko60f304c2014-04-14 15:17:25 -070082 'includes': ['../common-mk/common_test.gypi'],
Chris Sosa45d9f102014-03-24 11:18:54 -070083 'sources': [
Alex Vakulenkob6513a12014-05-05 17:23:40 -070084 'any_unittest.cc',
85 'any_internal_impl_unittest.cc',
Alex Vakulenko9cd5e272014-04-25 17:26:11 -070086 'async_event_sequencer_unittest.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070087 'buffet_testrunner.cc',
Alex Vakulenko7c36b672014-07-16 14:50:58 -070088 'commands/command_definition_unittest.cc',
89 'commands/command_dictionary_unittest.cc',
90 'commands/command_manager_unittest.cc',
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -070091 'commands/object_schema_unittest.cc',
Alex Vakulenko66ec2922014-06-17 15:30:22 -070092 'commands/schema_utils_unittest.cc',
Alex Vakulenko6201d2d2014-07-16 14:46:48 -070093 'commands/unittest_utils.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -070094 'data_encoding_unittest.cc',
Alex Vakulenko8e34d392014-04-29 11:02:56 -070095 'device_registration_info_unittest.cc',
Alex Vakulenkob3aac252014-05-07 17:35:24 -070096 'error_unittest.cc',
Christopher Wileycec927c2014-04-15 16:26:47 -070097 'exported_object_manager_unittest.cc',
Christopher Wiley639477c2014-03-27 14:49:39 -070098 'exported_property_set_unittest.cc',
Alex Vakulenko9cd5e272014-04-25 17:26:11 -070099 'http_connection_fake.cc',
100 'http_transport_fake.cc',
Alex Vakulenkoa3062c52014-04-21 17:05:51 -0700101 'http_utils_unittest.cc',
Chris Sosa45d9f102014-03-24 11:18:54 -0700102 'mime_utils_unittest.cc',
103 'string_utils_unittest.cc',
Alex Vakulenkobda220a2014-04-18 15:25:44 -0700104 'url_utils_unittest.cc'
Chris Sosa45d9f102014-03-24 11:18:54 -0700105 ],
106 },
107 ],
108}