Home | History | Annotate | Download | only in lto
      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   'targets': [
      6     {
      7       'target_name': 'lto',
      8       'type': 'shared_library',
      9       'sources': [
     10         'cfile.c',
     11         'mfile.m',
     12         'ccfile.cc',
     13         'mmfile.mm',
     14         'asmfile.S',
     15       ],
     16       'xcode_settings': {
     17         'LLVM_LTO': 'YES',
     18       },
     19     },
     20     {
     21       'target_name': 'lto_static',
     22       'type': 'static_library',
     23       'sources': [
     24         'cfile.c',
     25         'mfile.m',
     26         'ccfile.cc',
     27         'mmfile.mm',
     28         'asmfile.S',
     29       ],
     30       'xcode_settings': {
     31         'LLVM_LTO': 'YES',
     32       },
     33     },
     34   ],
     35 }
     36