OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
7 import("//ppapi/native_client/nacl_test_data.gni") | 7 import("//ppapi/native_client/nacl_test_data.gni") |
8 | 8 |
9 group("extensions") { | 9 group("extensions") { |
10 newlib = "//build/toolchain/nacl:clang_newlib_${target_cpu}" | 10 newlib = "//build/toolchain/nacl:clang_newlib_${target_cpu}" |
(...skipping 15 matching lines...) Expand all Loading... |
26 data_deps += [ ":ppapi_tests_extensions_packaged_app($nonsfi)" ] | 26 data_deps += [ ":ppapi_tests_extensions_packaged_app($nonsfi)" ] |
27 } | 27 } |
28 } | 28 } |
29 | 29 |
30 if (is_nacl && !is_nacl_nonsfi) { | 30 if (is_nacl && !is_nacl_nonsfi) { |
31 nacl_test_data("ppapi_tests_extensions_background_keepalive") { | 31 nacl_test_data("ppapi_tests_extensions_background_keepalive") { |
32 sources = [ | 32 sources = [ |
33 "background_keepalive/background.cc", | 33 "background_keepalive/background.cc", |
34 ] | 34 ] |
35 deps = [ | 35 deps = [ |
36 "//ppapi:ppapi_cpp_lib", | 36 "//ppapi/cpp", |
37 ] | 37 ] |
38 destination_dir = "test_data/ppapi/tests/extensions/background_keepalive" | 38 destination_dir = "test_data/ppapi/tests/extensions/background_keepalive" |
39 test_files = [ | 39 test_files = [ |
40 "background_keepalive/background.js", | 40 "background_keepalive/background.js", |
41 "background_keepalive/manifest.json", | 41 "background_keepalive/manifest.json", |
42 ] | 42 ] |
43 } | 43 } |
44 | 44 |
45 nacl_test_data("ppapi_tests_extensions_load_unload") { | 45 nacl_test_data("ppapi_tests_extensions_load_unload") { |
46 sources = [ | 46 sources = [ |
47 "load_unload/load_unload.cc", | 47 "load_unload/load_unload.cc", |
48 ] | 48 ] |
49 deps = [ | 49 deps = [ |
50 "//ppapi:ppapi_cpp_lib", | 50 "//ppapi/cpp", |
51 ] | 51 ] |
52 destination_dir = "test_data/ppapi/tests/extensions/load_unload" | 52 destination_dir = "test_data/ppapi/tests/extensions/load_unload" |
53 test_files = [ | 53 test_files = [ |
54 "load_unload/background.js", | 54 "load_unload/background.js", |
55 "load_unload/ext_icon.png", | 55 "load_unload/ext_icon.png", |
56 "load_unload/manifest.json", | 56 "load_unload/manifest.json", |
57 ] | 57 ] |
58 } | 58 } |
59 | 59 |
60 nacl_test_data("ppapi_tests_extensions_media_galleries") { | 60 nacl_test_data("ppapi_tests_extensions_media_galleries") { |
61 sources = [ | 61 sources = [ |
62 "//ppapi/tests/test_utils.cc", | 62 "//ppapi/tests/test_utils.cc", |
63 "//ppapi/tests/test_utils.h", | 63 "//ppapi/tests/test_utils.h", |
64 "media_galleries/test_galleries.cc", | 64 "media_galleries/test_galleries.cc", |
65 ] | 65 ] |
66 deps = [ | 66 deps = [ |
67 "//ppapi:ppapi_cpp_lib", | 67 "//ppapi/cpp", |
68 ] | 68 ] |
69 destination_dir = "test_data/ppapi/tests/extensions/media_galleries" | 69 destination_dir = "test_data/ppapi/tests/extensions/media_galleries" |
70 test_files = [ | 70 test_files = [ |
71 "media_galleries/background.js", | 71 "media_galleries/background.js", |
72 "media_galleries/index.html", | 72 "media_galleries/index.html", |
73 "media_galleries/manifest.json", | 73 "media_galleries/manifest.json", |
74 "media_galleries/test.js", | 74 "media_galleries/test.js", |
75 ] | 75 ] |
76 } | 76 } |
77 | 77 |
78 nacl_test_data("ppapi_tests_extensions_multicast_permissions") { | 78 nacl_test_data("ppapi_tests_extensions_multicast_permissions") { |
79 sources = [ | 79 sources = [ |
80 "multicast_permissions/test_multicast_permissions.cc", | 80 "multicast_permissions/test_multicast_permissions.cc", |
81 ] | 81 ] |
82 deps = [ | 82 deps = [ |
83 "//ppapi:ppapi_cpp_lib", | 83 "//ppapi/cpp", |
84 ] | 84 ] |
85 destination_dir = "test_data/ppapi/tests/extensions/multicast_permissions" | 85 destination_dir = "test_data/ppapi/tests/extensions/multicast_permissions" |
86 test_files = [ | 86 test_files = [ |
87 "multicast_permissions/controller.js", | 87 "multicast_permissions/controller.js", |
88 "multicast_permissions/index.html", | 88 "multicast_permissions/index.html", |
89 "multicast_permissions/main.js", | 89 "multicast_permissions/main.js", |
90 "multicast_permissions/manifest.json", | 90 "multicast_permissions/manifest.json", |
91 ] | 91 ] |
92 } | 92 } |
93 | 93 |
94 nacl_test_data("ppapi_tests_extensions_no_socket_permissions") { | 94 nacl_test_data("ppapi_tests_extensions_no_socket_permissions") { |
95 sources = [ | 95 sources = [ |
96 "no_socket_permissions/test_no_socket_permissions.cc", | 96 "no_socket_permissions/test_no_socket_permissions.cc", |
97 ] | 97 ] |
98 deps = [ | 98 deps = [ |
99 "//ppapi:ppapi_cpp_lib", | 99 "//ppapi/cpp", |
100 ] | 100 ] |
101 destination_dir = "test_data/ppapi/tests/extensions/no_socket_permissions" | 101 destination_dir = "test_data/ppapi/tests/extensions/no_socket_permissions" |
102 test_files = [ | 102 test_files = [ |
103 "no_socket_permissions/controller.js", | 103 "no_socket_permissions/controller.js", |
104 "no_socket_permissions/index.html", | 104 "no_socket_permissions/index.html", |
105 "no_socket_permissions/main.js", | 105 "no_socket_permissions/main.js", |
106 "no_socket_permissions/manifest.json", | 106 "no_socket_permissions/manifest.json", |
107 ] | 107 ] |
108 } | 108 } |
109 | 109 |
110 nacl_test_data("ppapi_tests_extensions_popup") { | 110 nacl_test_data("ppapi_tests_extensions_popup") { |
111 sources = [ | 111 sources = [ |
112 "popup/module.cc", | 112 "popup/module.cc", |
113 ] | 113 ] |
114 deps = [ | 114 deps = [ |
115 "//ppapi:ppapi_cpp_lib", | 115 "//ppapi/cpp", |
116 ] | 116 ] |
117 destination_dir = "test_data/ppapi/tests/extensions/popup" | 117 destination_dir = "test_data/ppapi/tests/extensions/popup" |
118 test_files = [ | 118 test_files = [ |
119 "popup/background.js", | 119 "popup/background.js", |
120 "popup/popup.html", | 120 "popup/popup.html", |
121 "popup/popup.js", | 121 "popup/popup.js", |
122 "popup/manifest.json", | 122 "popup/manifest.json", |
123 ] | 123 ] |
124 } | 124 } |
125 | 125 |
126 nacl_test_data("ppapi_tests_extensions_socket_permissions") { | 126 nacl_test_data("ppapi_tests_extensions_socket_permissions") { |
127 sources = [ | 127 sources = [ |
128 "socket_permissions/test_socket_permissions.cc", | 128 "socket_permissions/test_socket_permissions.cc", |
129 ] | 129 ] |
130 deps = [ | 130 deps = [ |
131 "//ppapi:ppapi_cpp_lib", | 131 "//ppapi/cpp", |
132 ] | 132 ] |
133 destination_dir = "test_data/ppapi/tests/extensions/socket_permissions" | 133 destination_dir = "test_data/ppapi/tests/extensions/socket_permissions" |
134 test_files = [ | 134 test_files = [ |
135 "socket_permissions/controller.js", | 135 "socket_permissions/controller.js", |
136 "socket_permissions/index.html", | 136 "socket_permissions/index.html", |
137 "socket_permissions/main.js", | 137 "socket_permissions/main.js", |
138 "socket_permissions/manifest.json", | 138 "socket_permissions/manifest.json", |
139 ] | 139 ] |
140 } | 140 } |
141 } | 141 } |
142 | 142 |
143 if (is_nacl) { | 143 if (is_nacl) { |
144 nacl_test_data("ppapi_tests_extensions_packaged_app") { | 144 nacl_test_data("ppapi_tests_extensions_packaged_app") { |
145 sources = [ | 145 sources = [ |
146 "packaged_app/test_packaged_app.cc", | 146 "packaged_app/test_packaged_app.cc", |
147 ] | 147 ] |
148 deps = [ | 148 deps = [ |
149 "//ppapi:ppapi_cpp_lib", | 149 "//ppapi/cpp", |
150 ] | 150 ] |
151 destination_dir = "test_data/ppapi/tests/extensions/packaged_app" | 151 destination_dir = "test_data/ppapi/tests/extensions/packaged_app" |
152 test_files = [ | 152 test_files = [ |
153 "packaged_app/controller.js", | 153 "packaged_app/controller.js", |
154 "packaged_app/index.html", | 154 "packaged_app/index.html", |
155 "packaged_app/main.js", | 155 "packaged_app/main.js", |
156 "packaged_app/manifest.json", | 156 "packaged_app/manifest.json", |
157 "packaged_app/test_file.txt", | 157 "packaged_app/test_file.txt", |
158 "packaged_app/test_file2.txt", | 158 "packaged_app/test_file2.txt", |
159 ] | 159 ] |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 "-xtest_file122:test_file.txt", | 286 "-xtest_file122:test_file.txt", |
287 "-xtest_file123:test_file2.txt", | 287 "-xtest_file123:test_file2.txt", |
288 "-xtest_file124:test_file.txt", | 288 "-xtest_file124:test_file.txt", |
289 "-xtest_file125:test_file2.txt", | 289 "-xtest_file125:test_file2.txt", |
290 "-xtest_file126:test_file.txt", | 290 "-xtest_file126:test_file.txt", |
291 "-xtest_file127:test_file2.txt", | 291 "-xtest_file127:test_file2.txt", |
292 "-xtest_file128:test_file.txt", | 292 "-xtest_file128:test_file.txt", |
293 ] | 293 ] |
294 } | 294 } |
295 } | 295 } |
OLD | NEW |