mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-01 12:57:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/ccfile.cc
Normal file
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/ccfile.cc
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifdef CFLAG
|
||||
#error CFLAG should not be set
|
||||
#endif
|
||||
|
||||
#ifndef CCFLAG
|
||||
#error CCFLAG should be set
|
||||
#endif
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef CFLAG
|
||||
#error CFLAG should be set
|
||||
#endif
|
||||
|
||||
#ifndef CCFLAG
|
||||
#error CCFLAG should be set
|
||||
#endif
|
||||
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/cfile.c
Normal file
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/cfile.c
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef CFLAG
|
||||
#error CFLAG should be set
|
||||
#endif
|
||||
|
||||
#ifdef CCFLAG
|
||||
#error CCFLAG should not be set
|
||||
#endif
|
||||
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/cppfile.cpp
Normal file
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/cppfile.cpp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifdef CFLAG
|
||||
#error CFLAG should not be set
|
||||
#endif
|
||||
|
||||
#ifndef CCFLAG
|
||||
#error CCFLAG should be set
|
||||
#endif
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef CFLAG
|
||||
#error CFLAG should be set
|
||||
#endif
|
||||
|
||||
#ifndef CCFLAG
|
||||
#error CCFLAG should be set
|
||||
#endif
|
||||
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/cxxfile.cxx
Normal file
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/cxxfile.cxx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifdef CFLAG
|
||||
#error CFLAG should not be set
|
||||
#endif
|
||||
|
||||
#ifndef CCFLAG
|
||||
#error CCFLAG should be set
|
||||
#endif
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef CFLAG
|
||||
#error CFLAG should be set
|
||||
#endif
|
||||
|
||||
#ifndef CCFLAG
|
||||
#error CCFLAG should be set
|
||||
#endif
|
||||
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/mfile.m
Normal file
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/mfile.m
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef CFLAG
|
||||
#error CFLAG should be set
|
||||
#endif
|
||||
|
||||
#ifdef CCFLAG
|
||||
#error CCFLAG should not be set
|
||||
#endif
|
||||
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/mmfile.mm
Normal file
7
media/webrtc/trunk/tools/gyp/test/mac/cflags/mmfile.mm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifdef CFLAG
|
||||
#error CFLAG should not be set
|
||||
#endif
|
||||
|
||||
#ifndef CCFLAG
|
||||
#error CCFLAG should be set
|
||||
#endif
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef CFLAG
|
||||
#error CFLAG should be set
|
||||
#endif
|
||||
|
||||
#ifndef CCFLAG
|
||||
#error CCFLAG should be set
|
||||
#endif
|
||||
132
media/webrtc/trunk/tools/gyp/test/mac/cflags/test.gyp
Normal file
132
media/webrtc/trunk/tools/gyp/test/mac/cflags/test.gyp
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
# Copyright (c) 2012 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': 'mytarget',
|
||||
'type': 'shared_library',
|
||||
'sources': [
|
||||
'cfile.c',
|
||||
'mfile.m',
|
||||
'ccfile.cc',
|
||||
'cppfile.cpp',
|
||||
'cxxfile.cxx',
|
||||
'mmfile.mm',
|
||||
],
|
||||
'xcode_settings': {
|
||||
# Normally, defines would go in 'defines' instead. This is just for
|
||||
# testing.
|
||||
'OTHER_CFLAGS': [
|
||||
'-DCFLAG',
|
||||
],
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
'-DCCFLAG',
|
||||
],
|
||||
'GCC_C_LANGUAGE_STANDARD': 'c99',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'mytarget_reuse_cflags',
|
||||
'type': 'shared_library',
|
||||
'sources': [
|
||||
'cfile.c',
|
||||
'mfile.m',
|
||||
'ccfile_withcflags.cc',
|
||||
'cppfile_withcflags.cpp',
|
||||
'cxxfile_withcflags.cxx',
|
||||
'mmfile_withcflags.mm',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': [
|
||||
'-DCFLAG',
|
||||
],
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
'$OTHER_CFLAGS',
|
||||
'-DCCFLAG',
|
||||
],
|
||||
# This is a C-only flag, to check these don't get added to C++ files.
|
||||
'GCC_C_LANGUAGE_STANDARD': 'c99',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'mytarget_inherit_cflags',
|
||||
'type': 'shared_library',
|
||||
'sources': [
|
||||
'cfile.c',
|
||||
'mfile.m',
|
||||
'ccfile_withcflags.cc',
|
||||
'cppfile_withcflags.cpp',
|
||||
'cxxfile_withcflags.cxx',
|
||||
'mmfile_withcflags.mm',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': [
|
||||
'-DCFLAG',
|
||||
],
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
'$inherited',
|
||||
'-DCCFLAG',
|
||||
],
|
||||
'GCC_C_LANGUAGE_STANDARD': 'c99',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'mytarget_inherit_cflags_parens',
|
||||
'type': 'shared_library',
|
||||
'sources': [
|
||||
'cfile.c',
|
||||
'mfile.m',
|
||||
'ccfile_withcflags.cc',
|
||||
'cppfile_withcflags.cpp',
|
||||
'cxxfile_withcflags.cxx',
|
||||
'mmfile_withcflags.mm',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': [
|
||||
'-DCFLAG',
|
||||
],
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
'$(inherited)',
|
||||
'-DCCFLAG',
|
||||
],
|
||||
'GCC_C_LANGUAGE_STANDARD': 'c99',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'mytarget_inherit_cflags_braces',
|
||||
'type': 'shared_library',
|
||||
'sources': [
|
||||
'cfile.c',
|
||||
'mfile.m',
|
||||
'ccfile_withcflags.cc',
|
||||
'cppfile_withcflags.cpp',
|
||||
'cxxfile_withcflags.cxx',
|
||||
'mmfile_withcflags.mm',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': [
|
||||
'-DCFLAG',
|
||||
],
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
'${inherited}',
|
||||
'-DCCFLAG',
|
||||
],
|
||||
'GCC_C_LANGUAGE_STANDARD': 'c99',
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'ansi_standard',
|
||||
'type': 'shared_library',
|
||||
'sources': [
|
||||
'cfile.c',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': [
|
||||
'-DCFLAG',
|
||||
],
|
||||
'GCC_C_LANGUAGE_STANDARD': 'ansi',
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue