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

Side by Side Diff: test/ninja/duplicate-ldflags/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: Added test 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
OLDNEW
1 # Copyright (c) 2014 Google Inc. All rights reserved. 1 # Copyright (c) 2014 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'f', 8 'target_name': 'All',
9 'type': 'executable', 9 'type': 'executable',
10 'ldflags': [
11 '-Wl,--whole-archive lib1.a',
12 '-Wl,--no-whole-archive',
13
14 '-Wl,--whole-archive lib2.a',
15 '-Wl,--no-whole-archive',
16 ],
10 'sources': [ 17 'sources': [
11 'f.c', 18 'main.cc',
12 ],
13 },
14 {
15 'target_name': 'g',
16 'type': 'executable',
17 'sources': [
18 'g.c',
19 ],
20 'dependencies': [
21 'f',
22 ], 19 ],
23 }, 20 },
24 ], 21 ],
25 } 22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698