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
|
{
'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',
'<(SHARED_INTERMEDIATE_DIR)/chrome', # Needed to include grit-generated files in localized_error.cc
],
'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' ],
},
]
},
],
}
|