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

Side by Side 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, 9 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 copy("copy_test_files") {
6 visibility = [ ":*" ]
7 sources = [
8 # Keep "test_case.html.mock-http-headers" with "test_case.html".
9 "tests/test_case.html",
10 "tests/test_case.html.mock-http-headers",
11 "tests/test_page.css",
12 "tests/ppapi_nacl_tests_newlib.nmf",
13 ]
14 outputs = [
15 "$root_out_dir/{{source_file_part}}",
16 ]
17 }
18
19 copy("copy_test_files2") {
20 visibility = [ ":*" ]
21 sources = [
22 "tests/test_url_loader_data/hello.txt",
23 ]
24 outputs = [
25 "$root_out_dir/test_url_loader_data/{{source_file_part}}",
26 ]
27 }
28
5 import("//ppapi/ppapi_sources.gni") 29 import("//ppapi/ppapi_sources.gni")
6 shared_library("ppapi_tests") { 30 shared_library("ppapi_tests") {
7 sources = ppapi_sources.test_common_source_files + 31 sources = ppapi_sources.test_common_source_files +
8 ppapi_sources.test_trusted_source_files 32 ppapi_sources.test_trusted_source_files
9 33
10 defines = [ "GL_GLEXT_PROTOTYPES" ] 34 defines = [ "GL_GLEXT_PROTOTYPES" ]
11 include_dirs = [ "lib/gl/include" ] 35 include_dirs = [ "lib/gl/include" ]
12 36
13 deps = [ 37 deps = [
14 "//ppapi/cpp", 38 "//ppapi/cpp",
15 "//ppapi/shared_impl", 39 "//ppapi/shared_impl",
40 ":copy_test_files",
41 ":copy_test_files2",
16 ] 42 ]
17 } 43 }
18 # TODO(GYP) other targets from ppapi_tests.gyp 44 # TODO(GYP) other targets from ppapi_tests.gyp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698