diff options
Diffstat (limited to 'system_api.gyp')
-rw-r--r-- | system_api.gyp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/system_api.gyp b/system_api.gyp new file mode 100644 index 0000000..f4cc352 --- /dev/null +++ b/system_api.gyp @@ -0,0 +1,51 @@ +{ + 'targets': [ + { + 'target_name': 'system_api-protos', + 'type': 'none', + 'variables': { + 'proto_in_dir': 'dbus', + 'proto_out_dir': 'include/chromeos/dbus', + }, + 'cflags': [ + '-fvisibility=hidden', + ], + 'sources': [ + '<(proto_in_dir)/mtp_storage_info.proto', + '<(proto_in_dir)/mtp_file_entry.proto', + '<(proto_in_dir)/video_activity_update.proto', + ], + 'includes': ['../common-mk/protoc.gypi'], + }, + { + 'target_name': 'system_api-power_manager-protos', + 'type': 'none', + 'variables': { + 'proto_in_dir': 'dbus/power_manager', + 'proto_out_dir': 'include/chromeos/dbus/power_manager', + }, + 'cflags': [ + '-fvisibility=hidden', + ], + 'sources': [ + '<(proto_in_dir)/suspend.proto', + '<(proto_in_dir)/input_event.proto', + '<(proto_in_dir)/policy.proto', + '<(proto_in_dir)/power_supply_properties.proto', + ], + 'includes': ['../common-mk/protoc.gypi'], + }, + { + 'target_name': 'system_api-headers', + 'type': 'none', + 'copies': [ + { + 'destination': '<(SHARED_INTERMEDIATE_DIR)/include/chromeos/dbus', + 'files': [ + 'dbus/service_constants.h' + ] + } + ] + } + ] +} |