Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Side by Side Diff: chromeos/BUILD.gn

Issue 2858003002: Roll src/third_party/cros_system_api/ c6eab9e4d..6139ae009 + API change (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 ":cryptohome_proto", 25 ":cryptohome_proto",
25 ":power_manager_proto", 26 ":power_manager_proto",
26 "//base", 27 "//base",
27 "//base:i18n", 28 "//base:i18n",
28 "//base/third_party/dynamic_annotations", 29 "//base/third_party/dynamic_annotations",
29 "//chrome/browser/chromeos:device_policy_proto", 30 "//chrome/browser/chromeos:device_policy_proto",
30 "//components/device_event_log", 31 "//components/device_event_log",
31 "//components/onc", 32 "//components/onc",
32 "//components/policy:cloud_policy_proto_generated_compile", 33 "//components/policy:cloud_policy_proto_generated_compile",
33 "//components/policy/proto", 34 "//components/policy/proto",
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 # This must be a static library instead of a source set because some of the 490 # This must be a static library instead of a source set because some of the
490 # files pull in things with dependencies that aren't linked in all cases. 491 # files pull in things with dependencies that aren't linked in all cases.
491 # 492 #
492 # TODO this should probably be changed such that it links in all cases and 493 # TODO this should probably be changed such that it links in all cases and
493 # can be converted to a source set. 494 # can be converted to a source set.
494 static_library("test_support") { 495 static_library("test_support") {
495 testonly = true 496 testonly = true
496 configs += [ "//build/config/linux/dbus" ] 497 configs += [ "//build/config/linux/dbus" ]
497 public_deps = [ 498 public_deps = [
498 ":attestation_proto", 499 ":attestation_proto",
500 ":biod_proto",
499 ":chromeos", 501 ":chromeos",
500 ":cryptohome_proto", 502 ":cryptohome_proto",
501 ":power_manager_proto", 503 ":power_manager_proto",
502 ] 504 ]
503 deps = [ 505 deps = [
504 ":test_support_without_gmock", 506 ":test_support_without_gmock",
505 "//components/signin/core/account_id", 507 "//components/signin/core/account_id",
506 "//dbus:test_support", 508 "//dbus:test_support",
507 "//google_apis", 509 "//google_apis",
508 "//net:test_support", 510 "//net:test_support",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 "network/onc/onc_test_utils.cc", 559 "network/onc/onc_test_utils.cc",
558 "network/onc/onc_test_utils.h", 560 "network/onc/onc_test_utils.h",
559 ] 561 ]
560 } 562 }
561 563
562 static_library("test_support_without_gmock") { 564 static_library("test_support_without_gmock") {
563 testonly = true 565 testonly = true
564 configs += [ "//build/config/linux/dbus" ] 566 configs += [ "//build/config/linux/dbus" ]
565 deps = [ 567 deps = [
566 ":attestation_proto", 568 ":attestation_proto",
569 ":biod_proto",
567 ":chromeos", 570 ":chromeos",
568 ":cryptohome_proto", 571 ":cryptohome_proto",
569 ":power_manager_proto", 572 ":power_manager_proto",
570 "//components/policy/proto", 573 "//components/policy/proto",
571 "//crypto", 574 "//crypto",
572 ] 575 ]
573 sources = [ 576 sources = [
574 "dbus/fake_cros_disks_client.cc", 577 "dbus/fake_cros_disks_client.cc",
575 "dbus/fake_cros_disks_client.h", 578 "dbus/fake_cros_disks_client.h",
576 "dbus/fake_session_manager_client.cc", 579 "dbus/fake_session_manager_client.cc",
577 "dbus/fake_session_manager_client.h", 580 "dbus/fake_session_manager_client.h",
578 "dbus/fake_shill_manager_client.cc", 581 "dbus/fake_shill_manager_client.cc",
579 "dbus/fake_shill_manager_client.h", 582 "dbus/fake_shill_manager_client.h",
580 "dbus/fake_update_engine_client.cc", 583 "dbus/fake_update_engine_client.cc",
581 "dbus/fake_update_engine_client.h", 584 "dbus/fake_update_engine_client.h",
582 ] 585 ]
583 } 586 }
584 587
585 test("chromeos_unittests") { 588 test("chromeos_unittests") {
586 configs += [ 589 configs += [
587 "//build/config/linux/dbus", 590 "//build/config/linux/dbus",
588 "//third_party/nss:system_nss_no_ssl_config", 591 "//third_party/nss:system_nss_no_ssl_config",
589 ] 592 ]
590 deps = [ 593 deps = [
591 ":attestation_proto", 594 ":attestation_proto",
595 ":biod_proto",
592 ":cryptohome_proto", 596 ":cryptohome_proto",
593 ":power_manager_proto", 597 ":power_manager_proto",
594 ":test_support", 598 ":test_support",
595 "//base/test:run_all_unittests", 599 "//base/test:run_all_unittests",
596 "//base/test:test_support", 600 "//base/test:test_support",
597 "//components/onc", 601 "//components/onc",
598 "//components/prefs:test_support", 602 "//components/prefs:test_support",
599 "//components/proxy_config", 603 "//components/proxy_config",
600 "//components/signin/core/account_id", 604 "//components/signin/core/account_id",
601 "//crypto", 605 "//crypto",
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 proto_out_dir = "chromeos/cryptohome" 749 proto_out_dir = "chromeos/cryptohome"
746 } 750 }
747 751
748 proto_library("authpolicy_proto") { 752 proto_library("authpolicy_proto") {
749 sources = [ 753 sources = [
750 "//third_party/cros_system_api/dbus/authpolicy/active_directory_info.proto", 754 "//third_party/cros_system_api/dbus/authpolicy/active_directory_info.proto",
751 ] 755 ]
752 756
753 proto_out_dir = "chromeos/dbus/authpolicy" 757 proto_out_dir = "chromeos/dbus/authpolicy"
754 } 758 }
759
760 proto_library("biod_proto") {
761 sources = [
762 "//third_party/cros_system_api/dbus/biod/constants.proto",
763 "//third_party/cros_system_api/dbus/biod/messages.proto",
764 ]
765
766 proto_out_dir = "chromeos/dbus/biod"
767 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698