[Android] Offer all TouchMoves to Javascript if TouchStart is consumed
[chromium-blink-merge.git] / win8 / win8.gyp
blob00bfa3bc6637ed326537794eaa173409dc8e7fd4
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       'conditions': [
20         ['MSVS_VERSION=="2010" or MSVS_VERSION=="2010e"', {
21           'actions': [
22             {
23               'action_name': 'check_sdk_patch_action',
24               'inputs': [
25                 '<(check_sdk_script)',
26               ],
27               'outputs': [
28                 # This keeps the ninja build happy and provides a slightly
29                 # helpful error message if the sdk is missing.
30                 '<(output_path)'
31               ],
32               'action': ['python',
33                         '<(check_sdk_script)',
34                         '<(windows_sdk_path)',
35                         '<(output_path)',
36                         ],
37             },
38           ],
39         }],
40       ],
41     },
42     {
43       'target_name': 'win8_util',
44       'type': 'static_library',
45       'dependencies': [
46         '../base/base.gyp:base',
47       ],
48       'sources': [
49         'util/win8_util.cc',
50         'util/win8_util.h',
51       ],
52     },
53     {
54       'target_name': 'metro_viewer',
55       'type': 'static_library',
56       'dependencies': [
57         '../base/base.gyp:base',
58         '../ipc/ipc.gyp:ipc',
59         '../ui/aura/aura.gyp:aura',
60         '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
61       ],
62       'sources': [
63         'viewer/metro_viewer_constants.cc',
64         'viewer/metro_viewer_constants.h',
65         'viewer/metro_viewer_process_host.cc',
66         'viewer/metro_viewer_process_host.h',
67       ],
68     },
69     {
70       'target_name': 'test_support_win8',
71       'type': 'static_library',
72       'dependencies': [
73         '../base/base.gyp:base',
74         'test_registrar_constants',
75       ],
76       'sources': [
77         'test/metro_registration_helper.cc',
78         'test/metro_registration_helper.h',
79         'test/open_with_dialog_async.cc',
80         'test/open_with_dialog_async.h',
81         'test/open_with_dialog_controller.cc',
82         'test/open_with_dialog_controller.h',
83         'test/ui_automation_client.cc',
84         'test/ui_automation_client.h',
85       ],
86       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
87       'msvs_disabled_warnings': [ 4267, ],
88     },
89     {
90       'target_name': 'test_registrar_constants',
91       'type': 'static_library',
92       'include_dirs': [
93         '..',
94       ],
95       'sources': [
96         'test/test_registrar_constants.cc',
97         'test/test_registrar_constants.h',
98       ],
99     },
100   ],