summaryrefslogtreecommitdiffstats
path: root/src/core/chrome_qt.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/chrome_qt.gyp')
-rw-r--r--src/core/chrome_qt.gyp44
1 files changed, 41 insertions, 3 deletions
diff --git a/src/core/chrome_qt.gyp b/src/core/chrome_qt.gyp
index a38b4a9bf..81ab2e881 100644
--- a/src/core/chrome_qt.gyp
+++ b/src/core/chrome_qt.gyp
@@ -1,18 +1,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.h',
'<(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/localized_error.cc',
+ '<(chromium_src_dir)/chrome/common/localized_error.h',
+ '<(chromium_src_dir)/chrome/common/net/net_error_info.cc',
+ '<(chromium_src_dir)/chrome/common/net/net_error_info.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' ],
+ },
+ ]
+ },
],
}
-