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

Unified Diff: ash/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, 5 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
« no previous file with comments | « no previous file | base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/BUILD.gn
diff --git a/ash/BUILD.gn b/ash/BUILD.gn
index b710cf5673dd2808ef3ec336c988f71b528a0b33..9a10e271b42485f33a55c02718bafe873f882f70 100644
--- a/ash/BUILD.gn
+++ b/ash/BUILD.gn
@@ -14,6 +14,7 @@ gypi_values = exec_script("//build/gypi_to_gn.py",
component("ash") {
sources = gypi_values.ash_sources
+ configs += [ "//build/config:precompiled_headers" ]
defines = [ "ASH_IMPLEMENTATION" ]
public_deps = [
@@ -173,9 +174,10 @@ component("ash_with_content") {
]
}
-static_library("test_support") {
+source_set("test_support") {
testonly = true
sources = gypi_values.ash_test_support_sources
+ configs += [ "//build/config:precompiled_headers" ]
public_deps = [
":ash",
@@ -251,6 +253,7 @@ static_library("ash_shell_lib") {
test("ash_unittests") {
sources = gypi_values.ash_unittests_sources
+ configs += [ "//build/config:precompiled_headers" ]
deps = [
":ash",
« no previous file with comments | « no previous file | base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698