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 ":media_perception_proto", | 27 ":media_perception_proto", |
27 ":power_manager_proto", | 28 ":power_manager_proto", |
28 "//base", | 29 "//base", |
29 "//base:i18n", | 30 "//base:i18n", |
30 "//base/third_party/dynamic_annotations", | 31 "//base/third_party/dynamic_annotations", |
31 "//chrome/browser/chromeos:device_policy_proto", | 32 "//chrome/browser/chromeos:device_policy_proto", |
32 "//components/device_event_log", | 33 "//components/device_event_log", |
33 "//components/onc", | 34 "//components/onc", |
34 "//components/policy:cloud_policy_proto_generated_compile", | 35 "//components/policy:cloud_policy_proto_generated_compile", |
35 "//components/policy/proto", | 36 "//components/policy/proto", |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 | 741 |
741 proto_library("cryptohome_proto") { | 742 proto_library("cryptohome_proto") { |
742 sources = [ | 743 sources = [ |
743 "//third_party/cros_system_api/dbus/cryptohome/key.proto", | 744 "//third_party/cros_system_api/dbus/cryptohome/key.proto", |
744 "//third_party/cros_system_api/dbus/cryptohome/rpc.proto", | 745 "//third_party/cros_system_api/dbus/cryptohome/rpc.proto", |
745 ] | 746 ] |
746 | 747 |
747 proto_out_dir = "chromeos/dbus/cryptohome" | 748 proto_out_dir = "chromeos/dbus/cryptohome" |
748 } | 749 } |
749 | 750 |
| 751 proto_library("login_manager_proto") { |
| 752 sources = [ |
| 753 "//third_party/cros_system_api/dbus/login_manager/arc.proto", |
| 754 ] |
| 755 |
| 756 proto_out_dir = "chromeos/dbus/login_manager" |
| 757 } |
| 758 |
750 proto_library("attestation_proto") { | 759 proto_library("attestation_proto") { |
751 sources = [ | 760 sources = [ |
752 "dbus/proto/attestation.proto", | 761 "dbus/proto/attestation.proto", |
753 ] | 762 ] |
754 | 763 |
755 proto_out_dir = "chromeos/attestation" | 764 proto_out_dir = "chromeos/attestation" |
756 } | 765 } |
757 | 766 |
758 proto_library("cryptohome_signkey_proto") { | 767 proto_library("cryptohome_signkey_proto") { |
759 sources = [ | 768 sources = [ |
(...skipping 20 matching lines...) Expand all Loading... |
780 proto_out_dir = "chromeos/dbus/biod" | 789 proto_out_dir = "chromeos/dbus/biod" |
781 } | 790 } |
782 | 791 |
783 proto_library("media_perception_proto") { | 792 proto_library("media_perception_proto") { |
784 sources = [ | 793 sources = [ |
785 "dbus/proto/media_perception.proto", | 794 "dbus/proto/media_perception.proto", |
786 ] | 795 ] |
787 | 796 |
788 proto_out_dir = "chromeos/media_perception" | 797 proto_out_dir = "chromeos/media_perception" |
789 } | 798 } |
OLD | NEW |