Improve YouCompleteMe handling of Blink header without source files.
[chromium-blink-merge.git] / extensions / extensions_strings.gyp
blob3adaeb256616c249aeeed145613a84fa7d0abf74
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN version: //extensions:strings
9       'target_name': 'extensions_strings',
10       'type': 'none',
11       'actions': [
12         {
13           'action_name': 'generate_extensions_strings',
14           'variables': {
15             'grit_grd_file': 'extensions_strings.grd',
16             'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
17           },
18           'includes': [ '../build/grit_action.gypi' ],
19         },
20       ],
21       'direct_dependent_settings': {
22         'include_dirs': [
23           '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
24         ],
25       },
26       # This target generates extensions_strings.h so it must be built before
27       # targets that depend on it.
28       'hard_dependency': 1,
29     },
30   ],