summaryrefslogtreecommitdiffstats
path: root/src/core/chrome_qt.gyp
blob: 42f862115493467559b657c57c9271e9bcf409d6 (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
{
  'variables': {
    'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
  },
  'targets': [
    {
      'target_name': 'chrome_qt',
      'type': 'static_library',
      'dependencies': [
          'chrome_resources',
      ],
      'include_dirs': [
        './',
        '<(chromium_src_dir)',
        '<(chromium_src_dir)/skia/config',
        '<(chromium_src_dir)/third_party/skia/include/core',
         # Needed to include grit-generated files in localized_error.cc:
        '<(SHARED_INTERMEDIATE_DIR)/chrome',
        '<(SHARED_INTERMEDIATE_DIR)/components/strings',
      ],
      'sources': [
        '<(chromium_src_dir)/chrome/browser/media/desktop_streams_registry.cc',
        '<(chromium_src_dir)/chrome/browser/media/desktop_streams_registry.h',
        '<(chromium_src_dir)/chrome/browser/media/desktop_media_list.h',
        '<(chromium_src_dir)/chrome/common/chrome_switches.cc',
        '<(chromium_src_dir)/chrome/common/chrome_switches.h',
        '<(chromium_src_dir)/chrome/common/localized_error.cc',
        '<(chromium_src_dir)/chrome/common/localized_error.h',
      ],
    },
    {
      'target_name': 'chrome_resources',
      'type': 'none',
      'actions': [
        {
          'action_name': 'generated_resources',
          'variables': {
            'grit_grd_file': '<(chromium_src_dir)/chrome/app/generated_resources.grd',
          },
          'includes': [ 'resources/grit_action.gypi' ],
        },
        {
          'action_name': 'chromium_strings.grd',
          'variables': {
            'grit_grd_file': '<(chromium_src_dir)/chrome/app/chromium_strings.grd',
          },
          'includes': [ 'resources/grit_action.gypi' ],
        },
        {
          'action_name': 'renderer_resources',
          'variables': {
            'grit_grd_file': '<(chromium_src_dir)/chrome/renderer/resources/renderer_resources.grd',
          },
          'includes': [ 'resources/grit_action.gypi' ],
        },
      ]
    },
  ],
}