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

Side by Side Diff: content/child/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 | « content/browser/BUILD.gn ('k') | content/common/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 import("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//content/child/child.gni") 8 import("//content/child/child.gni")
9 9
10 source_set("child") { 10 source_set("child") {
11 # Only the public target should depend on this. All other targets (even 11 # Only the public target should depend on this. All other targets (even
12 # internal content ones) should depend on the public one. 12 # internal content ones) should depend on the public one.
13 visibility = [ "//content/public/child:child_sources" ] 13 visibility = [ "//content/public/child:child_sources" ]
14 14
15 sources = rebase_path(content_child_gypi_values.private_child_sources, 15 sources = rebase_path(content_child_gypi_values.private_child_sources,
16 ".", 16 ".",
17 "//content") 17 "//content")
18 18
19 configs += [ "//build/config:precompiled_headers" ]
20
19 public_deps = [ 21 public_deps = [
20 "//third_party/mojo/src/mojo/edk/system", 22 "//third_party/mojo/src/mojo/edk/system",
21 ] 23 ]
22 24
23 deps = [ 25 deps = [
24 "//base", 26 "//base",
25 "//components/mime_util", 27 "//components/mime_util",
26 "//components/tracing", 28 "//components/tracing",
27 "//components/tracing:startup_tracing", 29 "//components/tracing:startup_tracing",
28 "//components/webcrypto", 30 "//components/webcrypto",
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 128
127 if (use_aura && is_mac) { 129 if (use_aura && is_mac) {
128 # This file is already excluded on non-Mac. 130 # This file is already excluded on non-Mac.
129 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] 131 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ]
130 } 132 }
131 133
132 if (is_win || !use_aura) { 134 if (is_win || !use_aura) {
133 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] 135 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
134 } 136 }
135 } 137 }
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698