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

Unified Diff: remoting/remoting.gyp

Issue 6501005: Resubmit - Use SSE2 block differ for chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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/host/differ_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting.gyp
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index f39ef6b10720302e8fbc7e02da9054e2c679639f..9b5239fcc82aba91d26fab01e4bd9bfef8857362 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -183,6 +183,7 @@
'chromoting_base',
'chromoting_jingle_glue',
'chromoting_protocol',
+ 'differ_block',
],
'sources': [
'host/access_verifier.cc',
@@ -197,8 +198,6 @@
'host/chromoting_host_context.h',
'host/differ.h',
'host/differ.cc',
- 'host/differ_block.h',
- 'host/differ_block.cc',
'host/screen_recorder.cc',
'host/screen_recorder.h',
'host/heartbeat_sender.cc',
@@ -421,6 +420,46 @@
}, # end of target 'chromoting_protocol'
{
+ 'target_name': 'differ_block',
+ 'type': '<(library)',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../media/media.gyp:cpu_features',
+ ],
+ 'conditions': [
+ [ 'target_arch == "ia32" or target_arch == "x64"', {
+ 'dependencies': [
+ 'differ_block_sse2',
+ ],
+ }],
+ ],
+ 'sources': [
+ 'host/differ_block.cc',
+ 'host/differ_block.h',
+ ],
+ }, # end of target differ_block
+
+ {
+ 'target_name': 'differ_block_sse2',
+ 'type': '<(library)',
+ 'include_dirs': [
+ '..',
+ ],
+ 'conditions': [
+ [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
+ 'cflags': [
+ '-msse2',
+ ],
+ }],
+ ],
+ 'sources': [
+ 'host/differ_block_sse2.cc',
+ ],
+ }, # end of target differ_block_sse2
+
+ {
'target_name': 'chromotocol_test_client',
'type': 'executable',
'dependencies': [
« no previous file with comments | « remoting/host/differ_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698