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

Side by Side Diff: chromeos/BUILD.gn

Issue 2764513002: Copy D-Bus service files to build output. (Closed)
Patch Set: Add README.md Created 3 years, 9 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
« no previous file with comments | « no previous file | chromeos/dbus/services/README.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 29 matching lines...) Expand all
40 "//crypto", 40 "//crypto",
41 "//crypto:platform", 41 "//crypto:platform",
42 "//google_apis", 42 "//google_apis",
43 "//media/base:video_facing", 43 "//media/base:video_facing",
44 "//net", 44 "//net",
45 "//skia", # For components/user_manager 45 "//skia", # For components/user_manager
46 "//third_party/icu", 46 "//third_party/icu",
47 "//third_party/protobuf:protobuf_lite", 47 "//third_party/protobuf:protobuf_lite",
48 "//url", 48 "//url",
49 ] 49 ]
50 data_deps = [
51 ":dbus_service_files",
52 ]
50 sources = [ 53 sources = [
51 "accelerometer/accelerometer_reader.cc", 54 "accelerometer/accelerometer_reader.cc",
52 "accelerometer/accelerometer_reader.h", 55 "accelerometer/accelerometer_reader.h",
53 "accelerometer/accelerometer_types.cc", 56 "accelerometer/accelerometer_types.cc",
54 "accelerometer/accelerometer_types.h", 57 "accelerometer/accelerometer_types.h",
55 "app_mode/kiosk_oem_manifest_parser.cc", 58 "app_mode/kiosk_oem_manifest_parser.cc",
56 "app_mode/kiosk_oem_manifest_parser.h", 59 "app_mode/kiosk_oem_manifest_parser.h",
57 "attestation/attestation_constants.cc", 60 "attestation/attestation_constants.cc",
58 "attestation/attestation_constants.h", 61 "attestation/attestation_constants.h",
59 "attestation/attestation_flow.cc", 62 "attestation/attestation_flow.cc",
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 "tpm/tpm_token_info_getter.h", 457 "tpm/tpm_token_info_getter.h",
455 "tpm/tpm_token_loader.cc", 458 "tpm/tpm_token_loader.cc",
456 "tpm/tpm_token_loader.h", 459 "tpm/tpm_token_loader.h",
457 ] 460 ]
458 defines = [ "CHROMEOS_IMPLEMENTATION" ] 461 defines = [ "CHROMEOS_IMPLEMENTATION" ]
459 if (current_cpu == "arm" || current_cpu == "x86") { 462 if (current_cpu == "arm" || current_cpu == "x86") {
460 defines += [ "BINDER_IPC_32BIT" ] 463 defines += [ "BINDER_IPC_32BIT" ]
461 } 464 }
462 } 465 }
463 466
467 copy("dbus_service_files") {
468 sources = [
469 "dbus/services/org.chromium.LibCrosService.conf",
470 "dbus/services/org.chromium.LivenessService.conf",
471 ]
472 outputs = [
473 "$root_out_dir/dbus/{{source_file_part}}",
474 ]
475 }
476
464 # This must be a static library instead of a source set because some of the 477 # This must be a static library instead of a source set because some of the
465 # files pull in things with dependencies that aren't linked in all cases. 478 # files pull in things with dependencies that aren't linked in all cases.
466 # 479 #
467 # TODO this should probably be changed such that it links in all cases and 480 # TODO this should probably be changed such that it links in all cases and
468 # can be converted to a source set. 481 # can be converted to a source set.
469 static_library("test_support") { 482 static_library("test_support") {
470 testonly = true 483 testonly = true
471 configs += [ "//build/config/linux/dbus" ] 484 configs += [ "//build/config/linux/dbus" ]
472 public_deps = [ 485 public_deps = [
473 ":attestation_proto", 486 ":attestation_proto",
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 proto_out_dir = "chromeos/cryptohome" 725 proto_out_dir = "chromeos/cryptohome"
713 } 726 }
714 727
715 proto_library("authpolicy_proto") { 728 proto_library("authpolicy_proto") {
716 sources = [ 729 sources = [
717 "//third_party/cros_system_api/dbus/authpolicy/active_directory_account_data .proto", 730 "//third_party/cros_system_api/dbus/authpolicy/active_directory_account_data .proto",
718 ] 731 ]
719 732
720 proto_out_dir = "chromeos/dbus/authpolicy" 733 proto_out_dir = "chromeos/dbus/authpolicy"
721 } 734 }
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/services/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698