summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-11-04 16:03:44 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-11-06 09:36:02 +0000
commit2c61b458f829ebb3047927d9eb68dfad2b4a3425 (patch)
tree81e1c759972ec5c0411559ef7afd4812922977f8
parent40ef43e0d69c4a86c9430b7f264d2cde6340ee0f (diff)
Use relative paths instead of absolute
Ninja will build to source-directory when using absolute paths, to get it to build to build-directory we need to use relative paths. Fortunately we can use the DEPTH variable to get relative path to the chromium src dir. Change-Id: I6b97ef20f2800721cfc399b6f9b6621f5656f7ee Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
-rw-r--r--src/core/chrome_qt.gyp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/chrome_qt.gyp b/src/core/chrome_qt.gyp
index 0f30b7a04..de49d8826 100644
--- a/src/core/chrome_qt.gyp
+++ b/src/core/chrome_qt.gyp
@@ -16,13 +16,13 @@
'<(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',
+ '<(DEPTH)/chrome/browser/media/desktop_streams_registry.cc',
+ '<(DEPTH)/chrome/browser/media/desktop_streams_registry.h',
+ '<(DEPTH)/chrome/browser/media/desktop_media_list.h',
+ '<(DEPTH)/chrome/common/chrome_switches.cc',
+ '<(DEPTH)/chrome/common/chrome_switches.h',
+ '<(DEPTH)/chrome/common/localized_error.cc',
+ '<(DEPTH)/chrome/common/localized_error.h',
],
},
{