From 452edf71b336ba273538920cdcede3bc505f6526 Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Date: Thu, 14 Aug 2014 15:36:03 +0200 Subject: [PATCH] <chromium> Exclude all unneeded components from the build Including the gyp files forces the resources to be available in the snapshot to allow grit to succeed. Add a wrapping condition that explicitly includes supported components in Qt builds. Change-Id: I17d477f2bc26b35a0031830af087c81854951389 Reviewed-by: Andras Becsi <andras.becsi@digia.com> --- chromium/components/components.gyp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chromium/components/components.gyp b/chromium/components/components.gyp index b0ee53cb22a..dc0a18bceb4 100644 --- a/chromium/components/components.gyp +++ b/chromium/components/components.gyp @@ -9,6 +9,12 @@ # _mac.h or _mac.cc are only compiled on MacOSX). 'chromium_code': 1, }, +'conditions': [ + ['use_qt==1', { + 'includes': [ + 'visitedlink.gypi', + ], + }, { 'includes': [ 'auto_login_parser.gypi', 'autocomplete.gypi', @@ -91,4 +97,6 @@ ], }], ], + }], +], } -- GitLab