Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 } |
| OLD | NEW |