Revert of Roll src/third_party/WebKit e0eac24:489c548 (svn 193311:193320) (patchset...
[chromium-blink-merge.git] / ui / oobe / oobe.gyp
blob8b98764de13ecaef707d7a07d9275c231b58eac2
1 # Copyright (c) 2015 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: //ui/oobe:resources
9       'target_name': 'oobe_resources',
10       'type': 'none',
11       'variables': {
12         'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/oobe',
13       },
14       'actions': [
15         {
16           'action_name': 'oobe_resources',
17           'variables': {
18             'grit_grd_file': 'oobe_resources.grd',
19           },
20           'includes': [ '../../build/grit_action.gypi' ],
21         },
22       ],
23       'includes': [ '../../build/grit_target.gypi' ],
24       'copies': [
25         {
26           'destination': '<(PRODUCT_DIR)',
27           'files': [
28             '<(grit_out_dir)/oobe_resources.pak',
29           ],
30         },
31       ],
32     },
33     {
34       'variables': {
35         'declaration_file': 'declarations/oobe.json',
36       },
37       'includes': ['../../components/webui_generator/generator/wug.gypi'],
38     },
39     {
40       # GN version: //ui/oobe
41       'target_name': 'oobe',
42       'type': '<(component)',
43       'defines': [
44         'OOBE_IMPLEMENTATION'
45       ],
46       'dependencies': [
47         '<(DEPTH)/base/base.gyp:base',
48         '<(DEPTH)/content/content.gyp:content_browser',
49         '<(DEPTH)/components/components.gyp:webui_generator',
50         'oobe_resources',
51         'oobe_wug_generated',
52       ],
53       'sources': [
54         '<(SHARED_INTERMEDIATE_DIR)/ui/oobe/grit/oobe_resources_map.cc',
55         'oobe_md_ui.cc',
56         'oobe_md_ui.h',
57         'oobe_export.h',
58       ],
59       'export_dependent_settings': [
60         '<(DEPTH)/content/content.gyp:content_browser',
61       ]
62     },
63   ]