OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'fake_dns', | |
9 'type': 'none', | |
10 'dependencies': [ | |
11 'fake_dns_symbols', | |
12 ], | |
13 'actions': [ | |
14 { | |
15 'action_name': 'strip_fake_dns', | |
16 'inputs': ['<(PRODUCT_DIR)/fake_dns_symbols'], | |
17 'outputs': ['<(PRODUCT_DIR)/fake_dns'], | |
18 'action': [ | |
19 '<!(/bin/echo -n $STRIP)', | |
20 '--strip-unneeded', | |
21 '<@(_inputs)', | |
22 '-o', | |
23 '<@(_outputs)', | |
24 ], | |
25 }, | |
26 ], | |
27 }, { | |
28 'target_name': 'fake_dns_symbols', | |
29 'type': 'executable', | |
30 'dependencies': [ | |
31 '../../../base/base.gyp:base', | |
32 '../../../net/net.gyp:net', | |
33 '../common/common.gyp:android_tools_common', | |
34 ], | |
35 'include_dirs': [ | |
36 '../../..', | |
37 ], | |
38 'sources': [ | |
39 'fake_dns.cc', | |
40 ], | |
41 }, | |
42 ], | |
43 } | |
44 | |
OLD | NEW |