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

Side by Side Diff: ppapi/BUILD.gn

Issue 1250273002: Add precompiled headers to GN build for large targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mergey-wergey Created 5 years, 4 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
« no previous file with comments | « net/BUILD.gn ('k') | ppapi/cpp/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") { 5 copy("copy_test_files") {
6 visibility = [ ":*" ] 6 visibility = [ ":*" ]
7 sources = [ 7 sources = [
8 # Keep "test_case.html.mock-http-headers" with "test_case.html". 8 # Keep "test_case.html.mock-http-headers" with "test_case.html".
9 "tests/ppapi_nacl_tests_newlib.nmf", 9 "tests/ppapi_nacl_tests_newlib.nmf",
10 "tests/test_case.html", 10 "tests/test_case.html",
(...skipping 16 matching lines...) Expand all
27 ] 27 ]
28 } 28 }
29 29
30 import("//ppapi/ppapi_sources.gni") 30 import("//ppapi/ppapi_sources.gni")
31 import("//testing/test.gni") 31 import("//testing/test.gni")
32 32
33 shared_library("ppapi_tests") { 33 shared_library("ppapi_tests") {
34 sources = ppapi_sources.test_common_source_files + 34 sources = ppapi_sources.test_common_source_files +
35 ppapi_sources.test_trusted_source_files 35 ppapi_sources.test_trusted_source_files
36 36
37 configs += [ "//build/config:precompiled_headers" ]
37 defines = [ "GL_GLEXT_PROTOTYPES" ] 38 defines = [ "GL_GLEXT_PROTOTYPES" ]
38 include_dirs = [ "lib/gl/include" ] 39 include_dirs = [ "lib/gl/include" ]
39 40
40 deps = [ 41 deps = [
41 "//ppapi/cpp", 42 "//ppapi/cpp",
42 "//ppapi/shared_impl", 43 "//ppapi/shared_impl",
43 ":copy_test_files", 44 ":copy_test_files",
44 ":copy_test_files2", 45 ":copy_test_files2",
45 ] 46 ]
46 } 47 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 executable("pepper_hash_for_uma") { 133 executable("pepper_hash_for_uma") {
133 sources = [ 134 sources = [
134 "tools/pepper_hash_for_uma.cc", 135 "tools/pepper_hash_for_uma.cc",
135 ] 136 ]
136 137
137 deps = [ 138 deps = [
138 "//base", 139 "//base",
139 ] 140 ]
140 } 141 }
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | ppapi/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698