Home | History | Annotate | Download | only in system_api
      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)/suspend.proto',
     39         '<(proto_in_dir)/input_event.proto',
     40         '<(proto_in_dir)/peripheral_battery_status.proto',
     41         '<(proto_in_dir)/policy.proto',
     42         '<(proto_in_dir)/power_supply_properties.proto',
     43       ],
     44       'includes': ['../../platform2/common-mk/protoc.gypi'],
     45     },
     46     {
     47       'target_name': 'system_api-power_manager-protos',
     48       'type': 'static_library',
     49       'standalone_static_library': 1,
     50       'dependencies': [
     51         'system_api-power_manager-protos-gen',
     52       ],
     53       'sources': [
     54         '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/suspend.pb.cc',
     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       ]
     60     },
     61     {
     62       'target_name': 'system_api-cryptohome-protos-gen',
     63       'type': 'none',
     64       'variables': {
     65         'proto_in_dir': 'dbus/cryptohome',
     66         'proto_out_dir': 'include/cryptohome/proto_bindings',
     67       },
     68       'sources': [
     69         '<(proto_in_dir)/key.proto',
     70         '<(proto_in_dir)/rpc.proto',
     71         '<(proto_in_dir)/signed_secret.proto',
     72       ],
     73       'includes': ['../../platform2/common-mk/protoc.gypi'],
     74     },
     75     {
     76       'target_name': 'system_api-cryptohome-protos',
     77       'type': 'static_library',
     78       'standalone_static_library': 1,
     79       'dependencies': [
     80         'system_api-cryptohome-protos-gen',
     81       ],
     82       'sources': [
     83         '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/key.pb.cc',
     84         '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/rpc.pb.cc',
     85         '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/signed_secret.pb.cc',
     86       ]
     87     },
     88   ]
     89 }
     90