mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 23:37: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
9
media/webrtc/trunk/tools/gyp/test/relative/foo/a/a.cc
Normal file
9
media/webrtc/trunk/tools/gyp/test/relative/foo/a/a.cc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Copyright (c) 2011 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.
|
||||
*/
|
||||
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
||||
13
media/webrtc/trunk/tools/gyp/test/relative/foo/a/a.gyp
Normal file
13
media/webrtc/trunk/tools/gyp/test/relative/foo/a/a.gyp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'a',
|
||||
'type': 'executable',
|
||||
'sources': ['a.cc'],
|
||||
'dependencies': [
|
||||
'../../foo/b/b.gyp:b',
|
||||
'c/c.gyp:c',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
9
media/webrtc/trunk/tools/gyp/test/relative/foo/a/c/c.cc
Normal file
9
media/webrtc/trunk/tools/gyp/test/relative/foo/a/c/c.cc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Copyright (c) 2011 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.
|
||||
*/
|
||||
|
||||
int func() {
|
||||
return 0;
|
||||
}
|
||||
12
media/webrtc/trunk/tools/gyp/test/relative/foo/a/c/c.gyp
Normal file
12
media/webrtc/trunk/tools/gyp/test/relative/foo/a/c/c.gyp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'c',
|
||||
'type': 'static_library',
|
||||
'sources': ['c.cc'],
|
||||
'dependencies': [
|
||||
'../../b/b.gyp:b',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
9
media/webrtc/trunk/tools/gyp/test/relative/foo/b/b.cc
Normal file
9
media/webrtc/trunk/tools/gyp/test/relative/foo/b/b.cc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Copyright (c) 2011 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.
|
||||
*/
|
||||
|
||||
int func2() {
|
||||
return 0;
|
||||
}
|
||||
9
media/webrtc/trunk/tools/gyp/test/relative/foo/b/b.gyp
Normal file
9
media/webrtc/trunk/tools/gyp/test/relative/foo/b/b.gyp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'b',
|
||||
'type': 'static_library',
|
||||
'sources': ['b.cc'],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Copyright (c) 2011 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 simplest-possible build of a "Hello, world!" program
|
||||
using the default build target.
|
||||
"""
|
||||
|
||||
import TestGyp
|
||||
|
||||
test = TestGyp.TestGyp(workdir='workarea_default', formats=['msvs'])
|
||||
|
||||
# Run from down in foo.
|
||||
test.run_gyp('a.gyp', chdir='foo/a')
|
||||
sln = test.workpath('foo/a/a.sln')
|
||||
sln_data = open(sln, 'rb').read()
|
||||
vcproj = sln_data.count('b.vcproj')
|
||||
vcxproj = sln_data.count('b.vcxproj')
|
||||
if (vcproj, vcxproj) not in [(1, 0), (0, 1)]:
|
||||
test.fail_test()
|
||||
|
||||
test.pass_test()
|
||||
Loading…
Add table
Add a link
Reference in a new issue