Android: Work around driver bug reporting GL errors.
[chromium-blink-merge.git] / win8 / win8.gyp
blobf44a3798ed48f09fef35c06d2673d3aee6842eec
1 # Copyright (c) 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.
5   'variables': {
6     'chromium_code': 1,
7   },
8   'includes': [
9     '../build/win_precompile.gypi',
10   ],
11   'targets': [
12     {
13       'target_name': 'check_sdk_patch',
14       'type': 'none',
15       'variables': {
16         'check_sdk_script': 'util/check_sdk_patch.py',
17         'output_path': '<(INTERMEDIATE_DIR)/check_sdk_patch',
18       },
19       'actions': [
20         {
21           'action_name': 'check_sdk_patch_action',
22           'inputs': [
23             '<(check_sdk_script)',
24           ],
25           'outputs': [
26             # This keeps the ninja build happy and provides a slightly helpful
27             # error messge if the sdk is missing.
28             '<(output_path)'
29           ],
30           'action': ['python',
31                      '<(check_sdk_script)',
32                      '<(windows_sdk_path)',
33                      '<(output_path)',
34                      ],
35         },
36       ],
37     },
38     {
39       'target_name': 'win8_util',
40       'type': 'static_library',
41       'dependencies': [
42         '../base/base.gyp:base',
43       ],
44       'sources': [
45         'util/win8_util.cc',
46         'util/win8_util.h',
47       ],
48     },
49     {
50       'target_name': 'test_support_win8',
51       'type': 'static_library',
52       'dependencies': [
53         '../base/base.gyp:base',
54         'test_registrar_constants',
55       ],
56       'sources': [
57         'test/metro_registration_helper.cc',
58         'test/metro_registration_helper.h',
59         'test/open_with_dialog_async.cc',
60         'test/open_with_dialog_async.h',
61         'test/open_with_dialog_controller.cc',
62         'test/open_with_dialog_controller.h',
63         'test/ui_automation_client.cc',
64         'test/ui_automation_client.h',
65       ],
66       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
67       'msvs_disabled_warnings': [ 4267, ],
68     },
69     {
70       'target_name': 'test_registrar_constants',
71       'type': 'static_library',
72       'include_dirs': [
73         '..',
74       ],
75       'sources': [
76         'test/test_registrar_constants.cc',
77         'test/test_registrar_constants.h',
78       ],
79     },
80   ],