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("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
6 | 7 |
7 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi
le_entry_proto | 8 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi
le_entry_proto |
8 proto_library("mtp_file_entry_proto") { | 9 proto_library("mtp_file_entry_proto") { |
9 sources = [ | 10 sources = [ |
10 "//third_party/cros_system_api/dbus/mtp_file_entry.proto", | 11 "//third_party/cros_system_api/dbus/mtp_file_entry.proto", |
11 ] | 12 ] |
12 proto_out_dir = "device/media_transfer_protocol" | 13 proto_out_dir = "device/media_transfer_protocol" |
13 } | 14 } |
14 | 15 |
(...skipping 16 matching lines...) Expand all Loading... |
31 | 32 |
32 public_deps = [ | 33 public_deps = [ |
33 ":mtp_file_entry_proto", | 34 ":mtp_file_entry_proto", |
34 ":mtp_storage_info_proto", | 35 ":mtp_storage_info_proto", |
35 "//base", | 36 "//base", |
36 ] | 37 ] |
37 deps = [ | 38 deps = [ |
38 "//dbus", | 39 "//dbus", |
39 ] | 40 ] |
40 | 41 |
41 if (is_chromeos) { | 42 if (use_cros_fe) { |
42 deps += [ "//chromeos" ] | 43 deps += [ "//chromeos" ] |
43 } | 44 } |
44 } | 45 } |
OLD | NEW |