aboutsummaryrefslogtreecommitdiff
path: root/system_api.gyp
diff options
context:
space:
mode:
authorLiam McLoughlin <lmcloughlin@chromium.org>2013-02-10 09:10:46 -0500
committerChromeBot <chrome-bot@google.com>2013-05-07 14:58:58 -0700
commit0b1c15f94b82ca957b174b704f973a84c7d5dc04 (patch)
treecf469a980e7eb295a748ed76f324c19e1f930a64 /system_api.gyp
parent12a59e5ce6514d8e52d74c1dd49e1532cdebd560 (diff)
downloadsystem_api-0b1c15f94b82ca957b174b704f973a84c7d5dc04.tar.gz
Add system_api GYP file
BUG=chromium:220003 TEST=Run emerge-<board> -v platform2 with and without platform2 USE flag on a range of boards plus the host Change-Id: I72f14c578227d2077d9a50f7007d9aaf618b339a Reviewed-on: https://gerrit.chromium.org/gerrit/42999 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Liam McLoughlin <lmcloughlin@chromium.org> Tested-by: Liam McLoughlin <lmcloughlin@chromium.org>
Diffstat (limited to 'system_api.gyp')
-rw-r--r--system_api.gyp51
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'
+ ]
+ }
+ ]
+ }
+ ]
+}