summaryrefslogtreecommitdiffstats
path: root/media/cast/cast_testing.gypi
diff options
context:
space:
mode:
authorhubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-11 17:34:12 +0000
committerhubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-11 17:35:06 +0000
commit0b7b95dcdef26947c6de5274adcdd17a06252e8a (patch)
tree139323ca9a3b23fa5296c08735c3743b4ff34c02 /media/cast/cast_testing.gypi
parenta87121a9f555371554fa9514d25eb918bf067f77 (diff)
downloadchromium_src-0b7b95dcdef26947c6de5274adcdd17a06252e8a.zip
chromium_src-0b7b95dcdef26947c6de5274adcdd17a06252e8a.tar.gz
chromium_src-0b7b95dcdef26947c6de5274adcdd17a06252e8a.tar.bz2
tap_proxy - bad network simulation for linux
Three files: shadow.sh - setup a tap network which shadows eth1 tap_proxy - forward traffic between two tap devices with delay/drops netload.py - create TCP network traffic See shadow.sh for more detailed information. Review URL: https://codereview.chromium.org/415403009 Cr-Commit-Position: refs/heads/master@{#288737} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/cast_testing.gypi')
-rw-r--r--media/cast/cast_testing.gypi25
1 files changed, 24 insertions, 1 deletions
diff --git a/media/cast/cast_testing.gypi b/media/cast/cast_testing.gypi
index 7cfc50c..d0c0f04 100644
--- a/media/cast/cast_testing.gypi
+++ b/media/cast/cast_testing.gypi
@@ -318,6 +318,29 @@
'sources': [
'test/utility/udp_proxy_main.cc',
],
- }
+ },
+ ], # targets
+
+ 'conditions': [
+ ['OS=="linux"',
+ { 'targets': [
+ {
+ 'target_name': 'tap_proxy',
+ 'type': 'executable',
+ 'include_dirs': [
+ '<(DEPTH)/',
+ ],
+ 'dependencies': [
+ 'cast_test_utility',
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/media/media.gyp:media',
+ ],
+ 'sources': [
+ 'test/utility/tap_proxy.cc',
+ ],
+ }
+ ]
+ }
+ ]
], # targets
}