• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  'targets': [
3    {
4      'target_name': 'system_api-protos-gen',
5      'type': 'none',
6      'variables': {
7        'proto_in_dir': 'dbus',
8        'proto_out_dir': 'include/system_api/proto_bindings',
9      },
10      'sources': [
11        '<(proto_in_dir)/mtp_storage_info.proto',
12        '<(proto_in_dir)/mtp_file_entry.proto',
13        '<(proto_in_dir)/field_trial_list.proto',
14      ],
15      'includes': ['../../platform2/common-mk/protoc.gypi'],
16    },
17    {
18      'target_name': 'system_api-protos',
19      'type': 'static_library',
20      'standalone_static_library': 1,
21      'dependencies': [
22        'system_api-protos-gen',
23      ],
24      'sources': [
25        '<(SHARED_INTERMEDIATE_DIR)/include/system_api/proto_bindings/mtp_storage_info.pb.cc',
26        '<(SHARED_INTERMEDIATE_DIR)/include/system_api/proto_bindings/mtp_file_entry.pb.cc',
27        '<(SHARED_INTERMEDIATE_DIR)/include/system_api/proto_bindings/field_trial_list.pb.cc',
28      ]
29    },
30    {
31      'target_name': 'system_api-power_manager-protos-gen',
32      'type': 'none',
33      'variables': {
34        'proto_in_dir': 'dbus/power_manager',
35        'proto_out_dir': 'include/power_manager/proto_bindings',
36      },
37      'sources': [
38        '<(proto_in_dir)/input_event.proto',
39        '<(proto_in_dir)/peripheral_battery_status.proto',
40        '<(proto_in_dir)/policy.proto',
41        '<(proto_in_dir)/power_supply_properties.proto',
42        '<(proto_in_dir)/suspend.proto',
43        '<(proto_in_dir)/switch_states.proto',
44      ],
45      'includes': ['../../platform2/common-mk/protoc.gypi'],
46    },
47    {
48      'target_name': 'system_api-power_manager-protos',
49      'type': 'static_library',
50      'standalone_static_library': 1,
51      'dependencies': [
52        'system_api-power_manager-protos-gen',
53      ],
54      'sources': [
55        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/input_event.pb.cc',
56        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/peripheral_battery_status.pb.cc',
57        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/policy.pb.cc',
58        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/power_supply_properties.pb.cc',
59        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/suspend.pb.cc',
60        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/switch_states.pb.cc',
61      ]
62    },
63    {
64      'target_name': 'system_api-cryptohome-protos-gen',
65      'type': 'none',
66      'variables': {
67        'proto_in_dir': 'dbus/cryptohome',
68        'proto_out_dir': 'include/cryptohome/proto_bindings',
69      },
70      'sources': [
71        '<(proto_in_dir)/key.proto',
72        '<(proto_in_dir)/rpc.proto',
73        '<(proto_in_dir)/signed_secret.proto',
74      ],
75      'includes': ['../../platform2/common-mk/protoc.gypi'],
76    },
77    {
78      'target_name': 'system_api-cryptohome-protos',
79      'type': 'static_library',
80      'standalone_static_library': 1,
81      'dependencies': [
82        'system_api-cryptohome-protos-gen',
83      ],
84      'sources': [
85        '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/key.pb.cc',
86        '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/rpc.pb.cc',
87        '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/signed_secret.pb.cc',
88      ]
89    },
90    {
91      'target_name': 'system_api-authpolicy-protos-gen',
92      'type': 'none',
93      'variables': {
94        'proto_in_dir': 'dbus/authpolicy',
95        'proto_out_dir': 'include/authpolicy/proto_bindings',
96      },
97      'sources': [
98        '<(proto_in_dir)/active_directory_account_data.proto',
99      ],
100      'includes': ['../../platform2/common-mk/protoc.gypi'],
101    },
102    {
103      'target_name': 'system_api-authpolicy-protos',
104      'type': 'static_library',
105      'standalone_static_library': 1,
106      'dependencies': [
107        'system_api-authpolicy-protos-gen',
108      ],
109      'sources': [
110        '<(SHARED_INTERMEDIATE_DIR)/include/authpolicy/proto_bindings/active_directory_account_data.pb.cc',
111      ]
112    },
113  ]
114}
115