summaryrefslogtreecommitdiffstats
path: root/ppapi/ppapi_tests.gypi
diff options
context:
space:
mode:
authorscheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 23:16:16 +0000
committerscheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 23:16:16 +0000
commitea8bc98be00e84fc16c30e0fbc440fe9c283c56c (patch)
tree792d8d1d9285819c88b2d64170a08a6469d990f1 /ppapi/ppapi_tests.gypi
parentd7728c654c6c670e93c7bd32b87578ef9c371674 (diff)
downloadchromium_src-ea8bc98be00e84fc16c30e0fbc440fe9c283c56c.zip
chromium_src-ea8bc98be00e84fc16c30e0fbc440fe9c283c56c.tar.gz
chromium_src-ea8bc98be00e84fc16c30e0fbc440fe9c283c56c.tar.bz2
Mac implementation of mouse lock in render widget host view.
TBR=avi@chromium.org BUG=41781 TEST=Manual test in ppapi/examples/mouse_lock. Review URL: http://codereview.chromium.org/8301024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi_tests.gypi')
-rw-r--r--ppapi/ppapi_tests.gypi66
1 files changed, 33 insertions, 33 deletions
diff --git a/ppapi/ppapi_tests.gypi b/ppapi/ppapi_tests.gypi
index 08e661e..c7c51cf 100644
--- a/ppapi/ppapi_tests.gypi
+++ b/ppapi/ppapi_tests.gypi
@@ -222,6 +222,39 @@
'shared_impl/resource_tracker_unittest.cc',
],
},
+ {
+ 'target_name': 'ppapi_example_skeleton',
+ 'suppress_wildcard': 1,
+ 'type': 'none',
+ 'direct_dependent_settings': {
+ 'product_name': '>(_target_name)',
+ 'conditions': [
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" or OS=="android"', {
+ 'cflags': ['-fvisibility=hidden'],
+ 'type': 'shared_library',
+ # -gstabs, used in the official builds, causes an ICE. Simply remove
+ # it.
+ 'cflags!': ['-gstabs'],
+ }],
+ ['OS=="win"', {
+ 'type': 'shared_library',
+ }],
+ ['OS=="mac"', {
+ 'type': 'loadable_module',
+ }],
+ ],
+ },
+ },
+ {
+ 'target_name': 'ppapi_example_mouse_lock',
+ 'dependencies': [
+ 'ppapi_example_skeleton',
+ 'ppapi.gyp:ppapi_cpp',
+ ],
+ 'sources': [
+ 'examples/mouse_lock/mouse_lock.cc',
+ ],
+ },
],
'conditions': [
@@ -230,29 +263,6 @@
['OS!="mac"', {
'targets': [
{
- 'target_name': 'ppapi_example_skeleton',
- 'suppress_wildcard': 1,
- 'type': 'none',
- 'direct_dependent_settings': {
- 'product_name': '>(_target_name)',
- 'conditions': [
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" or OS=="android"', {
- 'cflags': ['-fvisibility=hidden'],
- 'type': 'shared_library',
- # -gstabs, used in the official builds, causes an ICE. Simply remove
- # it.
- 'cflags!': ['-gstabs'],
- }],
- ['OS=="win"', {
- 'type': 'shared_library',
- }],
- ['OS=="mac"', {
- 'type': 'loadable_module',
- }],
- ],
- },
- },
- {
'target_name': 'ppapi_example_c_stub',
'dependencies': [
'ppapi_example_skeleton',
@@ -283,16 +293,6 @@
],
},
{
- 'target_name': 'ppapi_example_mouse_lock',
- 'dependencies': [
- 'ppapi_example_skeleton',
- 'ppapi.gyp:ppapi_cpp',
- ],
- 'sources': [
- 'examples/mouse_lock/mouse_lock.cc',
- ],
- },
- {
'target_name': 'ppapi_example_file_chooser',
'dependencies': [
'ppapi_example_skeleton',