Upstream version 5.34.97.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_posix==1 and OS!="mac" and linux_use_tcmalloc==1', {
26           'dependencies': [
27             '../../base/allocator/allocator.gyp:allocator',
28           ],
29         }],
30         ['use_aura==1', {
31           'dependencies': [
32           '../../ui/views/views.gyp:views',
33           ],
34         }],
35       ],
36     },
37     {
38       'target_name': 'xwalk_sysapps_browsertest',
39       'type': 'executable',
40       'dependencies': [
41         '../../base/base.gyp:base',
42         '../../content/content_shell_and_tests.gyp:test_support_content',
43         '../../net/net.gyp:net',
44         '../../skia/skia.gyp:skia',
45         '../../testing/gtest.gyp:gtest',
46         '../extensions/extensions.gyp:xwalk_extensions',
47         '../test/base/base.gyp:xwalk_test_base',
48         '../xwalk.gyp:xwalk_runtime',
49         'sysapps.gyp:sysapps',
50       ],
51       'defines': [
52         'HAS_OUT_OF_PROC_TEST_RUNNER',
53       ],
54       'sources': [
55         'common/common_api_browsertest.cc',
56         'common/common_api_browsertest.h',
57         'device_capabilities/device_capabilities_api_browsertest.cc',
58         'raw_socket/raw_socket_api_browsertest.cc'
59       ],
60     },
61   ],
62 }