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

Unified Diff: remoting/remoting.gyp

Issue 2834021: Revert 50667 - Add in support for internal pepper plugins into the PepperPlug... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 | « remoting/client/plugin/pepper_entrypoints.cc ('k') | webkit/glue/plugins/pepper_plugin_module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting.gyp
===================================================================
--- remoting/remoting.gyp (revision 50670)
+++ remoting/remoting.gyp (working copy)
@@ -16,8 +16,46 @@
},
'conditions': [
+ # Chromoting Client targets
['OS=="linux" or OS=="mac"', {
'targets': [
+ {
+ 'target_name': 'chromoting_client_plugin',
+ 'type': 'static_library',
+ 'defines': [
+ 'HAVE_STDINT_H', # Required by on2_integer.h
+ ],
+ 'dependencies': [
+ 'chromoting_base',
+ 'chromoting_client',
+ 'chromoting_jingle_glue',
+ '../third_party/ppapi/ppapi.gyp:ppapi_cpp',
+ '../third_party/zlib/zlib.gyp:zlib',
+ ],
+ 'sources': [
+ 'client/plugin/chromoting_plugin.cc',
+ 'client/plugin/chromoting_plugin.h',
+ 'client/plugin/pepper_view.cc',
+ 'client/plugin/pepper_view.h',
+ '../media/base/yuv_convert.cc',
+ '../media/base/yuv_convert.h',
+ '../media/base/yuv_row.h',
+ '../media/base/yuv_row_posix.cc',
+ '../media/base/yuv_row_table.cc',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'sources': [
+ '../media/base/yuv_row_win.cc',
+ ],
+ }],
+ ['OS=="linux" and target_arch=="x64" and linux_fpic!=1', {
+ # Shared libraries need -fPIC on x86-64
+ 'cflags': ['-fPIC'],
+ }],
+ ], # end of 'conditions'
+ }, # end of target 'chromoting_client_plugin'
+
# Simple webserver for testing chromoting client plugin.
{
'target_name': 'chromoting_client_test_webserver',
@@ -25,13 +63,13 @@
'sources': [
'tools/client_webserver/main.c',
],
- }
- ], # end of target 'chromoting_client_test_webserver'
- }],
+ }, # end of target 'chromoting_client_test_webserver'
+ ], # end of Client targets
+ }], # end of OS conditions for Client targets
+
# TODO(hclam): Enable this target for mac.
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
-
'targets': [
{
'target_name': 'chromoting_x11_client',
@@ -62,45 +100,6 @@
'targets': [
{
- 'target_name': 'chromoting_plugin',
- 'type': 'static_library',
- 'defines': [
- 'HAVE_STDINT_H', # Required by on2_integer.h
- ],
- 'dependencies': [
- 'chromoting_base',
- 'chromoting_client',
- 'chromoting_jingle_glue',
- '../third_party/ppapi/ppapi.gyp:ppapi_c',
- '../third_party/zlib/zlib.gyp:zlib',
- ],
- 'sources': [
- 'client/plugin/chromoting_plugin.cc',
- 'client/plugin/chromoting_plugin.h',
- 'client/plugin/pepper_entrypoints.cc',
- 'client/plugin/pepper_entrypoints.h',
- 'client/plugin/pepper_view.cc',
- 'client/plugin/pepper_view.h',
- '../media/base/yuv_convert.cc',
- '../media/base/yuv_convert.h',
- '../media/base/yuv_row.h',
- '../media/base/yuv_row_table.cc',
- ],
- 'conditions': [
- ['OS=="win"', {
- 'sources': [
- '../media/base/yuv_row_win.cc',
- ],
- }],
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="mac"', {
- 'sources': [
- '../media/base/yuv_row_posix.cc',
- ],
- }],
- ], # end of 'conditions'
- }, # end of target 'chromoting_plugin'
-
- {
'target_name': 'chromoting_base',
'type': '<(library)',
'dependencies': [
« no previous file with comments | « remoting/client/plugin/pepper_entrypoints.cc ('k') | webkit/glue/plugins/pepper_plugin_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698