diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-06-22 18:24:53 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2018-07-03 07:54:52 +0000 |
commit | 0c2091e2a30d22b57fbef31f852794975d71961f (patch) | |
tree | 66c166900595b999189579520541dd355ef3833e /mkspecs | |
parent | ec127d7e4898940116be9fbbc8dc94b4cfa9b18c (diff) |
Add hack to export our headers to Chromium
Add hack to export core headers and move back service_qt
to main repo.
This change pulls the required change in Chromium
Change-Id: I8c73cd20c4358c51911b98b42922e1361bfb28b6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/gn_generator.prf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mkspecs/features/gn_generator.prf b/mkspecs/features/gn_generator.prf index efb8a65a1..b1f04e570 100644 --- a/mkspecs/features/gn_generator.prf +++ b/mkspecs/features/gn_generator.prf @@ -222,6 +222,14 @@ GN_CONTENTS += " \":generate_cpp_mocs\"," GN_CONTENTS += " ]" GN_CONTENTS += " }" GN_CONTENTS += "}" +GN_CONTENTS += " if (!defined(core_include_dirs)) {"\ + " core_include_dirs = []"\ + " }" +!isEmpty(GN_CORE_INCLUDE_DIRS) { + GN_CONTENTS += "core_include_dirs += [" + for (inc, GN_CORE_INCLUDE_DIRS): GN_CONTENTS += " \"$$inc\"," + GN_CONTENTS += "]" +} !isEmpty(GN_INCLUDES) { for (inc, GN_INCLUDES): GN_CONTENTS += $$cat($$inc,lines) } |