michael@0: # Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. michael@0: # Use of this source code is governed by a BSD-style license that can be michael@0: # found in the LICENSE file. michael@0: michael@0: { michael@0: 'variables': { michael@0: 'angle_code': 1, michael@0: }, michael@0: 'target_defaults': { michael@0: 'defines': [ michael@0: 'ANGLE_DISABLE_TRACE', michael@0: 'ANGLE_COMPILE_OPTIMIZATION_LEVEL=D3DCOMPILE_OPTIMIZATION_LEVEL1', michael@0: 'ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES={ TEXT("d3dcompiler_46.dll"), TEXT("d3dcompiler_43.dll") }', michael@0: ], michael@0: }, michael@0: 'targets': [ michael@0: { michael@0: 'target_name': 'preprocessor', michael@0: 'type': 'static_library', michael@0: 'include_dirs': [ michael@0: ], michael@0: 'sources': [ michael@0: 'compiler/preprocessor/DiagnosticsBase.cpp', michael@0: 'compiler/preprocessor/DiagnosticsBase.h', michael@0: 'compiler/preprocessor/DirectiveHandlerBase.cpp', michael@0: 'compiler/preprocessor/DirectiveHandlerBase.h', michael@0: 'compiler/preprocessor/DirectiveParser.cpp', michael@0: 'compiler/preprocessor/DirectiveParser.h', michael@0: 'compiler/preprocessor/ExpressionParser.cpp', michael@0: 'compiler/preprocessor/ExpressionParser.h', michael@0: 'compiler/preprocessor/Input.cpp', michael@0: 'compiler/preprocessor/Input.h', michael@0: 'compiler/preprocessor/length_limits.h', michael@0: 'compiler/preprocessor/Lexer.cpp', michael@0: 'compiler/preprocessor/Lexer.h', michael@0: 'compiler/preprocessor/Macro.cpp', michael@0: 'compiler/preprocessor/Macro.h', michael@0: 'compiler/preprocessor/MacroExpander.cpp', michael@0: 'compiler/preprocessor/MacroExpander.h', michael@0: 'compiler/preprocessor/numeric_lex.h', michael@0: 'compiler/preprocessor/pp_utils.h', michael@0: 'compiler/preprocessor/Preprocessor.cpp', michael@0: 'compiler/preprocessor/Preprocessor.h', michael@0: 'compiler/preprocessor/SourceLocation.h', michael@0: 'compiler/preprocessor/Token.cpp', michael@0: 'compiler/preprocessor/Token.h', michael@0: 'compiler/preprocessor/Tokenizer.cpp', michael@0: 'compiler/preprocessor/Tokenizer.h', michael@0: ], michael@0: # TODO(jschuh): http://crbug.com/167187 michael@0: 'msvs_disabled_warnings': [ michael@0: 4267, michael@0: ], michael@0: }, michael@0: { michael@0: 'target_name': 'translator_common', michael@0: 'type': 'static_library', michael@0: 'dependencies': ['preprocessor'], michael@0: 'include_dirs': [ michael@0: '.', michael@0: '../include', michael@0: ], michael@0: 'defines': [ michael@0: 'COMPILER_IMPLEMENTATION', michael@0: ], michael@0: 'sources': [ michael@0: 'compiler/BaseTypes.h', michael@0: 'compiler/BuiltInFunctionEmulator.cpp', michael@0: 'compiler/BuiltInFunctionEmulator.h', michael@0: 'compiler/Common.h', michael@0: 'compiler/Compiler.cpp', michael@0: 'compiler/ConstantUnion.h', michael@0: 'compiler/debug.cpp', michael@0: 'compiler/debug.h', michael@0: 'compiler/DetectCallDepth.cpp', michael@0: 'compiler/DetectCallDepth.h', michael@0: 'compiler/Diagnostics.h', michael@0: 'compiler/Diagnostics.cpp', michael@0: 'compiler/DirectiveHandler.h', michael@0: 'compiler/DirectiveHandler.cpp', michael@0: 'compiler/ExtensionBehavior.h', michael@0: 'compiler/ForLoopUnroll.cpp', michael@0: 'compiler/ForLoopUnroll.h', michael@0: 'compiler/glslang.h', michael@0: 'compiler/glslang_lex.cpp', michael@0: 'compiler/glslang_tab.cpp', michael@0: 'compiler/glslang_tab.h', michael@0: 'compiler/HashNames.h', michael@0: 'compiler/InfoSink.cpp', michael@0: 'compiler/InfoSink.h', michael@0: 'compiler/Initialize.cpp', michael@0: 'compiler/Initialize.h', michael@0: 'compiler/InitializeDll.cpp', michael@0: 'compiler/InitializeDll.h', michael@0: 'compiler/InitializeGlobals.h', michael@0: 'compiler/InitializeParseContext.cpp', michael@0: 'compiler/InitializeParseContext.h', michael@0: 'compiler/Intermediate.cpp', michael@0: 'compiler/intermediate.h', michael@0: 'compiler/intermOut.cpp', michael@0: 'compiler/IntermTraverse.cpp', michael@0: 'compiler/localintermediate.h', michael@0: 'compiler/MapLongVariableNames.cpp', michael@0: 'compiler/MapLongVariableNames.h', michael@0: 'compiler/MMap.h', michael@0: 'compiler/osinclude.h', michael@0: 'compiler/parseConst.cpp', michael@0: 'compiler/ParseHelper.cpp', michael@0: 'compiler/ParseHelper.h', michael@0: 'compiler/PoolAlloc.cpp', michael@0: 'compiler/PoolAlloc.h', michael@0: 'compiler/QualifierAlive.cpp', michael@0: 'compiler/QualifierAlive.h', michael@0: 'compiler/RemoveTree.cpp', michael@0: 'compiler/RemoveTree.h', michael@0: 'compiler/RenameFunction.h', michael@0: 'compiler/ShHandle.h', michael@0: 'compiler/SymbolTable.cpp', michael@0: 'compiler/SymbolTable.h', michael@0: 'compiler/Types.h', michael@0: 'compiler/Uniform.cpp', michael@0: 'compiler/Uniform.h', michael@0: 'compiler/util.cpp', michael@0: 'compiler/util.h', michael@0: 'compiler/ValidateLimitations.cpp', michael@0: 'compiler/ValidateLimitations.h', michael@0: 'compiler/VariableInfo.cpp', michael@0: 'compiler/VariableInfo.h', michael@0: 'compiler/VariablePacker.cpp', michael@0: 'compiler/VariablePacker.h', michael@0: # Dependency graph michael@0: 'compiler/depgraph/DependencyGraph.cpp', michael@0: 'compiler/depgraph/DependencyGraph.h', michael@0: 'compiler/depgraph/DependencyGraphBuilder.cpp', michael@0: 'compiler/depgraph/DependencyGraphBuilder.h', michael@0: 'compiler/depgraph/DependencyGraphOutput.cpp', michael@0: 'compiler/depgraph/DependencyGraphOutput.h', michael@0: 'compiler/depgraph/DependencyGraphTraverse.cpp', michael@0: # Timing restrictions michael@0: 'compiler/timing/RestrictFragmentShaderTiming.cpp', michael@0: 'compiler/timing/RestrictFragmentShaderTiming.h', michael@0: 'compiler/timing/RestrictVertexShaderTiming.cpp', michael@0: 'compiler/timing/RestrictVertexShaderTiming.h', michael@0: 'third_party/compiler/ArrayBoundsClamper.cpp', michael@0: 'third_party/compiler/ArrayBoundsClamper.h', michael@0: ], michael@0: 'conditions': [ michael@0: ['OS=="win"', { michael@0: # TODO(jschuh): http://crbug.com/167187 size_t -> int michael@0: 'msvs_disabled_warnings': [ 4267 ], michael@0: 'sources': ['compiler/ossource_win.cpp'], michael@0: }, { # else: posix michael@0: 'sources': ['compiler/ossource_posix.cpp'], michael@0: }], michael@0: ], michael@0: }, michael@0: { michael@0: 'target_name': 'translator_glsl', michael@0: 'type': '<(component)', michael@0: 'dependencies': ['translator_common'], michael@0: 'include_dirs': [ michael@0: '.', michael@0: '../include', michael@0: ], michael@0: 'defines': [ michael@0: 'COMPILER_IMPLEMENTATION', michael@0: ], michael@0: 'sources': [ michael@0: 'compiler/CodeGenGLSL.cpp', michael@0: 'compiler/OutputESSL.cpp', michael@0: 'compiler/OutputESSL.h', michael@0: 'compiler/OutputGLSLBase.cpp', michael@0: 'compiler/OutputGLSLBase.h', michael@0: 'compiler/OutputGLSL.cpp', michael@0: 'compiler/OutputGLSL.h', michael@0: 'compiler/ShaderLang.cpp', michael@0: 'compiler/TranslatorESSL.cpp', michael@0: 'compiler/TranslatorESSL.h', michael@0: 'compiler/TranslatorGLSL.cpp', michael@0: 'compiler/TranslatorGLSL.h', michael@0: 'compiler/VersionGLSL.cpp', michael@0: 'compiler/VersionGLSL.h', michael@0: ], michael@0: # TODO(jschuh): http://crbug.com/167187 size_t -> int michael@0: 'msvs_disabled_warnings': [ 4267 ], michael@0: }, michael@0: ], michael@0: 'conditions': [ michael@0: ['OS=="win"', { michael@0: 'targets': [ michael@0: { michael@0: 'target_name': 'translator_hlsl', michael@0: 'type': '<(component)', michael@0: 'dependencies': ['translator_common'], michael@0: 'include_dirs': [ michael@0: '.', michael@0: '../include', michael@0: ], michael@0: 'defines': [ michael@0: 'COMPILER_IMPLEMENTATION', michael@0: ], michael@0: 'sources': [ michael@0: 'compiler/ShaderLang.cpp', michael@0: 'compiler/DetectDiscontinuity.cpp', michael@0: 'compiler/DetectDiscontinuity.h', michael@0: 'compiler/CodeGenHLSL.cpp', michael@0: 'compiler/OutputHLSL.cpp', michael@0: 'compiler/OutputHLSL.h', michael@0: 'compiler/TranslatorHLSL.cpp', michael@0: 'compiler/TranslatorHLSL.h', michael@0: 'compiler/UnfoldShortCircuit.cpp', michael@0: 'compiler/UnfoldShortCircuit.h', michael@0: 'compiler/SearchSymbol.cpp', michael@0: 'compiler/SearchSymbol.h', michael@0: ], michael@0: # TODO(jschuh): http://crbug.com/167187 size_t -> int michael@0: 'msvs_disabled_warnings': [ 4267 ], michael@0: }, michael@0: { michael@0: 'target_name': 'libGLESv2', michael@0: 'type': 'shared_library', michael@0: 'dependencies': ['translator_hlsl'], michael@0: 'include_dirs': [ michael@0: '.', michael@0: '../include', michael@0: 'libGLESv2', michael@0: ], michael@0: 'sources': [ michael@0: 'third_party/murmurhash/MurmurHash3.h', michael@0: 'third_party/murmurhash/MurmurHash3.cpp', michael@0: 'common/angleutils.h', michael@0: 'common/debug.cpp', michael@0: 'common/debug.h', michael@0: 'common/RefCountObject.cpp', michael@0: 'common/RefCountObject.h', michael@0: 'common/version.h', michael@0: 'libGLESv2/precompiled.h', michael@0: 'libGLESv2/precompiled.cpp', michael@0: 'libGLESv2/BinaryStream.h', michael@0: 'libGLESv2/Buffer.cpp', michael@0: 'libGLESv2/Buffer.h', michael@0: 'libGLESv2/constants.h', michael@0: 'libGLESv2/Context.cpp', michael@0: 'libGLESv2/Context.h', michael@0: 'libGLESv2/angletypes.h', michael@0: 'libGLESv2/Fence.cpp', michael@0: 'libGLESv2/Fence.h', michael@0: 'libGLESv2/Float16ToFloat32.cpp', michael@0: 'libGLESv2/Framebuffer.cpp', michael@0: 'libGLESv2/Framebuffer.h', michael@0: 'libGLESv2/HandleAllocator.cpp', michael@0: 'libGLESv2/HandleAllocator.h', michael@0: 'libGLESv2/libGLESv2.cpp', michael@0: 'libGLESv2/libGLESv2.def', michael@0: 'libGLESv2/libGLESv2.rc', michael@0: 'libGLESv2/main.cpp', michael@0: 'libGLESv2/main.h', michael@0: 'libGLESv2/mathutil.h', michael@0: 'libGLESv2/Program.cpp', michael@0: 'libGLESv2/Program.h', michael@0: 'libGLESv2/ProgramBinary.cpp', michael@0: 'libGLESv2/ProgramBinary.h', michael@0: 'libGLESv2/Query.h', michael@0: 'libGLESv2/Query.cpp', michael@0: 'libGLESv2/Renderbuffer.cpp', michael@0: 'libGLESv2/Renderbuffer.h', michael@0: 'libGLESv2/renderer/Blit.cpp', michael@0: 'libGLESv2/renderer/Blit.h', michael@0: 'libGLESv2/renderer/BufferStorage.h', michael@0: 'libGLESv2/renderer/BufferStorage.cpp', michael@0: 'libGLESv2/renderer/BufferStorage9.cpp', michael@0: 'libGLESv2/renderer/BufferStorage9.h', michael@0: 'libGLESv2/renderer/BufferStorage11.cpp', michael@0: 'libGLESv2/renderer/BufferStorage11.h', michael@0: 'libGLESv2/renderer/FenceImpl.h', michael@0: 'libGLESv2/renderer/Fence9.cpp', michael@0: 'libGLESv2/renderer/Fence9.h', michael@0: 'libGLESv2/renderer/Fence11.cpp', michael@0: 'libGLESv2/renderer/Fence11.h', michael@0: 'libGLESv2/renderer/generatemip.h', michael@0: 'libGLESv2/renderer/Image.cpp', michael@0: 'libGLESv2/renderer/Image.h', michael@0: 'libGLESv2/renderer/Image11.cpp', michael@0: 'libGLESv2/renderer/Image11.h', michael@0: 'libGLESv2/renderer/Image9.cpp', michael@0: 'libGLESv2/renderer/Image9.h', michael@0: 'libGLESv2/renderer/ImageSSE2.cpp', michael@0: 'libGLESv2/renderer/IndexBuffer.cpp', michael@0: 'libGLESv2/renderer/IndexBuffer.h', michael@0: 'libGLESv2/renderer/IndexBuffer9.cpp', michael@0: 'libGLESv2/renderer/IndexBuffer9.h', michael@0: 'libGLESv2/renderer/IndexBuffer11.cpp', michael@0: 'libGLESv2/renderer/IndexBuffer11.h', michael@0: 'libGLESv2/renderer/IndexDataManager.cpp', michael@0: 'libGLESv2/renderer/IndexDataManager.h', michael@0: 'libGLESv2/renderer/IndexRangeCache.cpp', michael@0: 'libGLESv2/renderer/IndexRangeCache.h', michael@0: 'libGLESv2/renderer/InputLayoutCache.cpp', michael@0: 'libGLESv2/renderer/InputLayoutCache.h', michael@0: 'libGLESv2/renderer/QueryImpl.h', michael@0: 'libGLESv2/renderer/Query9.cpp', michael@0: 'libGLESv2/renderer/Query9.h', michael@0: 'libGLESv2/renderer/Query11.cpp', michael@0: 'libGLESv2/renderer/Query11.h', michael@0: 'libGLESv2/renderer/Renderer.cpp', michael@0: 'libGLESv2/renderer/Renderer.h', michael@0: 'libGLESv2/renderer/Renderer11.cpp', michael@0: 'libGLESv2/renderer/Renderer11.h', michael@0: 'libGLESv2/renderer/renderer11_utils.cpp', michael@0: 'libGLESv2/renderer/renderer11_utils.h', michael@0: 'libGLESv2/renderer/Renderer9.cpp', michael@0: 'libGLESv2/renderer/Renderer9.h', michael@0: 'libGLESv2/renderer/renderer9_utils.cpp', michael@0: 'libGLESv2/renderer/renderer9_utils.h', michael@0: 'libGLESv2/renderer/RenderStateCache.cpp', michael@0: 'libGLESv2/renderer/RenderStateCache.h', michael@0: 'libGLESv2/renderer/RenderTarget.h', michael@0: 'libGLESv2/renderer/RenderTarget11.h', michael@0: 'libGLESv2/renderer/RenderTarget11.cpp', michael@0: 'libGLESv2/renderer/RenderTarget9.h', michael@0: 'libGLESv2/renderer/RenderTarget9.cpp', michael@0: 'libGLESv2/renderer/ShaderCache.h', michael@0: 'libGLESv2/renderer/ShaderExecutable.h', michael@0: 'libGLESv2/renderer/ShaderExecutable9.cpp', michael@0: 'libGLESv2/renderer/ShaderExecutable9.h', michael@0: 'libGLESv2/renderer/ShaderExecutable11.cpp', michael@0: 'libGLESv2/renderer/ShaderExecutable11.h', michael@0: 'libGLESv2/renderer/SwapChain.h', michael@0: 'libGLESv2/renderer/SwapChain9.cpp', michael@0: 'libGLESv2/renderer/SwapChain9.h', michael@0: 'libGLESv2/renderer/SwapChain11.cpp', michael@0: 'libGLESv2/renderer/SwapChain11.h', michael@0: 'libGLESv2/renderer/TextureStorage.cpp', michael@0: 'libGLESv2/renderer/TextureStorage.h', michael@0: 'libGLESv2/renderer/TextureStorage11.cpp', michael@0: 'libGLESv2/renderer/TextureStorage11.h', michael@0: 'libGLESv2/renderer/TextureStorage9.cpp', michael@0: 'libGLESv2/renderer/TextureStorage9.h', michael@0: 'libGLESv2/renderer/VertexBuffer.cpp', michael@0: 'libGLESv2/renderer/VertexBuffer.h', michael@0: 'libGLESv2/renderer/VertexBuffer9.cpp', michael@0: 'libGLESv2/renderer/VertexBuffer9.h', michael@0: 'libGLESv2/renderer/VertexBuffer11.cpp', michael@0: 'libGLESv2/renderer/VertexBuffer11.h', michael@0: 'libGLESv2/renderer/vertexconversion.h', michael@0: 'libGLESv2/renderer/VertexDataManager.cpp', michael@0: 'libGLESv2/renderer/VertexDataManager.h', michael@0: 'libGLESv2/renderer/VertexDeclarationCache.cpp', michael@0: 'libGLESv2/renderer/VertexDeclarationCache.h', michael@0: 'libGLESv2/ResourceManager.cpp', michael@0: 'libGLESv2/ResourceManager.h', michael@0: 'libGLESv2/Shader.cpp', michael@0: 'libGLESv2/Shader.h', michael@0: 'libGLESv2/Texture.cpp', michael@0: 'libGLESv2/Texture.h', michael@0: 'libGLESv2/Uniform.cpp', michael@0: 'libGLESv2/Uniform.h', michael@0: 'libGLESv2/utilities.cpp', michael@0: 'libGLESv2/utilities.h', michael@0: ], michael@0: # TODO(jschuh): http://crbug.com/167187 size_t -> int michael@0: 'msvs_disabled_warnings': [ 4267 ], michael@0: 'msvs_settings': { michael@0: 'VCLinkerTool': { michael@0: 'AdditionalDependencies': [ michael@0: 'd3d9.lib', michael@0: 'dxguid.lib', michael@0: ], michael@0: } michael@0: }, michael@0: }, michael@0: { michael@0: 'target_name': 'libEGL', michael@0: 'type': 'shared_library', michael@0: 'dependencies': ['libGLESv2'], michael@0: 'include_dirs': [ michael@0: '.', michael@0: '../include', michael@0: 'libGLESv2', michael@0: ], michael@0: 'sources': [ michael@0: 'common/angleutils.h', michael@0: 'common/debug.cpp', michael@0: 'common/debug.h', michael@0: 'common/RefCountObject.cpp', michael@0: 'common/RefCountObject.h', michael@0: 'common/version.h', michael@0: 'libEGL/Config.cpp', michael@0: 'libEGL/Config.h', michael@0: 'libEGL/Display.cpp', michael@0: 'libEGL/Display.h', michael@0: 'libEGL/libEGL.cpp', michael@0: 'libEGL/libEGL.def', michael@0: 'libEGL/libEGL.rc', michael@0: 'libEGL/main.cpp', michael@0: 'libEGL/main.h', michael@0: 'libEGL/Surface.cpp', michael@0: 'libEGL/Surface.h', michael@0: ], michael@0: # TODO(jschuh): http://crbug.com/167187 size_t -> int michael@0: 'msvs_disabled_warnings': [ 4267 ], michael@0: 'msvs_settings': { michael@0: 'VCLinkerTool': { michael@0: 'AdditionalDependencies': [ michael@0: 'd3d9.lib', michael@0: ], michael@0: } michael@0: }, michael@0: }, michael@0: ], michael@0: }], michael@0: ], michael@0: } michael@0: michael@0: # Local Variables: michael@0: # tab-width:2 michael@0: # indent-tabs-mode:nil michael@0: # End: michael@0: # vim: set expandtab tabstop=2 shiftwidth=2: michael@0: # Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. michael@0: # Use of this source code is governed by a BSD-style license that can be michael@0: # found in the LICENSE file.