summaryrefslogtreecommitdiffstats
path: root/chrome_elf/blacklist.gypi
blob: 7ab5be1aaac6addb7929b4cecb9773c5b157d032 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copyright 2013 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': 'blacklist',
      'type': 'static_library',
      'include_dirs': [
        '..',
        '<(SHARED_INTERMEDIATE_DIR)',
      ],
      'sources': [
        'blacklist/blacklist.cc',
        'blacklist/blacklist.h',
        'blacklist/blacklist_interceptions.cc',
        'blacklist/blacklist_interceptions.h',
      ],
      'dependencies': [
        # Depend on base_static, but do NOT take a dependency on base.gyp:base
        # as that would risk pulling in base's link-time dependencies which
        # chrome_elf cannot do.
        '../base/base.gyp:base_static',
        '../chrome_elf/chrome_elf.gyp:chrome_elf_breakpad',
        '../chrome_elf/chrome_elf.gyp:chrome_elf_constants',
        '../sandbox/sandbox.gyp:sandbox',
      ],
    },
    {
      'target_name': 'blacklist_test_main_dll',
      'type': 'shared_library',
      'sources': [
        'blacklist/test/blacklist_test_main_dll.cc',
        'blacklist/test/blacklist_test_main_dll.def',
      ],
      'dependencies': [
        '../base/base.gyp:base',
        'blacklist',
      ],
    },
    {
      'target_name': 'blacklist_test_dll_1',
      'type': 'loadable_module',
      'sources': [
        'blacklist/test/blacklist_test_dll_1.cc',
        'blacklist/test/blacklist_test_dll_1.def',
      ],
    },
    {
      'target_name': 'blacklist_test_dll_2',
      'type': 'loadable_module',
      'sources': [
        'blacklist/test/blacklist_test_dll_2.cc',
        'blacklist/test/blacklist_test_dll_2.def',
      ],
    },
    {
      'target_name': 'blacklist_test_dll_3',
      'type': 'loadable_module',
      'sources': [
        'blacklist/test/blacklist_test_dll_3.cc',
      ],
    },
  ],
}