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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
7 | 7 |
| 8 assert(use_dbus) |
| 9 |
8 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi
le_entry_proto | 10 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi
le_entry_proto |
9 proto_library("mtp_file_entry_proto") { | 11 proto_library("mtp_file_entry_proto") { |
10 sources = [ | 12 sources = [ |
11 "//third_party/cros_system_api/dbus/mtp_file_entry.proto", | 13 "//third_party/cros_system_api/dbus/mtp_file_entry.proto", |
12 ] | 14 ] |
13 proto_out_dir = "device/media_transfer_protocol" | 15 proto_out_dir = "device/media_transfer_protocol" |
14 } | 16 } |
15 | 17 |
16 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_st
orage_info_proto | 18 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_st
orage_info_proto |
17 proto_library("mtp_storage_info_proto") { | 19 proto_library("mtp_storage_info_proto") { |
(...skipping 20 matching lines...) Expand all Loading... |
38 if (use_dbus) { | 40 if (use_dbus) { |
39 deps = [ | 41 deps = [ |
40 "//dbus", | 42 "//dbus", |
41 ] | 43 ] |
42 } | 44 } |
43 | 45 |
44 if (is_chromeos) { | 46 if (is_chromeos) { |
45 deps += [ "//chromeos" ] | 47 deps += [ "//chromeos" ] |
46 } | 48 } |
47 } | 49 } |
OLD | NEW |