aboutsummaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2014-08-06Export shader variables from the translator DLL.Jamie Madill
This will allow us to use these methods when compiling the translator as a DLL. BUG=angle:466,697 Change-Id: Ic9169fb7c69fe0bf5f98addfc128a30ee6b2159d Reviewed-on: https://chromium-review.googlesource.com/208752 Tested-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Zhenyao Mo <zmo@chromium.org>
2014-08-04Allow gyp to generate 64 bit project files for VS2012.Geoff Lang
Visual Studio 2010 express was the last version to not support 64 bit configurations. BUG=angle:714 Change-Id: Ie4383a437a98cecfc82702e766a460ade96062f8 Reviewed-on: https://chromium-review.googlesource.com/210824 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
2014-07-24Remove try-catch blocks from entry points.Geoff Lang
BUG=angle:700 Change-Id: I036901c397053a75677923304d7e1ed697c82aa2 Reviewed-on: https://chromium-review.googlesource.com/209570 Reviewed-by: <ehsan@mozilla.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
2014-06-11Refactor platform related functionality into platform.h and tls.h.Geoff Lang
Since libGLESv2 and libEGL will eventually be cross platform, it will be useful to have platform defines and TLS functions that work everywhere. BUG=angle:664 Change-Id: Ia357925a0992d82e8b446d88d32a1984d319e6e8 Reviewed-on: https://chromium-review.googlesource.com/202133 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
2014-05-28Fix warnings about unreferenced local variables.Geoff Lang
BUG=skia:2272 Change-Id: Ibf03efedc662fea2a389ad2dc5af5b7b014181a8 Reviewed-on: https://chromium-review.googlesource.com/201900 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
2014-05-23Automate the DEQP tests by wrapping them in the gtest suite.Geoff Lang
BUG=angle:497 Change-Id: If0a72c053bccccc4369ec78dd70173bbadb1be7b Reviewed-on: https://chromium-review.googlesource.com/200044 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
2014-05-01Fixes to the standalone Linux build.Jamie Madill
Several small build errors present on Linux cropped up due to different warning flags and platform quirks. BUG=angle:627 Change-Id: If8f651cacf05bb06ecb129be47b12729ccc3f69b Reviewed-on: https://chromium-review.googlesource.com/197724 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>
2014-04-22Re-enable RTTI and fix compilation errors.Geoff Lang
BUG=angle:616 Change-Id: I964ddc4a3d51d5f202608e3162edb684290cbc6a Reviewed-on: https://chromium-review.googlesource.com/195731 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
2014-04-17Remove forced windows version macros.Geoff Lang
These macros were causing conflicts when chrome redefines them and since we don't rely on any specific windows versions, we can remove them. BUG=angle:568 Change-Id: Ie6bf31d03cea07bf2a71ffa6d815dad2b4d204f8 Reviewed-on: https://chromium-review.googlesource.com/195364 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
2014-04-09Add a common include in the project definitions.Geoff Lang
Any projects that may be included by gyp files outside our project (chrome or skia) may not have the same defines or ignored compiler warnings. To make sure that we can always compile, each project now includes a common file with all required definitions and gyp variables. BUG=angleproject:583 Change-Id: I702bee975d0554c51bfa03981920dfb295ffbafa Reviewed-on: https://chromium-review.googlesource.com/189458 Reviewed-by: Zhenyao Mo <zmo@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
2014-02-25Add in gypi scripts for preprocessor and compiler tests.Jamie Madill
Chromium directly includes our .gypi files in its own standalone tests, hence we need to keep files where it looks for includes. Previously we had removed the gypi files with the new project structures. BUG=angle:568 Change-Id: I2cf87bdd3d9635ca8e58b991b9a3e55e00261851 Reviewed-on: https://chromium-review.googlesource.com/187650 Reviewed-by: Zhenyao Mo <zmo@chromium.org> Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>
2014-02-20Fix standalone Linux build.Jamie Madill
We can include Makefiles in the ignore list, and need a few extra flags to fix the GCC build on Linux. BUG=angle:563 Change-Id: Iacd386359f0c0d9bb87ddc544dd8b4da2cb8fee0 Reviewed-on: https://chromium-review.googlesource.com/186902 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/186989
2014-02-19Don't include symbols in release builds of the public projects.Geoff Lang
Change-Id: Ic21ca93133b6234d2756507ab43252071f04717d Reviewed-on: https://chromium-review.googlesource.com/185691 Tested-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>
2014-01-10Fix remaining discrepencies between master and es3proto project files.Geoff Lang
Change-Id: I335c9346ac268beab25184e2b18ccfdd0b15c7b1 Reviewed-on: https://chromium-review.googlesource.com/182150 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
2013-12-06Roll gyp and regenerate public projects to have the cleaned paths.Jamie Madill
With gyp r1804 we can support having nice project folders without nested subfolders. We must disable the parallel build for gyp as it is currently broken in our project, and turned on by default. Change-Id: Ie147ce423115009e254447d51cc30da0cfb2704f Reviewed-on: https://chromium-review.googlesource.com/178782 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>
2013-11-28Fix errors in the gyp projects when we build with ninja.Jamie Madill
Ninja does not like having targets named 'all', and the post-build step had some ninja-incompatible variables. BUG=angle:529 Change-Id: Ia2bf701c997ec072b18bcbd62f7d05a2e40a1578 Reviewed-on: https://chromium-review.googlesource.com/178072 Reviewed-by: Shannon Woods <shannonwoods@chromium.org> Commit-Queue: Shannon Woods <shannonwoods@chromium.org> Tested-by: Shannon Woods <shannonwoods@chromium.org>
2013-10-22Regenerate project files.Geoff Lang
TRAC #24020 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
2013-10-18Regenerate public project files.Geoff Lang
2013-10-18Updated the gyp build system for the ninja generator to work.Geoff Lang
TRAC #24018 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
2013-10-18Added a 64 bit build target to the gyp file.Geoff Lang
TRAC #24018 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
2013-10-17Regenerate project files.Geoff Lang
2013-10-17Regenerate project files.Geoff Lang
2013-10-17Merge 7692ca41dbfe20e6acf3319a37aa38b8160f51c6 from master.Geoff Lang
Remove %(AdditionalDependencies) from gyp linker deps, and add full windows dependency library list. ANGLEBUG=477 BUG= R=zmo@chromium.org Review URL: https://codereview.appspot.com/14161043
2013-10-17Deleted manually maintained visual studio projects and replaced them with ↵Geoff Lang
gyp generated ones.
2013-10-17Enabled multiprocessor compilation.Geoff Lang
2013-10-17Added flags to disable or enable generation of samples and test projects.Geoff Lang
2013-10-17Fixed the DEPS folder and added a .gclient file so gclient sync will now work.Geoff Lang
2013-10-17Refactored the tests.gyp file.Geoff Lang
2013-10-17Refactored the samples.gyp file.Geoff Lang
2013-10-17Moved the gyp libGLESv2 and libEGL projects into their own gyp files. ↵Geoff Lang
Renamed build_angle.gpy* to angle.gyp* but kept build_angle.gyp for chrome compatability.
2013-07-19Add expression complexity and call stack depth limits.Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2242 736b8ea6-26fd-11df-bfd4-992fa37f6226 TRAC #23333 Authored-by: gman@chromium.org Signed-off-by: Shannon Woods Signed-off-by Nicolas Capens Merged-by: Jamie Madill Conflicts: src/common/version.h
2013-01-25Remove DXSDK_DIR from search paths.shannon.woods@transgaming.com
Chrome now builds ANGLE against the Windows 8 Platform SDK. Move the include and lib search paths to common.gypi so that downstream projects can specify the location of the Platform SDK or alternatively use the DirectX SDK instead. Review URL: https://codereview.appspot.com/7193052 Conflicts: src/common/version.h git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1793 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-01-25Roll gyp dependency to 1564.shannon.woods@transgaming.com
This is to fix the standalone gyp build. It couldn't handle changes made in r1721. This is the latest version. Review URL: https://codereview.appspot.com/7204049 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1792 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-07-25Add angle_code var to common.gypi and build_angle.gyp. Add GCC and clang ↵maxvujovic@gmail.com
warning flags from WebKit to ANGLE Mac and Linux builds. The angle_code var differentiates between core ANGLE code vs. test code, sample code, and third party code. Review URL: https://codereview.appspot.com/6427049/ git-svn-id: https://angleproject.googlecode.com/svn/trunk@1244 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-07-24Revert r1230.apatrick@chromium.org
See https://codereview.appspot.com/6427049/. Review URL: https://codereview.appspot.com/6422063 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1243 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-07-24Add GCC and clang warning flags from WebKit to ANGLE Mac and Linux buildsmaxvujovic@gmail.com
Review URL: https://codereview.appspot.com/6427049/ git-svn-id: https://angleproject.googlecode.com/svn/trunk@1230 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-04-11Added infrastructure for adding gtest-based tests. I need to use it for the ↵alokp@chromium.org
new preprocessor. Review URL: https://codereview.appspot.com/5988069 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1024 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-01-30Enabled MSVC warning 4389 : signed/unsigned mismatch.apatrick@chromium.org
I also fixed Config.cpp so it compiles without the warning. This is because this is now a warning as error in Chromium. Review URL: https://codereview.appspot.com/5600047 git-svn-id: https://angleproject.googlecode.com/svn/trunk@980 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-01-27Removed _HAS_TR1 macro definition from common.gypi.apatrick@chromium.org
Review URL: https://codereview.appspot.com/5569078 git-svn-id: https://angleproject.googlecode.com/svn/trunk@978 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-01-26Fixed more warnings.apatrick@chromium.org
Clang warns about missing case in enum glslang_lex.cpp so I disabled that one as well. MSVC, as Chromium is built at least, warns about things in its own STL headers in SymbolTable.cpp so disabled the warning for that file. esTransform.c had a struct that the compiler could not determine was initialized so I explicitly initialized it. Review URL: https://codereview.appspot.com/5577048 git-svn-id: https://angleproject.googlecode.com/svn/trunk@965 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-01-25Increase MSVC warning level to 4.apatrick@chromium.org
There are some exceptions, a subset of the exceptions used by Chromium. They didn't seem to be useful warnings. In code which we don't change much, like the preprocessor, I just suppressed the warnings in the specific files rather than changing the code. There should be no functional changes in this patch. Review URL: https://codereview.appspot.com/5570066 git-svn-id: https://angleproject.googlecode.com/svn/trunk@964 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-01-24Enable warnings as errors.apatrick@chromium.org
I didn't do it for translator_common though because it contains automatically generated code. This is improve the signal to noise ratio in the chromium build logs. Review URL: https://codereview.appspot.com/5572055 git-svn-id: https://angleproject.googlecode.com/svn/trunk@960 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-10-21Allowed translator_hlsl and glsl to be built as shared libs on windows.apatrick@chromium.org
The problem was gyp was out-of-date (I rolled it to 1080) and ShaderLang.cpp exports were not being exported because it was in translator_common which is a static lib. I tested shared library and static library builds in debug and release and also the checked in ANGLE.sln build. See original attempt: http://codereview.appspot.com/5305052/. Review URL: http://codereview.appspot.com/5305053 git-svn-id: https://angleproject.googlecode.com/svn/trunk@801 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-06-02Redid gyp changes in last commit to support debugging of samples onkbr@chromium.org
Linux. Fixed bug in translator sample where it was confusing arguments and filenames on POSIX platforms. Review URL: http://codereview.appspot.com/4532108 git-svn-id: https://angleproject.googlecode.com/svn/trunk@665 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-06-01Added missing depth argument to GYP which causes the top-levelkbr@chromium.org
Makefile to be generated into the correct directory on Linux. Added missing library for clients of translator (the samples, in particular). Built all ANGLE targets on Linux and Windows to test these changes. BUG=none TEST=none Review URL: http://codereview.appspot.com/4556072 git-svn-id: https://angleproject.googlecode.com/svn/trunk@664 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-07Changed the default character set to be UNICODE, the same as chromium. ↵alokp@chromium.org
Changes to fix compile errors and warnings. Review URL: http://codereview.appspot.com/816046 git-svn-id: https://angleproject.googlecode.com/svn/trunk@103 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-06Added libGLESv2, libEGL, and all samples to GYP.alokp@chromium.org
Review URL: http://codereview.appspot.com/878042 git-svn-id: https://angleproject.googlecode.com/svn/trunk@100 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-06Added GYP build files. GYP files are needed for integration with chromium ↵alokp@chromium.org
and cross-platform build for glsl translator. It would really be nice if we did not have to maintain two build systems. For now I have only moved the GLSL translator to gyp build system. Please note that the gyp files awkwardly have build_ prefix so they do not conflict with the manually-maintained sln files. Review URL: http://codereview.appspot.com/885043 git-svn-id: https://angleproject.googlecode.com/svn/trunk@98 736b8ea6-26fd-11df-bfd4-992fa37f6226