Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: gyp/angle.gyp

Issue 238863006: Revert of Roll ANGLE. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | gyp/common_conditions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/angle.gyp
diff --git a/gyp/angle.gyp b/gyp/angle.gyp
index 467c7fb4baa2107301b698395f365c542c99337a..616de1eedeea609bd77bc471e37ea680129962f6 100644
--- a/gyp/angle.gyp
+++ b/gyp/angle.gyp
@@ -1,6 +1,43 @@
-# ANGLE is the Windows-specific translator from OGL ES to D3D
+# ANGLE is the Windows-specific translator from OGL ES 2.0 to D3D 9
{
+ 'conditions': [
+ [ 'skia_angle', {
+ 'target_defaults': {
+ 'include_dirs': [
+ '$(DXSDK_DIR)/Include',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'conditions': [
+ [ 'skia_arch_width == 32 ', {
+ 'AdditionalLibraryDirectories': [
+ '$(DXSDK_DIR)/Lib/x86',
+ ],
+ },{
+ 'AdditionalLibraryDirectories': [
+ '$(DXSDK_DIR)/Lib/x64',
+ ],
+ }],
+ ],
+ },
+ },
+ 'defines': [
+ 'NOMINMAX',
+ ],
+ 'defines/': [
+ ['exclude', 'ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES'],
+ ],
+ },
+ 'variables': {
+ 'component': 'static_library',
+ 'skia_warnings_as_errors': 0,
+ },
+ 'includes': [
+ '../third_party/externals/angle/src/build_angle.gypi',
+ ],
+ }],
+ ],
'targets': [
{
'target_name': 'angle',
@@ -9,13 +46,9 @@
[ 'skia_angle', {
'direct_dependent_settings': {
'include_dirs': [
- '../third_party/externals/angle2/include',
+ '../third_party/externals/angle/include',
],
},
- 'dependencies': [
- '../third_party/externals/angle2/src/angle.gyp:libEGL',
- '../third_party/externals/angle2/src/angle.gyp:libGLESv2',
- ],
}],
],
},
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | gyp/common_conditions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698