mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-03 05:47:29 +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,27 @@
|
|||
#!/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 simplest-possible build of a "Hello, world!" program
|
||||
using the default build target.
|
||||
"""
|
||||
|
||||
import TestGyp
|
||||
|
||||
test = TestGyp.TestGyp(workdir='workarea_default')
|
||||
|
||||
if test.format == 'xcode-ninja':
|
||||
# The xcode-ninja generator doesn't support --build
|
||||
# cf. https://code.google.com/p/gyp/issues/detail?id=453
|
||||
test.skip_test()
|
||||
|
||||
test.run_gyp('hello.gyp', '--build=Default')
|
||||
|
||||
test.run_built_executable('hello', stdout="Hello, world!\n")
|
||||
|
||||
test.up_to_date('hello.gyp', test.DEFAULT)
|
||||
|
||||
test.pass_test()
|
||||
13
media/webrtc/trunk/tools/gyp/test/build-option/hello.c
Normal file
13
media/webrtc/trunk/tools/gyp/test/build-option/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>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("Hello, world!\n");
|
||||
return 0;
|
||||
}
|
||||
15
media/webrtc/trunk/tools/gyp/test/build-option/hello.gyp
Normal file
15
media/webrtc/trunk/tools/gyp/test/build-option/hello.gyp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2009 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',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue