• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4
5{
6  'variables': {
7    'chromium_code': 1,
8  },
9  'targets': [
10    {
11      'target_name': 'athena_resources',
12      'type': 'none',
13      'variables': {
14        'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/athena/resources',
15      },
16      'actions': [
17        {
18          'action_name': 'athena_resources',
19          'variables': {
20            'grit_grd_file': 'athena_resources.grd',
21          },
22          'includes': [ '../../build/grit_action.gypi' ],
23        },
24      ],
25      'includes': [ '../../build/grit_target.gypi' ],
26    },
27    {
28      'target_name': 'athena_pak',
29      'type': 'none',
30      'dependencies': [
31        '../../ash/ash_resources.gyp:ash_resources',
32        '../../components/components_resources.gyp:components_resources',
33        '../../components/components_strings.gyp:components_strings',
34        '../../content/app/resources/content_resources.gyp:content_resources',
35        '../../content/app/strings/content_strings.gyp:content_strings',
36        '../../extensions/extensions.gyp:extensions_shell_and_test_pak',
37        '../../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources',
38        '../../ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings',
39        'athena_resources',
40      ],
41      'actions': [{
42        'action_name': 'repack_athena_pack',
43        'variables': {
44          'pak_inputs': [
45            '<(PRODUCT_DIR)/extensions_shell_and_test.pak',
46            '<(SHARED_INTERMEDIATE_DIR)/ash/resources/ash_resources_100_percent.pak',
47            '<(SHARED_INTERMEDIATE_DIR)/athena/resources/athena_resources_100_percent.pak',
48            '<(SHARED_INTERMEDIATE_DIR)/athena/strings/athena_strings_en-US.pak',
49            '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_100_percent.pak',
50            '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
51            '<(SHARED_INTERMEDIATE_DIR)/components/strings/components_strings_en-US.pak',
52            '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
53            '<(SHARED_INTERMEDIATE_DIR)/ui/chromeos/resources/ui_chromeos_resources_100_percent.pak',
54            '<(SHARED_INTERMEDIATE_DIR)/ui/chromeos/strings/ui_chromeos_strings_en-US.pak',
55          ],
56          'pak_output': '<(PRODUCT_DIR)/athena_resources.pak',
57        },
58        'includes': [ '../../build/repack_action.gypi' ],
59      }],
60    },
61  ]
62}
63