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

Side by Side Diff: test/ldflags-duplicates/test.gyp

Issue 1209553002: Do not remote duplicate entries from ldflags when generating ninja files as it changes behavior (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Updated license headers Created 5 years, 5 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 | « test/ldflags-duplicates/main.c ('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
(Empty)
1 # Copyright (c) 2015 Google Inc. 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 'make_global_settings': [
7 ['LINK_wrapper', './check-ldflags.py'],
8 ],
9 'targets': [
10 {
11 'target_name': 'test',
12 'type': 'executable',
13 'ldflags': [
14 '-Wl,--whole-archive <(PRODUCT_DIR)/lib1.a',
15 '-Wl,--no-whole-archive',
16
17 '-Wl,--whole-archive <(PRODUCT_DIR)/lib2.a',
18 '-Wl,--no-whole-archive',
19 ],
20 'dependencies': [
21 'lib1',
22 'lib2',
23 ],
24 'sources': [
25 'main.c',
26 ],
27 },
28 {
29 'target_name': 'lib1',
30 'type': 'static_library',
31 'standalone_static_library': 1,
32 'sources': [
33 'lib1.c',
34 ],
35 },
36 {
37 'target_name': 'lib2',
38 'type': 'static_library',
39 'standalone_static_library': 1,
40 'sources': [
41 'lib2.c',
42 ],
43 },
44 ],
45 }
OLDNEW
« no previous file with comments | « test/ldflags-duplicates/main.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698