mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-02 13:27:33 +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
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# 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.
|
||||
|
||||
"""
|
||||
Verifies that uldi can be disabled on a per-project-reference basis in vs2010.
|
||||
"""
|
||||
|
||||
import TestGyp
|
||||
|
||||
test = TestGyp.TestGyp(formats=['msvs'], workdir='workarea_all')
|
||||
|
||||
test.run_gyp('hello.gyp')
|
||||
|
||||
if test.uses_msbuild:
|
||||
test.must_contain('hello.vcxproj', '<UseLibraryDependencyInputs>false')
|
||||
|
||||
test.pass_test()
|
||||
13
media/webrtc/trunk/tools/gyp/test/msvs/uldi2010/hello.c
Normal file
13
media/webrtc/trunk/tools/gyp/test/msvs/uldi2010/hello.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* 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. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
extern int hello2();
|
||||
|
||||
int main(void) {
|
||||
printf("Hello, world!\n");
|
||||
hello2();
|
||||
return 0;
|
||||
}
|
||||
26
media/webrtc/trunk/tools/gyp/test/msvs/uldi2010/hello.gyp
Normal file
26
media/webrtc/trunk/tools/gyp/test/msvs/uldi2010/hello.gyp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# 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': 'hello',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'hello.c',
|
||||
],
|
||||
'dependencies': [
|
||||
'hellolib',
|
||||
]
|
||||
},
|
||||
{
|
||||
'target_name': 'hellolib',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'hello2.c',
|
||||
],
|
||||
'msvs_2010_disable_uldi_when_referenced': 1,
|
||||
},
|
||||
],
|
||||
}
|
||||
10
media/webrtc/trunk/tools/gyp/test/msvs/uldi2010/hello2.c
Normal file
10
media/webrtc/trunk/tools/gyp/test/msvs/uldi2010/hello2.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* 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. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int hello2() {
|
||||
printf("Hello, two!\n");
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue