gfx/2d/gfx2d.vcxproj

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
michael@0 3 <ItemGroup Label="ProjectConfigurations">
michael@0 4 <ProjectConfiguration Include="Debug|Win32">
michael@0 5 <Configuration>Debug</Configuration>
michael@0 6 <Platform>Win32</Platform>
michael@0 7 </ProjectConfiguration>
michael@0 8 <ProjectConfiguration Include="Release|Win32">
michael@0 9 <Configuration>Release</Configuration>
michael@0 10 <Platform>Win32</Platform>
michael@0 11 </ProjectConfiguration>
michael@0 12 </ItemGroup>
michael@0 13 <PropertyGroup Label="Globals">
michael@0 14 <Keyword>Win32Proj</Keyword>
michael@0 15 </PropertyGroup>
michael@0 16 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
michael@0 17 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
michael@0 18 <ConfigurationType>StaticLibrary</ConfigurationType>
michael@0 19 <UseDebugLibraries>true</UseDebugLibraries>
michael@0 20 </PropertyGroup>
michael@0 21 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
michael@0 22 <ConfigurationType>StaticLibrary</ConfigurationType>
michael@0 23 <UseDebugLibraries>false</UseDebugLibraries>
michael@0 24 </PropertyGroup>
michael@0 25 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
michael@0 26 <ImportGroup Label="ExtensionSettings">
michael@0 27 </ImportGroup>
michael@0 28 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
michael@0 29 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
michael@0 30 </ImportGroup>
michael@0 31 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
michael@0 32 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
michael@0 33 </ImportGroup>
michael@0 34 <PropertyGroup Label="UserMacros" />
michael@0 35 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
michael@0 36 <LinkIncremental>true</LinkIncremental>
michael@0 37 <ExecutablePath>$(DXSDK_DIR)\Utilities\bin\x86;$(ExecutablePath)</ExecutablePath>
michael@0 38 <IncludePath>$(ProjectDir);$(IncludePath)</IncludePath>
michael@0 39 </PropertyGroup>
michael@0 40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
michael@0 41 <LinkIncremental>true</LinkIncremental>
michael@0 42 </PropertyGroup>
michael@0 43 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
michael@0 44 <ClCompile>
michael@0 45 <PreprocessorDefinitions>USE_SSE2;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions);GFX_LOG_DEBUG;GFX_LOG_WARNING;MFBT_STAND_ALONE;XP_WIN</PreprocessorDefinitions>
michael@0 46 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
michael@0 47 <WarningLevel>Level3</WarningLevel>
michael@0 48 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
michael@0 49 <Optimization>Disabled</Optimization>
michael@0 50 </ClCompile>
michael@0 51 <Link>
michael@0 52 <TargetMachine>MachineX86</TargetMachine>
michael@0 53 <GenerateDebugInformation>true</GenerateDebugInformation>
michael@0 54 <SubSystem>Windows</SubSystem>
michael@0 55 <EntryPointSymbol>
michael@0 56 </EntryPointSymbol>
michael@0 57 </Link>
michael@0 58 <PreBuildEvent>
michael@0 59 <Command>xcopy $(ProjectDir)..\..\mfbt\*.h mozilla\ /Y</Command>
michael@0 60 <Message>Copying MFBT files</Message>
michael@0 61 </PreBuildEvent>
michael@0 62 </ItemDefinitionGroup>
michael@0 63 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
michael@0 64 <ClCompile>
michael@0 65 <PreprocessorDefinitions>USE_SSE2;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
michael@0 66 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
michael@0 67 <WarningLevel>Level3</WarningLevel>
michael@0 68 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
michael@0 69 <AdditionalIncludeDirectories>./</AdditionalIncludeDirectories>
michael@0 70 </ClCompile>
michael@0 71 <Link>
michael@0 72 <TargetMachine>MachineX86</TargetMachine>
michael@0 73 <GenerateDebugInformation>true</GenerateDebugInformation>
michael@0 74 <SubSystem>Windows</SubSystem>
michael@0 75 <EnableCOMDATFolding>true</EnableCOMDATFolding>
michael@0 76 <OptimizeReferences>true</OptimizeReferences>
michael@0 77 </Link>
michael@0 78 </ItemDefinitionGroup>
michael@0 79 <ItemGroup>
michael@0 80 <ClInclude Include="2D.h" />
michael@0 81 <ClInclude Include="BaseMargin.h" />
michael@0 82 <ClInclude Include="BasePoint.h" />
michael@0 83 <ClInclude Include="BaseRect.h" />
michael@0 84 <ClInclude Include="BaseSize.h" />
michael@0 85 <ClInclude Include="DrawEventRecorder.h" />
michael@0 86 <ClInclude Include="DrawTargetD2D.h" />
michael@0 87 <ClInclude Include="DrawTargetDual.h" />
michael@0 88 <ClInclude Include="DrawTargetRecording.h" />
michael@0 89 <ClInclude Include="GradientStopsD2D.h" />
michael@0 90 <ClInclude Include="HelpersD2D.h" />
michael@0 91 <ClInclude Include="ImageScaling.h" />
michael@0 92 <ClInclude Include="Logging.h" />
michael@0 93 <ClInclude Include="Matrix.h" />
michael@0 94 <ClInclude Include="PathD2D.h" />
michael@0 95 <ClInclude Include="PathHelpers.h" />
michael@0 96 <ClInclude Include="PathRecording.h" />
michael@0 97 <ClInclude Include="Point.h" />
michael@0 98 <ClInclude Include="RecordedEvent.h" />
michael@0 99 <ClInclude Include="RecordingTypes.h" />
michael@0 100 <ClInclude Include="Rect.h" />
michael@0 101 <ClInclude Include="ScaledFontBase.h" />
michael@0 102 <ClInclude Include="ScaledFontDWrite.h" />
michael@0 103 <ClInclude Include="SourceSurfaceD2D.h" />
michael@0 104 <ClInclude Include="SourceSurfaceD2DTarget.h" />
michael@0 105 <ClInclude Include="SourceSurfaceRawData.h" />
michael@0 106 <ClInclude Include="Tools.h" />
michael@0 107 <ClInclude Include="Types.h" />
michael@0 108 <ClInclude Include="UserData.h" />
michael@0 109 </ItemGroup>
michael@0 110 <ItemGroup>
michael@0 111 <ClCompile Include="DrawEventRecorder.cpp" />
michael@0 112 <ClCompile Include="DrawTargetD2D.cpp" />
michael@0 113 <ClCompile Include="DrawTargetDual.cpp" />
michael@0 114 <ClCompile Include="DrawTargetRecording.cpp" />
michael@0 115 <ClCompile Include="Factory.cpp" />
michael@0 116 <ClCompile Include="ImageScaling.cpp" />
michael@0 117 <ClCompile Include="ImageScalingSSE2.cpp" />
michael@0 118 <ClCompile Include="Matrix.cpp" />
michael@0 119 <ClCompile Include="PathD2D.cpp" />
michael@0 120 <ClCompile Include="PathRecording.cpp" />
michael@0 121 <ClCompile Include="RecordedEvent.cpp" />
michael@0 122 <ClCompile Include="ScaledFontBase.cpp" />
michael@0 123 <ClCompile Include="ScaledFontDWrite.cpp" />
michael@0 124 <ClCompile Include="SourceSurfaceD2D.cpp" />
michael@0 125 <ClCompile Include="SourceSurfaceD2DTarget.cpp" />
michael@0 126 <ClCompile Include="SourceSurfaceRawData.cpp" />
michael@0 127 </ItemGroup>
michael@0 128 <ItemGroup>
michael@0 129 <None Include="Makefile.in" />
michael@0 130 <CustomBuild Include="ShadersD2D.fx">
michael@0 131 <FileType>Document</FileType>
michael@0 132 <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">fxc /Tfx_4_0 /FhShadersD2D.h ShadersD2D.fx /Vn d2deffect</Command>
michael@0 133 <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">ShadersD2D.h</Outputs>
michael@0 134 </CustomBuild>
michael@0 135 </ItemGroup>
michael@0 136 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
michael@0 137 <ImportGroup Label="ExtensionTargets">
michael@0 138 </ImportGroup>
michael@0 139 </Project>

mercurial