Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / xwalk / sysapps / sysapps_tests.gyp
1 {
2   'targets': [
3     {
4       'target_name': 'xwalk_sysapps_unittest',
5       'type': 'executable',
6       'dependencies': [
7         '../../base/base.gyp:base',
8         '../../base/base.gyp:run_all_unittests',
9         '../../content/content_shell_and_tests.gyp:test_support_content',
10         '../../testing/gtest.gyp:gtest',
11         '../extensions/extensions.gyp:xwalk_extensions',
12         'sysapps.gyp:sysapps',
13       ],
14       'sources': [
15         'common/binding_object_store_unittest.cc',
16         'common/event_target_unittest.cc',
17         'common/sysapps_manager_unittest.cc',
18         'device_capabilities/av_codecs_provider_unittest.cc',
19         'device_capabilities/cpu_info_provider_unittest.cc',
20         'device_capabilities/display_info_provider_unittest.cc',
21         'device_capabilities/memory_info_provider_unittest.cc',
22         'device_capabilities/storage_info_provider_unittest.cc',
23       ],
24       'conditions': [
25         ['OS=="linux"', {
26           'dependencies': [
27             '../../dbus/dbus.gyp:dbus',
28           ],
29         }],
30         ['os_posix==1 and OS!="mac" and linux_use_tcmalloc==1', {
31           'dependencies': [
32             '../../base/allocator/allocator.gyp:allocator',
33           ],
34         }],
35         ['use_aura==1', {
36           'dependencies': [
37           '../../ui/views/views.gyp:views',
38           ],
39         }],
40       ],
41     },
42     {
43       'target_name': 'xwalk_sysapps_browsertest',
44       'type': 'executable',
45       'dependencies': [
46         '../../base/base.gyp:base',
47         '../../content/content_shell_and_tests.gyp:test_support_content',
48         '../../net/net.gyp:net',
49         '../../skia/skia.gyp:skia',
50         '../../testing/gtest.gyp:gtest',
51         '../extensions/extensions.gyp:xwalk_extensions',
52         '../test/base/base.gyp:xwalk_test_base',
53         '../xwalk.gyp:xwalk_runtime',
54         'sysapps.gyp:sysapps',
55       ],
56       'defines': [
57         'HAS_OUT_OF_PROC_TEST_RUNNER',
58       ],
59       'sources': [
60         'common/common_api_browsertest.cc',
61         'common/common_api_browsertest.h',
62         'device_capabilities/device_capabilities_api_browsertest.cc',
63         'raw_socket/raw_socket_api_browsertest.cc'
64       ],
65     },
66   ],
67 }