Chromium Code Reviews| Index: chromeos/BUILD.gn |
| diff --git a/chromeos/BUILD.gn b/chromeos/BUILD.gn |
| index ff5ae298c0e85f87b9fd316092ca85cc16102511..85829c4d7de2ec12e9cea02d30db0cbae1b56861 100644 |
| --- a/chromeos/BUILD.gn |
| +++ b/chromeos/BUILD.gn |
| @@ -47,6 +47,9 @@ component("chromeos") { |
| "//third_party/protobuf:protobuf_lite", |
| "//url", |
| ] |
| + data_deps = [ |
| + ":dbus_service_files", |
| + ] |
| sources = [ |
| "accelerometer/accelerometer_reader.cc", |
| "accelerometer/accelerometer_reader.h", |
| @@ -461,6 +464,16 @@ component("chromeos") { |
| } |
| } |
| +copy("dbus_service_files") { |
| + sources = [ |
| + "dbus/services/org.chromium.LibCrosService.conf", |
| + "dbus/services/org.chromium.LivenessService.conf", |
|
Daniel Erat
2017/03/20 15:14:24
i think there's no way to use a wildcard here, rig
|
| + ] |
| + outputs = [ |
| + "$root_out_dir/dbus/{{source_file_part}}", |
| + ] |
| +} |
| + |
| # This must be a static library instead of a source set because some of the |
| # files pull in things with dependencies that aren't linked in all cases. |
| # |