diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2016-06-03 02:41:21 -0700 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2016-07-07 08:41:35 +0000 |
commit | 9bb9076c50048913075f11692f784ebb959d63cf (patch) | |
tree | 4a27e9eb3c7bd767963505f14ac0c703c811338c /src/core/chrome_qt.gyp | |
parent | 800365f6faad962a4dd2e71173527d285a3f62b5 (diff) |
Parse metadata block in user scripts
This allows WebEngine to build up user script objects from the
metadata section of their source code. It also implements @include,
@exclude and @match rules for restricting script injection to given
URL patterns.
Change-Id: Ic7b3023c0143643bfbf71adbfa25a8022b223fcf
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/chrome_qt.gyp')
-rw-r--r-- | src/core/chrome_qt.gyp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/chrome_qt.gyp b/src/core/chrome_qt.gyp index 394e72733..ff7988f09 100644 --- a/src/core/chrome_qt.gyp +++ b/src/core/chrome_qt.gyp @@ -78,8 +78,16 @@ '<(DEPTH)/chrome/browser/media/desktop_streams_registry.h', '<(DEPTH)/chrome/common/chrome_switches.cc', '<(DEPTH)/chrome/common/chrome_switches.h', + '<(DEPTH)/extensions/common/constants.cc', + '<(DEPTH)/extensions/common/constants.h', + '<(DEPTH)/extensions/common/url_pattern.cc', + '<(DEPTH)/extensions/common/url_pattern.h', ], 'conditions': [ + ['OS == "win"', { + # crbug.com/167187 fix size_t to int truncations + 'msvs_disabled_warnings': [4267, ], + }], ['enable_spellcheck==1', { 'sources': [ '<@(chrome_spellchecker_sources)' ], 'include_dirs': [ @@ -99,10 +107,6 @@ '__STDC_FORMAT_MACROS', ], 'conditions': [ - ['OS == "win"', { - # crbug.com/167187 fix size_t to int truncations - 'msvs_disabled_warnings': [4267, ], - }], [ 'OS != "mac"', { 'sources/': [ ['exclude', '_mac\\.(cc|cpp|mm?)$'], |