OLD | NEW |
| (Empty) |
1 # Copyright (c) 2011 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 # GN: //tools/cygprofile | |
9 'target_name': 'cygprofile', | |
10 'type': 'static_library', | |
11 'include_dirs': [ '../..', ], | |
12 'sources': [ | |
13 'cygprofile.cc', | |
14 'cygprofile.h', | |
15 ], | |
16 'cflags!': [ '-finstrument-functions' ], | |
17 'dependencies': [ | |
18 # This adds uninstrumented symbols to the static library from base. | |
19 # These symbols are likely *not* to be used because there are many | |
20 # other duplicates in other objects/libraries. | |
21 '../../base/base.gyp:base', | |
22 ], | |
23 }, | |
24 { | |
25 # GN: //tools/cygprofile:cygprofile_unittests | |
26 'target_name': 'cygprofile_unittests', | |
27 'type': 'executable', | |
28 'include_dirs': [ '../..', ], | |
29 'sources': [ | |
30 'cygprofile_unittest.cc', | |
31 ], | |
32 'cflags!': [ '-finstrument-functions' ], | |
33 # TODO(lizeb,pasko): Fix the underlying problem (crbug/485542) | |
34 'ldflags': [ '-Wl,--no-fatal-warnings' ], | |
35 'dependencies': [ | |
36 'cygprofile', | |
37 '../../base/base.gyp:base', | |
38 '../../testing/gtest.gyp:gtest', | |
39 ], | |
40 }, | |
41 ], | |
42 } | |
OLD | NEW |