diff options
author | fransiskusx@google.com <fransiskusx@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-05 00:21:07 +0000 |
---|---|---|
committer | fransiskusx@google.com <fransiskusx@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-05 00:21:07 +0000 |
commit | b04a424313a92a370993072db73e54e07e9cfa54 (patch) | |
tree | 89d7f3e4fe7e6c86d99dbc587c2433104244fa02 /o3d/build/libs.gyp | |
parent | bad671d9e43be274d926a2204b16e89b21cb7135 (diff) | |
download | chromium_src-b04a424313a92a370993072db73e54e07e9cfa54.zip chromium_src-b04a424313a92a370993072db73e54e07e9cfa54.tar.gz chromium_src-b04a424313a92a370993072db73e54e07e9cfa54.tar.bz2 |
Initial version rendering 2D path for O3D. This will eventually allow O3D apps to fall back to 2D logic on systems without (working) GPUs.
Incorporated 2D library Cairo to O3D.
Currently only support Linux and compiled when renderer = cairo.
TEST= I compiled with renderer = cairo and it worked. Also I compiled with renderer = gl and it worked.
BUG=none
Review URL: http://codereview.chromium.org/2825074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55008 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/build/libs.gyp')
-rw-r--r-- | o3d/build/libs.gyp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/o3d/build/libs.gyp b/o3d/build/libs.gyp index 94f624b..f94cf26 100644 --- a/o3d/build/libs.gyp +++ b/o3d/build/libs.gyp @@ -18,6 +18,34 @@ ], 'targets': [ { + 'target_name': 'cairo_libs', + 'type': 'none', + 'conditions': [ + [ 'OS=="linux"', + { + 'all_dependent_settings': { + 'cflags': [ + '<!@(pkg-config --cflags cairo)', + ], + 'libraries': [ + '-lcairo', + ], + }, + }, + ], + [ 'OS=="mac"', + { + #TODO(fransiskusx): Link to Cairo on Win/Mac as a static library + }, + ], + [ 'OS=="win"', + { + #TODO(fransiskusx): Link to Cairo on Win/Mac as a static library, + }, + ], + ], + }, + { 'target_name': 'gl_libs', 'type': 'none', 'all_dependent_settings': { |