OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//third_party/protobuf/proto_library.gni") | 7 import("//third_party/protobuf/proto_library.gni") |
8 | 8 |
9 assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") | 9 assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") |
10 | 10 |
11 declare_args() { | 11 declare_args() { |
12 # Use binder. Binder related code is compiled only when true. | 12 # Use binder. Binder related code is compiled only when true. |
13 use_binder = false | 13 use_binder = false |
14 } | 14 } |
15 | 15 |
16 component("chromeos") { | 16 component("chromeos") { |
17 configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 17 configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
18 public_deps = [ | 18 public_deps = [ |
19 "//dbus", | 19 "//dbus", |
20 ] | 20 ] |
21 deps = [ | 21 deps = [ |
22 ":attestation_proto", | 22 ":attestation_proto", |
23 ":authpolicy_proto", | 23 ":authpolicy_proto", |
24 ":biod_proto", | 24 ":biod_proto", |
25 ":cryptohome_proto", | 25 ":cryptohome_proto", |
| 26 ":login_manager_proto", |
26 ":power_manager_proto", | 27 ":power_manager_proto", |
27 "//base", | 28 "//base", |
28 "//base:i18n", | 29 "//base:i18n", |
29 "//base/third_party/dynamic_annotations", | 30 "//base/third_party/dynamic_annotations", |
30 "//chrome/browser/chromeos:device_policy_proto", | 31 "//chrome/browser/chromeos:device_policy_proto", |
31 "//components/device_event_log", | 32 "//components/device_event_log", |
32 "//components/onc", | 33 "//components/onc", |
33 "//components/policy:cloud_policy_proto_generated_compile", | 34 "//components/policy:cloud_policy_proto_generated_compile", |
34 "//components/policy/proto", | 35 "//components/policy/proto", |
35 "//components/pref_registry", | 36 "//components/pref_registry", |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 | 731 |
731 proto_library("cryptohome_proto") { | 732 proto_library("cryptohome_proto") { |
732 sources = [ | 733 sources = [ |
733 "//third_party/cros_system_api/dbus/cryptohome/key.proto", | 734 "//third_party/cros_system_api/dbus/cryptohome/key.proto", |
734 "//third_party/cros_system_api/dbus/cryptohome/rpc.proto", | 735 "//third_party/cros_system_api/dbus/cryptohome/rpc.proto", |
735 ] | 736 ] |
736 | 737 |
737 proto_out_dir = "chromeos/dbus/cryptohome" | 738 proto_out_dir = "chromeos/dbus/cryptohome" |
738 } | 739 } |
739 | 740 |
| 741 proto_library("login_manager_proto") { |
| 742 sources = [ |
| 743 "//third_party/cros_system_api/dbus/login_manager/arc.proto", |
| 744 ] |
| 745 |
| 746 proto_out_dir = "chromeos/dbus/login_manager" |
| 747 } |
| 748 |
740 proto_library("attestation_proto") { | 749 proto_library("attestation_proto") { |
741 sources = [ | 750 sources = [ |
742 "dbus/proto/attestation.proto", | 751 "dbus/proto/attestation.proto", |
743 ] | 752 ] |
744 | 753 |
745 proto_out_dir = "chromeos/attestation" | 754 proto_out_dir = "chromeos/attestation" |
746 } | 755 } |
747 | 756 |
748 proto_library("cryptohome_signkey_proto") { | 757 proto_library("cryptohome_signkey_proto") { |
749 sources = [ | 758 sources = [ |
(...skipping 12 matching lines...) Expand all Loading... |
762 } | 771 } |
763 | 772 |
764 proto_library("biod_proto") { | 773 proto_library("biod_proto") { |
765 sources = [ | 774 sources = [ |
766 "//third_party/cros_system_api/dbus/biod/constants.proto", | 775 "//third_party/cros_system_api/dbus/biod/constants.proto", |
767 "//third_party/cros_system_api/dbus/biod/messages.proto", | 776 "//third_party/cros_system_api/dbus/biod/messages.proto", |
768 ] | 777 ] |
769 | 778 |
770 proto_out_dir = "chromeos/dbus/biod" | 779 proto_out_dir = "chromeos/dbus/biod" |
771 } | 780 } |
OLD | NEW |