Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / win8 / win8.gyp
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.
4 {
5   'variables': {
6     'chromium_code': 1,
7   },
8   'includes': [
9     '../build/win_precompile.gypi',
10   ],
11   'targets': [
12     {
13       'target_name': 'metro_viewer_constants',
14       'type': 'static_library',
15       'include_dirs': [
16         '..',
17       ],
18       'sources': [
19         'viewer/metro_viewer_constants.cc',
20         'viewer/metro_viewer_constants.h',
21       ],
22     },
23     {
24       'target_name': 'metro_viewer',
25       'type': 'static_library',
26       'dependencies': [
27         '../base/base.gyp:base',
28         '../ipc/ipc.gyp:ipc',
29         '../ui/aura/aura.gyp:aura',
30         '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
31         'metro_viewer_constants'
32       ],
33       'sources': [
34         'viewer/metro_viewer_process_host.cc',
35         'viewer/metro_viewer_process_host.h',
36       ],
37     },
38     {
39       'target_name': 'test_support_win8',
40       'type': 'static_library',
41       'dependencies': [
42         '../base/base.gyp:base',
43         'test_registrar_constants',
44       ],
45       'sources': [
46         'test/metro_registration_helper.cc',
47         'test/metro_registration_helper.h',
48         'test/open_with_dialog_async.cc',
49         'test/open_with_dialog_async.h',
50         'test/open_with_dialog_controller.cc',
51         'test/open_with_dialog_controller.h',
52         'test/ui_automation_client.cc',
53         'test/ui_automation_client.h',
54       ],
55       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
56       'msvs_disabled_warnings': [ 4267, ],
57     },
58     {
59       'target_name': 'test_registrar_constants',
60       'type': 'static_library',
61       'include_dirs': [
62         '..',
63       ],
64       'sources': [
65         'test/test_registrar_constants.cc',
66         'test/test_registrar_constants.h',
67       ],
68     },
69   ],
70 }