Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
michael@0 | 2 | # Use of this source code is governed by a BSD-style license that can be |
michael@0 | 3 | # found in the LICENSE file. |
michael@0 | 4 | |
michael@0 | 5 | # This file is meant to be included into a target that will have one or more |
michael@0 | 6 | # uses of grit_action.gypi. To use this the following variables need to be |
michael@0 | 7 | # defined: |
michael@0 | 8 | # grit_out_dir: string: the output directory path |
michael@0 | 9 | |
michael@0 | 10 | # NOTE: This file is optional, not all targets that use grit include it, some |
michael@0 | 11 | # do their own custom directives instead. |
michael@0 | 12 | { |
michael@0 | 13 | 'conditions': [ |
michael@0 | 14 | # If the target is a direct binary, it needs to be able to find the header, |
michael@0 | 15 | # otherwise it probably a supporting target just for grit so the include |
michael@0 | 16 | # dir needs to be set on anything that depends on this action. |
michael@0 | 17 | ['_type=="executable" or _type=="shared_library" or \ |
michael@0 | 18 | _type=="loadable_module" or _type=="static_library"', { |
michael@0 | 19 | 'include_dirs': [ |
michael@0 | 20 | '<(grit_out_dir)', |
michael@0 | 21 | ], |
michael@0 | 22 | }, { |
michael@0 | 23 | 'direct_dependent_settings': { |
michael@0 | 24 | 'include_dirs': [ |
michael@0 | 25 | '<(grit_out_dir)', |
michael@0 | 26 | ], |
michael@0 | 27 | }, |
michael@0 | 28 | }], |
michael@0 | 29 | ], |
michael@0 | 30 | } |