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

Side by Side Diff: tools/cygprofile/cygprofile.gyp

Issue 1363793002: Port the order_profiling GYP flag to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « tools/android/md5sum/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN: //tools/cygprofile
8 'target_name': 'cygprofile', 9 'target_name': 'cygprofile',
9 'type': 'static_library', 10 'type': 'static_library',
10 'include_dirs': [ '../..', ], 11 'include_dirs': [ '../..', ],
11 'sources': [ 12 'sources': [
12 'cygprofile.cc', 13 'cygprofile.cc',
13 'cygprofile.h', 14 'cygprofile.h',
14 ], 15 ],
15 'cflags!': [ '-finstrument-functions' ], 16 'cflags!': [ '-finstrument-functions' ],
16 'dependencies': [ 17 'dependencies': [
17 # This adds uninstrumented symbols to the static library from base. 18 # This adds uninstrumented symbols to the static library from base.
18 # These symbols are likely *not* to be used because there are many 19 # These symbols are likely *not* to be used because there are many
19 # other duplicates in other objects/libraries. 20 # other duplicates in other objects/libraries.
20 '../../base/base.gyp:base', 21 '../../base/base.gyp:base',
21 ], 22 ],
22 }, 23 },
23 { 24 {
25 # GN: //tools/cygprofile:cygprofile_unittests
24 'target_name': 'cygprofile_unittests', 26 'target_name': 'cygprofile_unittests',
25 'type': 'executable', 27 'type': 'executable',
26 'include_dirs': [ '../..', ], 28 'include_dirs': [ '../..', ],
27 'sources': [ 29 'sources': [
28 'cygprofile_unittest.cc', 30 'cygprofile_unittest.cc',
29 ], 31 ],
30 'cflags!': [ '-finstrument-functions' ], 32 'cflags!': [ '-finstrument-functions' ],
31 # TODO(azarchs): Fix the underlying problem (crbug/485542) 33 # TODO(azarchs): Fix the underlying problem (crbug/485542)
32 'ldflags': [ '-Wl,--no-fatal-warnings' ], 34 'ldflags': [ '-Wl,--no-fatal-warnings' ],
33 'dependencies': [ 35 'dependencies': [
34 'cygprofile', 36 'cygprofile',
35 '../../base/base.gyp:base', 37 '../../base/base.gyp:base',
36 '../../testing/gtest.gyp:gtest', 38 '../../testing/gtest.gyp:gtest',
37 ], 39 ],
38 }, 40 },
39 ], 41 ],
40 } 42 }
OLDNEW
« no previous file with comments | « tools/android/md5sum/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698