Commit Graph
47 Commits
Author SHA1 Message Date
Geoff Lang e744834a17 Allow gyp to generate 64 bit project files for VS2012.
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 <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-08-04 15:34:54 +00:00
Geoff Lang bfdea66b45 Remove try-catch blocks from entry points.
BUG=angle:700

Change-Id: I036901c397053a75677923304d7e1ed697c82aa2
Reviewed-on: https://chromium-review.googlesource.com/209570
Reviewed-by: <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-07-24 17:58:45 +00:00
Geoff Lang 44fa7594bc Refactor platform related functionality into platform.h and tls.h.
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 <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-06-11 14:03:13 +00:00
Geoff Lang 9cd1915c96 Fix warnings about unreferenced local variables.
BUG=skia:2272

Change-Id: Ibf03efedc662fea2a389ad2dc5af5b7b014181a8
Reviewed-on: https://chromium-review.googlesource.com/201900
Reviewed-by: Shannon Woods <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-05-28 21:07:53 +00:00
Geoff Lang 5df9f5233c Automate the DEQP tests by wrapping them in the gtest suite.
BUG=angle:497

Change-Id: If0a72c053bccccc4369ec78dd70173bbadb1be7b
Reviewed-on: https://chromium-review.googlesource.com/200044
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-05-23 17:30:04 +00:00
Jamie Madill 37f77d2e1a Fixes to the standalone Linux build.
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 <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2014-05-01 15:36:13 +00:00
Geoff Lang 6cec850946 Re-enable RTTI and fix compilation errors.
BUG=angle:616

Change-Id: I964ddc4a3d51d5f202608e3162edb684290cbc6a
Reviewed-on: https://chromium-review.googlesource.com/195731
Reviewed-by: Shannon Woods <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-04-22 14:40:15 +00:00
Geoff Lang 3b5c4be298 Remove forced windows version macros.
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 <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-04-17 16:49:16 +00:00
Geoff Lang d095bdaa16 Add a common include in the project definitions.
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 <[email protected]>
Reviewed-by: Shannon Woods <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-04-09 13:44:09 +00:00
Jamie Madill 236be22188 Add in gypi scripts for preprocessor and compiler tests.
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 <[email protected]>
Reviewed-by: Shannon Woods <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2014-02-25 20:48:02 +00:00
Jamie Madill e78603b585 Fix standalone Linux build.
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 <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Jamie Madill <[email protected]>
Reviewed-on: https://chromium-review.googlesource.com/186989
2014-02-20 14:17:23 +00:00
Geoff Lang 16851c8777 Don't include symbols in release builds of the public projects.
Change-Id: Ic21ca93133b6234d2756507ab43252071f04717d
Reviewed-on: https://chromium-review.googlesource.com/185691
Tested-by: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2014-02-19 16:21:57 +00:00
Geoff Lang 3cd50f7e24 Fix remaining discrepencies between master and es3proto project files.
Change-Id: I335c9346ac268beab25184e2b18ccfdd0b15c7b1
Reviewed-on: https://chromium-review.googlesource.com/182150
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-01-10 21:36:20 +00:00
Jamie Madill 39173f1330 Roll gyp and regenerate public projects to have the cleaned paths.
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 <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2013-12-06 23:11:57 +00:00
Jamie Madill a895c6f012 Fix errors in the gyp projects when we build with ninja.
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 <[email protected]>
Commit-Queue: Shannon Woods <[email protected]>
Tested-by: Shannon Woods <[email protected]>
2013-11-28 14:41:31 +00:00
Geoff Lang 512a7b7b04 Regenerate project files.
TRAC #24020

Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
2013-10-22 14:30:12 -04:00
Geoff Lang f02ec39090 Regenerate public project files. 2013-10-18 17:11:07 -04:00
Geoff Lang b236212e5a Updated the gyp build system for the ninja generator to work.
TRAC #24018

Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
2013-10-18 17:05:57 -04:00
Geoff Lang 78059907ae Added a 64 bit build target to the gyp file.
TRAC #24018

Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
2013-10-18 17:01:54 -04:00
Geoff Lang e26b15a2a7 Regenerate project files. 2013-10-17 14:18:42 -04:00
Geoff Lang 216644bad7 Regenerate project files. 2013-10-17 09:54:32 -04:00
Geoff Lang 5e5f990e1c Merge 7692ca41db from master.
Remove %(AdditionalDependencies) from gyp linker deps, and add full windows dependency library list.

ANGLEBUG=477
BUG=
[email protected]

Review URL: https://codereview.appspot.com/14161043
2013-10-17 09:52:39 -04:00
Geoff Lang 7c69720176 Deleted manually maintained visual studio projects and replaced them with gyp generated ones. 2013-10-17 09:52:07 -04:00
Geoff Lang 179b0046fe Enabled multiprocessor compilation. 2013-10-17 09:37:08 -04:00
Geoff Lang ce1d3c482d Added flags to disable or enable generation of samples and test projects. 2013-10-17 09:37:06 -04:00
Geoff Lang 0049e43d65 Fixed the DEPS folder and added a .gclient file so gclient sync will now work. 2013-10-17 09:37:05 -04:00
Geoff Lang c3597523bc Refactored the tests.gyp file. 2013-10-17 09:37:03 -04:00
Geoff Lang 0e43546701 Refactored the samples.gyp file. 2013-10-17 09:37:02 -04:00
Geoff Lang 39d5166d0f Moved the gyp libGLESv2 and libEGL projects into their own gyp files. Renamed build_angle.gpy* to angle.gyp* but kept build_angle.gyp for chrome compatability. 2013-10-17 09:37:00 -04:00
Jamie Madill eb1a010f0f Add expression complexity and call stack depth limits.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2242 736b8ea6-26fd-11df-bfd4-992fa37f6226

TRAC #23333
Authored-by: [email protected]
Signed-off-by: Shannon Woods
Signed-off-by Nicolas Capens
Merged-by: Jamie Madill
Conflicts:

	src/common/version.h
2013-07-19 18:06:52 -04:00
[email protected] 2001a0cc3a Remove DXSDK_DIR from search paths.
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-25 21:56:47 +00:00
[email protected] 14fcb33aee Roll gyp dependency to 1564.
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
2013-01-25 21:56:40 +00:00
[email protected] 28a6b5f8da Add angle_code var to common.gypi and build_angle.gyp. Add GCC and clang 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-25 21:01:45 +00:00
[email protected] 728f279824 Revert r1230.
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-24 19:46:53 +00:00
[email protected] d6fddbf175 Add GCC and clang warning flags from WebKit to ANGLE Mac and Linux builds
Review URL: https://codereview.appspot.com/6427049/


git-svn-id: https://angleproject.googlecode.com/svn/trunk@1230 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-07-24 18:13:49 +00:00
[email protected] 416fcd354b Added infrastructure for adding gtest-based tests. I need to use it for the 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-04-11 16:23:44 +00:00
[email protected] 9c3a393ded Enabled MSVC warning 4389 : signed/unsigned mismatch.
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-30 20:03:32 +00:00
[email protected] afcd38833f Removed _HAS_TR1 macro definition from common.gypi.
Review URL: https://codereview.appspot.com/5569078

git-svn-id: https://angleproject.googlecode.com/svn/trunk@978 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-01-27 22:13:25 +00:00
[email protected] e057c5dd6e Fixed more warnings.
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-26 19:18:24 +00:00
[email protected] a1d8059d67 Increase MSVC warning level to 4.
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-25 21:52:10 +00:00
[email protected] 9dc0a2477e Enable warnings as errors.
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
2012-01-24 21:45:37 +00:00
[email protected] 22eab922e7 Allowed translator_hlsl and glsl to be built as shared libs on windows.
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-10-21 01:16:42 +00:00
[email protected] fe2aff1094 Redid gyp changes in last commit to support debugging of samples on
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-02 00:23:44 +00:00
[email protected] c6be226451 Added missing depth argument to GYP which causes the top-level
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
2011-06-01 23:04:13 +00:00
[email protected] 0270ef140e Changed the default character set to be UNICODE, the same as chromium. 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-07 19:57:20 +00:00
[email protected] 403c9e5961 Added libGLESv2, libEGL, and all samples to GYP.
Review URL: http://codereview.appspot.com/878042

git-svn-id: https://angleproject.googlecode.com/svn/trunk@100 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-06 17:53:31 +00:00
[email protected] 29d56fbb60 Added GYP build files. GYP files are needed for integration with chromium 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
2010-04-06 15:42:22 +00:00