| 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 += [ "//net/third_party/nss/ssl: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 ":cryptohome_proto", | 27 ":cryptohome_proto", |
| 28 ":power_manager_proto", | 28 ":power_manager_proto", |
| 29 "//base", | 29 "//base", |
| 30 "//base:i18n", | 30 "//base:i18n", |
| 31 "//base/third_party/dynamic_annotations", | 31 "//base/third_party/dynamic_annotations", |
| 32 "//components/device_event_log", | 32 "//components/device_event_log", |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 "dbus/fake_shill_manager_client.cc", | 131 "dbus/fake_shill_manager_client.cc", |
| 132 "dbus/fake_shill_manager_client.h", | 132 "dbus/fake_shill_manager_client.h", |
| 133 "dbus/fake_update_engine_client.cc", | 133 "dbus/fake_update_engine_client.cc", |
| 134 "dbus/fake_update_engine_client.h", | 134 "dbus/fake_update_engine_client.h", |
| 135 ] | 135 ] |
| 136 } | 136 } |
| 137 | 137 |
| 138 test("chromeos_unittests") { | 138 test("chromeos_unittests") { |
| 139 configs += [ | 139 configs += [ |
| 140 "//build/config/linux:dbus", | 140 "//build/config/linux:dbus", |
| 141 "//net/third_party/nss/ssl:ssl_config", | 141 "//third_party/nss:system_nss_no_ssl_config", |
| 142 ] | 142 ] |
| 143 deps = [ | 143 deps = [ |
| 144 ":cryptohome_proto", | 144 ":cryptohome_proto", |
| 145 ":power_manager_proto", | 145 ":power_manager_proto", |
| 146 ":test_support", | 146 ":test_support", |
| 147 "//base/test:run_all_unittests", | 147 "//base/test:run_all_unittests", |
| 148 "//base/test:test_support", | 148 "//base/test:test_support", |
| 149 "//components/onc", | 149 "//components/onc", |
| 150 "//components/prefs:test_support", | 150 "//components/prefs:test_support", |
| 151 "//components/proxy_config", | 151 "//components/proxy_config", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 proto_out_dir = "chromeos/dbus/cryptohome" | 191 proto_out_dir = "chromeos/dbus/cryptohome" |
| 192 } | 192 } |
| 193 | 193 |
| 194 proto_library("cryptohome_signkey_proto") { | 194 proto_library("cryptohome_signkey_proto") { |
| 195 sources = [ | 195 sources = [ |
| 196 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", | 196 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", |
| 197 ] | 197 ] |
| 198 | 198 |
| 199 proto_out_dir = "chromeos/cryptohome" | 199 proto_out_dir = "chromeos/cryptohome" |
| 200 } | 200 } |
| OLD | NEW |