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

Side by Side Diff: test/ninja/duplicate-ldflags/gyptest-duplicate-ldflags.py

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
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/ninja/duplicate-ldflags/test.gyp » ('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 #!/usr/bin/env python
2
3 # Copyright (c) 2015 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 """
8 Verifies duplicate ldflags are not removed.
9 """
10
11 import TestGyp
12
13 test = TestGyp.TestGyp(formats=['ninja'])
14 test.run_gyp('test.gyp')
15
16 test.must_contain('out/Default/obj/All.ninja',
17 '-Wl,--whole-archive lib1.a -Wl,--no-whole-archive')
Nico 2015/06/25 16:02:21 Can you rewrite this to not inspect the ninja file
18 test.must_contain('out/Default/obj/All.ninja',
19 '-Wl,--whole-archive lib2.a -Wl,--no-whole-archive')
20
21 test.pass_test()
OLDNEW
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/ninja/duplicate-ldflags/test.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698