Home | History | Annotate | Download | only in cygprofile
      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       'target_name': 'cygprofile',
      9       'type': 'static_library',
     10       'include_dirs': [ '../..', ],
     11       'sources': [
     12         'cygprofile.cc',
     13         'cygprofile.h',
     14       ],
     15       'cflags!': [ '-finstrument-functions' ],
     16       'dependencies': [
     17         # This adds uninstrumented symbols to the static library from base.
     18         # These symbols are likely *not* to be used because there are many
     19         # other duplicates in other objects/libraries.
     20         '../../base/base.gyp:base',
     21       ],
     22     },
     23     {
     24       'target_name': 'cygprofile_unittests',
     25       'type': 'executable',
     26       'include_dirs': [ '../..', ],
     27       'sources': [
     28         'cygprofile_unittest.cc',
     29       ],
     30       'cflags!': [ '-finstrument-functions' ],
     31       'dependencies': [
     32         'cygprofile',
     33         '../../base/base.gyp:base',
     34         '../../testing/gtest.gyp:gtest',
     35       ],
     36     },
     37   ],
     38 }
     39