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

Side by Side Diff: test/mac/archs/test-archs-multiarch.gyp

Issue 157583011: Fix generation for ninja of multiarch executable targets (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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/generator/ninja.py ('k') | test/mac/gyptest-archs.py » ('j') | 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) 2012 Google Inc. All rights reserved. 1 # Copyright (c) 2012 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': 'static_32_64', 8 'target_name': 'static_32_64',
9 'type': 'static_library', 9 'type': 'static_library',
10 'sources': [ 'my_file.cc' ], 10 'sources': [ 'my_file.cc' ],
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 # This only needs to compile. 49 # This only needs to compile.
50 { 50 {
51 'target_name': 'precompiled_prefix_header_mm_32_64', 51 'target_name': 'precompiled_prefix_header_mm_32_64',
52 'type': 'shared_library', 52 'type': 'shared_library',
53 'sources': [ 'file.mm', ], 53 'sources': [ 'file.mm', ],
54 'xcode_settings': { 54 'xcode_settings': {
55 'GCC_PREFIX_HEADER': 'header.h', 55 'GCC_PREFIX_HEADER': 'header.h',
56 'GCC_PRECOMPILE_PREFIX_HEADER': 'YES', 56 'GCC_PRECOMPILE_PREFIX_HEADER': 'YES',
57 }, 57 },
58 }, 58 },
59 # This does not compile but should not cause generation errors.
60 {
61 'target_name': 'exe_32_64_no_sources',
62 'type': 'executable',
63 'dependencies': [
64 ':static_32_64',
Nico 2014/02/17 21:41:12 (No leading ':' on local targets.)
65 ],
66 'sources': [],
67 'xcode_settings': {
68 'ARCHS': ['i386', 'x86_64'],
69 },
70 },
59 ] 71 ]
60 } 72 }
OLDNEW
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/mac/gyptest-archs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698