naiveproxy/tools/gyp/test/mac/lto/test.gyp

36 lines
715 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
# Copyright (c) 2015 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'lto',
'type': 'shared_library',
'sources': [
'cfile.c',
'mfile.m',
'ccfile.cc',
'mmfile.mm',
'asmfile.S',
],
'xcode_settings': {
'LLVM_LTO': 'YES',
},
},
{
'target_name': 'lto_static',
'type': 'static_library',
'sources': [
'cfile.c',
'mfile.m',
'ccfile.cc',
'mmfile.mm',
'asmfile.S',
],
'xcode_settings': {
'LLVM_LTO': 'YES',
},
},
],
}