mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 07:17:30 +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
14
media/webrtc/trunk/tools/gyp/test/msvs/props/AppName.props
Normal file
14
media/webrtc/trunk/tools/gyp/test/msvs/props/AppName.props
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="UserMacros">
|
||||
<AppName>Greet</AppName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<BuildMacro Include="AppName">
|
||||
<Value>$(AppName)</Value>
|
||||
</BuildMacro>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
11
media/webrtc/trunk/tools/gyp/test/msvs/props/AppName.vsprops
Normal file
11
media/webrtc/trunk/tools/gyp/test/msvs/props/AppName.vsprops
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="Common"
|
||||
>
|
||||
<UserMacro
|
||||
Name="AppName"
|
||||
Value="Greet"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
#!/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 props files are added by using a
|
||||
props file to set the name of the built executable.
|
||||
"""
|
||||
|
||||
import TestGyp
|
||||
|
||||
test = TestGyp.TestGyp(workdir='workarea_all', formats=['msvs'])
|
||||
|
||||
test.run_gyp('hello.gyp')
|
||||
|
||||
test.build('hello.gyp')
|
||||
|
||||
test.built_file_must_exist('Greet.exe')
|
||||
|
||||
test.pass_test()
|
||||
11
media/webrtc/trunk/tools/gyp/test/msvs/props/hello.c
Normal file
11
media/webrtc/trunk/tools/gyp/test/msvs/props/hello.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* 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;
|
||||
}
|
||||
22
media/webrtc/trunk/tools/gyp/test/msvs/props/hello.gyp
Normal file
22
media/webrtc/trunk/tools/gyp/test/msvs/props/hello.gyp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# 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',
|
||||
'product_name': '$(AppName)',
|
||||
'type': 'executable',
|
||||
'sources': [
|
||||
'hello.c',
|
||||
],
|
||||
'msvs_props': [
|
||||
'$(SolutionDir)AppName.vsprops'
|
||||
],
|
||||
'msbuild_props': [
|
||||
'$(SolutionDir)AppName.props'
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue