Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: ppapi/BUILD.gn

Issue 979643002: Fix the following browser_tests in the Linux GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/BUILD.gn
diff --git a/ppapi/BUILD.gn b/ppapi/BUILD.gn
index f7ff011c7f48fcaa854b8dcf8f5530e8aba47b71..3c302ab6497ff5f6da6f6f1222536f91e586ec3c 100644
--- a/ppapi/BUILD.gn
+++ b/ppapi/BUILD.gn
@@ -2,6 +2,30 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+copy("copy_test_files") {
+ visibility = [ ":*" ]
+ sources = [
+ # Keep "test_case.html.mock-http-headers" with "test_case.html".
+ "tests/test_case.html",
+ "tests/test_case.html.mock-http-headers",
+ "tests/test_page.css",
+ "tests/ppapi_nacl_tests_newlib.nmf",
+ ]
+ outputs = [
+ "$root_out_dir/{{source_file_part}}",
+ ]
+}
+
+copy("copy_test_files2") {
+ visibility = [ ":*" ]
+ sources = [
+ "tests/test_url_loader_data/hello.txt",
+ ]
+ outputs = [
+ "$root_out_dir/test_url_loader_data/{{source_file_part}}",
+ ]
+}
+
import("//ppapi/ppapi_sources.gni")
shared_library("ppapi_tests") {
sources = ppapi_sources.test_common_source_files +
@@ -13,6 +37,8 @@ shared_library("ppapi_tests") {
deps = [
"//ppapi/cpp",
"//ppapi/shared_impl",
+ ":copy_test_files",
+ ":copy_test_files2",
]
}
# TODO(GYP) other targets from ppapi_tests.gyp

Powered by Google App Engine
This is Rietveld 408576698