Fix crash on app list start page keyboard navigation with <4 apps.
[chromium-blink-merge.git] / ios / chrome / ios_chrome_resources.gyp
blob1e92fc272d8f43eb7f0df8ea0449b1e717ef6a66
1 # Copyright 2012 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   'variables': {
7     'chromium_code': 1,
8     'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)',
9     'grit_out_dir': '<(grit_base_dir)/ios/chrome',
10     # TODO(lliabraa): Remove this whitelist.
11     'grit_whitelist': '<(DEPTH)/ios/build/grit_whitelist.txt',
12   },
13   'targets': [
14     {
15       'target_name': 'ios_theme_resources_gen',
16       'type': 'none',
17       'actions': [
18         {
19           'action_name': 'ios_theme_resources',
20           'variables': {
21             'grit_grd_file': 'app/theme/ios_theme_resources.grd',
22           },
23           'includes': [ '../../build/grit_action.gypi' ],
24         },
25       ],
26       'includes': [ '../../build/grit_target.gypi' ],
27       # Override the exported include-dirs; ios_theme_resources.h should only be
28       # referencable as ios/chrome/grit/, to allow DEPS-time checking of usage.
29       'direct_dependent_settings': {
30         'include_dirs': [
31           '<(grit_base_dir)',
32         ],
33         'include_dirs!': [
34           '<(grit_out_dir)',
35         ],
36       },
37     },
38   ],