| 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 gypi_values = exec_script("//build/gypi_to_gn.py", | 16 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 17 [ rebase_path("chromeos.gyp") ], | 17 [ rebase_path("chromeos.gyp") ], |
| 18 "scope", | 18 "scope", |
| 19 [ "chromeos.gyp" ]) | 19 [ "chromeos.gyp" ]) |
| 20 | 20 |
| 21 component("chromeos") { | 21 component("chromeos") { |
| 22 configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 22 configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
| 23 public_deps = [ | 23 public_deps = [ |
| 24 "//dbus", | 24 "//dbus", |
| 25 ] | 25 ] |
| 26 deps = [ | 26 deps = [ |
| 27 ":attestation_proto", | 27 ":attestation_proto", |
| 28 ":authpolicy_proto", |
| 28 ":cryptohome_proto", | 29 ":cryptohome_proto", |
| 29 ":power_manager_proto", | 30 ":power_manager_proto", |
| 30 "//base", | 31 "//base", |
| 31 "//base:i18n", | 32 "//base:i18n", |
| 32 "//base/third_party/dynamic_annotations", | 33 "//base/third_party/dynamic_annotations", |
| 33 "//chrome/browser/chromeos:device_policy_proto", | 34 "//chrome/browser/chromeos:device_policy_proto", |
| 34 "//components/device_event_log", | 35 "//components/device_event_log", |
| 35 "//components/onc", | 36 "//components/onc", |
| 36 "//components/policy:cloud_policy_proto_generated_compile", | 37 "//components/policy:cloud_policy_proto_generated_compile", |
| 37 "//components/policy/proto", | 38 "//components/policy/proto", |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 proto_out_dir = "chromeos/attestation" | 219 proto_out_dir = "chromeos/attestation" |
| 219 } | 220 } |
| 220 | 221 |
| 221 proto_library("cryptohome_signkey_proto") { | 222 proto_library("cryptohome_signkey_proto") { |
| 222 sources = [ | 223 sources = [ |
| 223 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", | 224 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", |
| 224 ] | 225 ] |
| 225 | 226 |
| 226 proto_out_dir = "chromeos/cryptohome" | 227 proto_out_dir = "chromeos/cryptohome" |
| 227 } | 228 } |
| 229 |
| 230 proto_library("authpolicy_proto") { |
| 231 sources = [ |
| 232 "//third_party/cros_system_api/dbus/authpolicy/active_directory_account_data
.proto", |
| 233 ] |
| 234 |
| 235 proto_out_dir = "chromeos/dbus/authpolicy" |
| 236 } |
| OLD | NEW |