diff options
author | Xiaohui Chen <xiaohuic@google.com> | 2017-05-12 10:31:58 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-05-12 10:31:58 +0000 |
commit | bc6f27b8a30a06f55c59092761480a64080bd0c0 (patch) | |
tree | 32abe59b1a5c4f781025a38238f7d4c8dd88f7f6 | |
parent | 38f906da8abeff53ace098aa960156149baf8db3 (diff) | |
parent | 2a19709e6f2e52d8e8e276b63e46a0ff31020d57 (diff) | |
download | system_api-bc6f27b8a30a06f55c59092761480a64080bd0c0.tar.gz |
Add login_manager dbus proto message
am: 2a19709e6f
Change-Id: I8c647e626a59bc3509b9fbf816459f81214809c1
-rw-r--r-- | dbus/login_manager/arc.proto | 26 | ||||
-rw-r--r-- | system_api.gyp | 23 | ||||
-rw-r--r-- | system_api.pc | 2 |
3 files changed, 50 insertions, 1 deletions
diff --git a/dbus/login_manager/arc.proto b/dbus/login_manager/arc.proto new file mode 100644 index 0000000..1d7dcee --- /dev/null +++ b/dbus/login_manager/arc.proto @@ -0,0 +1,26 @@ +// Copyright 2017 The Chromium OS Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +syntax = "proto2"; + +option optimize_for = LITE_RUNTIME; + +package login_manager; + +// ARC startup options sent from Chrome to session manager. This message is +// used in SessionManagerInterface.StartArcInterface method. +message StartArcInstanceRequest { + // Account ID of the user to start ARC for. This must be the same as the + // one given in StartSession. + optional string account_id = 1; + + // Option to disable ACTION_BOOT_COMPLETED broadcast for 3rd party apps. + optional bool skip_boot_completed_broadcast = 2; + + // Option to enable package manager service to scan /vendor/priv-app + // directory. + optional bool scan_vendor_priv_app = 3; + + // Next ID to use: 4 +} diff --git a/system_api.gyp b/system_api.gyp index 4044802..031ef01 100644 --- a/system_api.gyp +++ b/system_api.gyp @@ -141,5 +141,28 @@ '<(SHARED_INTERMEDIATE_DIR)/include/biod/proto_bindings/messages.pb.cc', ] }, + { + 'target_name': 'system_api-login_manager-protos-gen', + 'type': 'none', + 'variables': { + 'proto_in_dir': 'dbus/login_manager', + 'proto_out_dir': 'include/login_manager/proto_bindings', + }, + 'sources': [ + '<(proto_in_dir)/arc.proto', + ], + 'includes': ['../../platform2/common-mk/protoc.gypi'], + }, + { + 'target_name': 'system_api-login_manager-protos', + 'type': 'static_library', + 'standalone_static_library': 1, + 'dependencies': [ + 'system_api-login_manager-protos-gen', + ], + 'sources': [ + '<(SHARED_INTERMEDIATE_DIR)/include/login_manager/proto_bindings/arc.pb.cc', + ] + }, ] } diff --git a/system_api.pc b/system_api.pc index 791f27b..fca0abb 100644 --- a/system_api.pc +++ b/system_api.pc @@ -1,4 +1,4 @@ Name: system_api Description: Protobuffers and headers shared by Chromium OS and Chromium. Version: 0.1 -Libs: -lsystem_api-power_manager-protos -lsystem_api-cryptohome-protos -lsystem_api-authpolicy-protos -lsystem_api-biod-protos -lsystem_api-protos +Libs: -lsystem_api-power_manager-protos -lsystem_api-cryptohome-protos -lsystem_api-authpolicy-protos -lsystem_api-biod-protos -lsystem_api-protos -lsystem_api-login_manager-protos |