Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / third_party / mojo / mojo_edk.gyp
blob0b5b475fc9d6e8da2191be16de058e6b17634418
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.
6   'includes': [
7     'mojo_variables.gypi',
8   ],
9   'target_defaults' : {
10     'include_dirs': [
11       'src',
12     ],
13     'direct_dependent_settings': {
14       'include_dirs': [
15         'src',
16       ],
17     },
18   },
19   'targets': [
20     {
21       # GN version: //mojo/edk/system
22       'target_name': 'mojo_system_impl',
23       'type': '<(component)',
24       'dependencies': [
25         '../../base/base.gyp:base',
26         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
27       ],
28       'includes': [
29         'mojo_edk_system_impl.gypi',
30       ],
31     },
32     {
33       # GN version: //mojo/edk/js
34       'target_name': 'mojo_js_lib',
35       'type': 'static_library',
36       'dependencies': [
37         '../../base/base.gyp:base',
38         '../../gin/gin.gyp:gin',
39         '../../v8/tools/gyp/v8.gyp:v8',
40       ],
41       'export_dependent_settings': [
42         '../../base/base.gyp:base',
43         '../../gin/gin.gyp:gin',
44       ],
45       'sources': [
46         # Sources list duplicated in GN build.
47         'src/mojo/edk/js/core.cc',
48         'src/mojo/edk/js/core.h',
49         'src/mojo/edk/js/drain_data.cc',
50         'src/mojo/edk/js/drain_data.h',
51         'src/mojo/edk/js/handle.cc',
52         'src/mojo/edk/js/handle.h',
53         'src/mojo/edk/js/handle_close_observer.h',
54         'src/mojo/edk/js/mojo_runner_delegate.cc',
55         'src/mojo/edk/js/mojo_runner_delegate.h',
56         'src/mojo/edk/js/support.cc',
57         'src/mojo/edk/js/support.h',
58         'src/mojo/edk/js/threading.cc',
59         'src/mojo/edk/js/threading.h',
60         'src/mojo/edk/js/waiting_callback.cc',
61         'src/mojo/edk/js/waiting_callback.h',
62       ],
63     },
64     {
65       # GN version: //mojo/edk/test:test_support_impl
66       'target_name': 'mojo_test_support_impl',
67       'type': 'static_library',
68       'dependencies': [
69         '../../base/base.gyp:base',
70       ],
71       'sources': [
72         'src/mojo/edk/test/test_support_impl.cc',
73         'src/mojo/edk/test/test_support_impl.h',
74       ],
75     },
76     {
77       # GN version: //mojo/edk/test:test_support
78       'target_name': 'mojo_common_test_support',
79       'type': 'static_library',
80       'dependencies': [
81         '../../base/base.gyp:base',
82         '../../base/base.gyp:test_support_base',
83         '../../testing/gtest.gyp:gtest',
84         'mojo_system_impl',
85       ],
86       'sources': [
87         'src/mojo/edk/test/multiprocess_test_helper.cc',
88         'src/mojo/edk/test/multiprocess_test_helper.h',
89         'src/mojo/edk/test/scoped_ipc_support.cc',
90         'src/mojo/edk/test/scoped_ipc_support.h',
91         'src/mojo/edk/test/test_utils.h',
92         'src/mojo/edk/test/test_utils_posix.cc',
93         'src/mojo/edk/test/test_utils_win.cc',
94       ],
95       'conditions': [
96         ['OS=="ios"', {
97           'sources!': [
98             'src/mojo/edk/test/multiprocess_test_helper.cc',
99           ],
100         }],
101       ],
102     },
103     {
104       # GN version: //mojo/edk/test:run_all_unittests
105       'target_name': 'mojo_run_all_unittests',
106       'type': 'static_library',
107       'dependencies': [
108         '../../base/base.gyp:base',
109         '../../base/base.gyp:test_support_base',
110         '../../testing/gtest.gyp:gtest',
111         'mojo_system_impl',
112         'mojo_public.gyp:mojo_public_test_support',
113         'mojo_test_support_impl',
114       ],
115       'sources': [
116         'src/mojo/edk/test/run_all_unittests.cc',
117       ],
118     },
119     {
120       # GN version: //mojo/edk/test:run_all_perftests
121       'target_name': 'mojo_run_all_perftests',
122       'type': 'static_library',
123       'dependencies': [
124         '../../base/base.gyp:test_support_base',
125         'mojo_edk.gyp:mojo_system_impl',
126         'mojo_public.gyp:mojo_public_test_support',
127         'mojo_test_support_impl',
128       ],
129       'sources': [
130         'src/mojo/edk/test/run_all_perftests.cc',
131       ],
132     },
133   ],
134   'conditions': [
135     ['OS=="win" and target_arch=="ia32"', {
136       'targets': [
137         {
138           'target_name': 'mojo_system_impl_win64',
139           'type': '<(component)',
140           'dependencies': [
141             '../../base/base.gyp:base_win64',
142             '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
143           ],
144           'includes': [
145             'mojo_edk_system_impl.gypi',
146           ],
147           'configurations': {
148             'Common_Base': {
149               'msvs_target_platform': 'x64',
150             },
151           },
152         },
153       ],
154     }],
155   ],