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

Side by Side Diff: libmtp.gyp

Issue 2364793002: Revert "Uprev libmtp to 1.1.12" (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libmtp@master
Patch Set: Created 4 years, 3 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 | « install-sh ('k') | libmtp.pc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'use_system_libmtp%': 0,
8 },
9 'conditions': [
10 ['use_system_libmtp==0', {
11 'targets': [
12 {
13 'target_name': 'libmtp',
14 'type': 'shared_library',
15 'product_name': 'mtp',
16 'dependencies': [
17 '../../third_party/libusb/libusb.gyp:libusb',
18 ],
19 'sources': [
20 'src/libmtp.c',
21 'src/libusb1-glue.c',
22 'src/ptp.c',
23 'src/unicode.c',
24 'src/util.c',
25 ],
26 'cflags!': ['-fvisibility=hidden'],
27 'include_dirs': [
28 '.',
29 'src',
30 ],
31 'direct_dependent_settings': {
32 'include_dirs': [
33 'src',
34 ],
35 },
36 },
37 ],
38 }, { # use_system_libmtp==1
39 'conditions': [
40 ['sysroot!=""', {
41 'variables': {
42 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<( target_arch)"',
43 },
44 }, {
45 'variables': {
46 'pkg-config': 'pkg-config'
47 },
48 }],
49 ],
50 'targets': [
51 {
52 'target_name': 'libmtp',
53 'type': 'none',
54 'direct_dependent_settings': {
55 'cflags': [
56 '<!@(<(pkg-config) --cflags libmtp)',
57 ],
58 },
59 'link_settings': {
60 'ldflags': [
61 '<!@(<(pkg-config) --libs-only-L --libs-only-other libmtp)',
62 ],
63 'libraries': [
64 '<!@(<(pkg-config) --libs-only-l libmtp)',
65 ],
66 },
67 }
68 ],
69 }],
70 ]
71 }
OLDNEW
« no previous file with comments | « install-sh ('k') | libmtp.pc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698