From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- third_party/python/gyp/test/mac/lto/asmfile.S | 2 ++ third_party/python/gyp/test/mac/lto/ccfile.cc | 1 + third_party/python/gyp/test/mac/lto/cfile.c | 1 + third_party/python/gyp/test/mac/lto/mfile.m | 1 + third_party/python/gyp/test/mac/lto/mmfile.mm | 1 + third_party/python/gyp/test/mac/lto/test.gyp | 35 +++++++++++++++++++++++++++ 6 files changed, 41 insertions(+) create mode 100644 third_party/python/gyp/test/mac/lto/asmfile.S create mode 100644 third_party/python/gyp/test/mac/lto/ccfile.cc create mode 100644 third_party/python/gyp/test/mac/lto/cfile.c create mode 100644 third_party/python/gyp/test/mac/lto/mfile.m create mode 100644 third_party/python/gyp/test/mac/lto/mmfile.mm create mode 100644 third_party/python/gyp/test/mac/lto/test.gyp (limited to 'third_party/python/gyp/test/mac/lto') diff --git a/third_party/python/gyp/test/mac/lto/asmfile.S b/third_party/python/gyp/test/mac/lto/asmfile.S new file mode 100644 index 0000000000..ea23759a39 --- /dev/null +++ b/third_party/python/gyp/test/mac/lto/asmfile.S @@ -0,0 +1,2 @@ +.globl _asfun +ret diff --git a/third_party/python/gyp/test/mac/lto/ccfile.cc b/third_party/python/gyp/test/mac/lto/ccfile.cc new file mode 100644 index 0000000000..2503afd7b1 --- /dev/null +++ b/third_party/python/gyp/test/mac/lto/ccfile.cc @@ -0,0 +1 @@ +void ccfun() {} diff --git a/third_party/python/gyp/test/mac/lto/cfile.c b/third_party/python/gyp/test/mac/lto/cfile.c new file mode 100644 index 0000000000..d02ef4b8d6 --- /dev/null +++ b/third_party/python/gyp/test/mac/lto/cfile.c @@ -0,0 +1 @@ +void cfun() {} diff --git a/third_party/python/gyp/test/mac/lto/mfile.m b/third_party/python/gyp/test/mac/lto/mfile.m new file mode 100644 index 0000000000..85b7d93afe --- /dev/null +++ b/third_party/python/gyp/test/mac/lto/mfile.m @@ -0,0 +1 @@ +void mfun() {} diff --git a/third_party/python/gyp/test/mac/lto/mmfile.mm b/third_party/python/gyp/test/mac/lto/mmfile.mm new file mode 100644 index 0000000000..beaa3595f8 --- /dev/null +++ b/third_party/python/gyp/test/mac/lto/mmfile.mm @@ -0,0 +1 @@ +void mmfun() {} diff --git a/third_party/python/gyp/test/mac/lto/test.gyp b/third_party/python/gyp/test/mac/lto/test.gyp new file mode 100644 index 0000000000..0a8e85183d --- /dev/null +++ b/third_party/python/gyp/test/mac/lto/test.gyp @@ -0,0 +1,35 @@ +# 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', + }, + }, + ], +} -- cgit v1.2.3