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

Side by Side Diff: test/dependencies/sharedlib-linksettings/test.gyp

Issue 23557010: Add a flag to enable the fix for r1717 (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « pylib/gyp/input.py ('k') | 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) 2013 Google Inc. All rights reserved. 1 # Copyright (c) 2013 Google Inc. 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 'target_defaults': {
7 'allow_sharedlib_linksettings_propagation': 0,
8 },
6 'targets': [ 9 'targets': [
7 { 10 {
8 'target_name': 'sharedlib', 11 'target_name': 'sharedlib',
9 'type': 'shared_library', 12 'type': 'shared_library',
10 'sources': [ 'sharedlib.c' ], 13 'sources': [ 'sharedlib.c' ],
11 'link_settings': { 14 'link_settings': {
12 'defines': [ 'TEST_DEFINE=1' ], 15 'defines': [ 'TEST_DEFINE=1' ],
13 }, 16 },
14 'conditions': [ 17 'conditions': [
15 ['OS=="linux"', { 18 ['OS=="linux"', {
16 # Support 64-bit shared libs (also works fine for 32-bit). 19 # Support 64-bit shared libs (also works fine for 32-bit).
17 'cflags': ['-fPIC'], 20 'cflags': ['-fPIC'],
18 }], 21 }],
19 ], 22 ],
20 }, 23 },
21 { 24 {
22 'target_name': 'staticlib', 25 'target_name': 'staticlib',
23 'type': 'static_library', 26 'type': 'static_library',
24 'sources': [ 'staticlib.c' ], 27 'sources': [ 'staticlib.c' ],
25 'dependencies': [ 'sharedlib' ], 28 'dependencies': [ 'sharedlib' ],
26 }, 29 },
27 { 30 {
28 'target_name': 'program', 31 'target_name': 'program',
29 'type': 'executable', 32 'type': 'executable',
30 'sources': [ 'program.c' ], 33 'sources': [ 'program.c' ],
31 'dependencies': [ 'staticlib' ], 34 'dependencies': [ 'staticlib' ],
32 }, 35 },
33 ], 36 ],
34 } 37 }
OLDNEW
« no previous file with comments | « pylib/gyp/input.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698