Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ppapi / tests / extensions / extensions.gyp
1 # Copyright (c) 2013 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 {
6   'includes': [
7     '../../../ppapi/ppapi_nacl_test_common.gypi',
8   ],
9   'targets': [
10     {
11       'target_name': 'ppapi_tests_extensions_background_keepalive',
12       'type': 'none',
13       'variables': {
14         'nexe_target': 'ppapi_tests_extensions_background_keepalive',
15         # Only newlib build is used in tests, no need to build others.
16         'build_newlib': 1,
17         'build_glibc': 0,
18         'build_pnacl_newlib': 0,
19         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/background_keepalive',
20         'sources': [
21           'background_keepalive/background.cc',
22         ],
23         'test_files': [
24           'background_keepalive/background.js',
25           'background_keepalive/manifest.json',
26         ],
27       },
28     },
29     {
30       'target_name': 'ppapi_tests_extensions_media_galleries',
31       'type': 'none',
32       'variables': {
33         'nexe_target': 'ppapi_tests_extensions_media_galleries',
34         # Only newlib build is used in tests, no need to build others.
35         'build_newlib': 1,
36         'build_glibc': 0,
37         'build_pnacl_newlib': 0,
38         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/media_galleries',
39         'sources': [
40           'media_galleries/test_galleries.cc',
41           '<(DEPTH)/ppapi/tests/test_utils.cc',
42           '<(DEPTH)/ppapi/tests/test_utils.h',
43         ],
44         'test_files': [
45           'media_galleries/background.js',
46           'media_galleries/index.html',
47           'media_galleries/manifest.json',
48           'media_galleries/test.js',
49         ],
50       },
51     },
52     {
53       'target_name': 'ppapi_tests_extensions_packaged_app',
54       'type': 'none',
55       'variables': {
56         'nexe_target': 'ppapi_tests_extensions_packaged_app',
57         # TODO(teravest): Add testing for glibc, pnacl, and nonsfi modes.
58         'build_newlib': 1,
59         'build_glibc': 0,
60         'build_pnacl_newlib': 0,
61         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/packaged_app',
62         'sources': [
63           'packaged_app/test_packaged_app.cc'
64         ],
65         'test_files': [
66           'packaged_app/controller.js',
67           'packaged_app/index.html',
68           'packaged_app/main.js',
69           'packaged_app/manifest.json',
70         ],
71       },
72     },
73   ],
74 }