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

Side by Side Diff: test/copies/src/copies-sourceless-shared-lib.gyp

Issue 1518313002: ninja: Correctly handle copies steps in sourceless shared_library targets. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: comment Created 5 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 | « test/copies/gyptest-sourceless-shared-lib.py ('k') | test/copies/src/foo.c » ('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 # 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 'targets': [
7 {
8 'target_name': 'mylib',
9 'type': 'static_library',
10 'sources': [ 'foo.c' ],
11 },
12 {
13 'target_name': 'mysolib',
14 'type': 'shared_library',
15 'dependencies': [ 'mylib' ],
16 'copies': [
17 {
18 'destination': '<(PRODUCT_DIR)/copies-out',
19 'files': [ 'file1' ],
20 },
21 ],
22 # link.exe gets confused by sourceless shared libraries and needs this
23 # to become unconfused.
24 'msvs_settings': { 'VCLinkerTool': { 'TargetMachine': '1', }, },
25 },
26 ],
27 }
OLDNEW
« no previous file with comments | « test/copies/gyptest-sourceless-shared-lib.py ('k') | test/copies/src/foo.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698