Index: tools/android/fake_dns/fake_dns.gyp |
diff --git a/tools/android/fake_dns/fake_dns.gyp b/tools/android/fake_dns/fake_dns.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7b685a1603305e45178cdc7323a5212efd2d118a |
--- /dev/null |
+++ b/tools/android/fake_dns/fake_dns.gyp |
@@ -0,0 +1,44 @@ |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'fake_dns', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'fake_dns_symbols', |
+ ], |
+ 'actions': [ |
+ { |
+ 'action_name': 'strip_fake_dns', |
+ 'inputs': ['<(PRODUCT_DIR)/fake_dns_symbols'], |
+ 'outputs': ['<(PRODUCT_DIR)/fake_dns'], |
+ 'action': [ |
+ '<!(/bin/echo -n $STRIP)', |
+ '--strip-unneeded', |
+ '<@(_inputs)', |
+ '-o', |
+ '<@(_outputs)', |
+ ], |
+ }, |
+ ], |
+ }, { |
+ 'target_name': 'fake_dns_symbols', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../../../base/base.gyp:base', |
+ '../../../net/net.gyp:net', |
+ '../common/common.gyp:android_tools_common', |
+ ], |
+ 'include_dirs': [ |
+ '../../..', |
+ ], |
+ 'sources': [ |
+ 'fake_dns.cc', |
+ ], |
+ }, |
+ ], |
+} |
+ |