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

Side by Side Diff: third_party/libevent/libevent.gyp

Issue 8694001: set type 'settings' to 'none' in gyp file in case using the system lib (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 { 5 {
6 'variables': { 6 'variables': {
7 'use_system_libevent%': 0, 7 'use_system_libevent%': 0,
8 }, 8 },
9 'conditions': [ 9 'conditions': [
10 ['use_system_libevent==0', { 10 ['use_system_libevent==0', {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 'sources': [ 'devpoll.c', 'evport.c' ], 62 'sources': [ 'devpoll.c', 'evport.c' ],
63 'include_dirs': [ 'solaris' ] 63 'include_dirs': [ 'solaris' ]
64 }], 64 }],
65 ], 65 ],
66 }, 66 },
67 ], 67 ],
68 }, { # use_system_libevent != 0 68 }, { # use_system_libevent != 0
69 'targets': [ 69 'targets': [
70 { 70 {
71 'target_name': 'libevent', 71 'target_name': 'libevent',
72 'type': 'settings', 72 'type': 'none',
73 'toolsets': ['host', 'target'], 73 'toolsets': ['host', 'target'],
74 'direct_dependent_settings': { 74 'direct_dependent_settings': {
75 'defines': [ 75 'defines': [
76 'USE_SYSTEM_LIBEVENT', 76 'USE_SYSTEM_LIBEVENT',
77 ], 77 ],
78 }, 78 },
79 'link_settings': { 79 'link_settings': {
80 'libraries': [ 80 'libraries': [
81 '-levent', 81 '-levent',
82 ], 82 ],
83 }, 83 },
84 } 84 }
85 ], 85 ],
86 }], 86 }],
87 ], 87 ],
88 } 88 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698