1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/trunk/build/grit_target.gypi Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# Copyright (c) 2011 The Chromium Authors. All rights reserved. 1.5 +# Use of this source code is governed by a BSD-style license that can be 1.6 +# found in the LICENSE file. 1.7 + 1.8 +# This file is meant to be included into a target that will have one or more 1.9 +# uses of grit_action.gypi. To use this the following variables need to be 1.10 +# defined: 1.11 +# grit_out_dir: string: the output directory path 1.12 + 1.13 +# NOTE: This file is optional, not all targets that use grit include it, some 1.14 +# do their own custom directives instead. 1.15 +{ 1.16 + 'conditions': [ 1.17 + # If the target is a direct binary, it needs to be able to find the header, 1.18 + # otherwise it probably a supporting target just for grit so the include 1.19 + # dir needs to be set on anything that depends on this action. 1.20 + ['_type=="executable" or _type=="shared_library" or \ 1.21 + _type=="loadable_module" or _type=="static_library"', { 1.22 + 'include_dirs': [ 1.23 + '<(grit_out_dir)', 1.24 + ], 1.25 + }, { 1.26 + 'direct_dependent_settings': { 1.27 + 'include_dirs': [ 1.28 + '<(grit_out_dir)', 1.29 + ], 1.30 + }, 1.31 + }], 1.32 + ], 1.33 +}