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

Side by Side Diff: extensions/common/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 | « extensions/browser/BUILD.gn ('k') | extensions/renderer/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("//extensions/extensions.gni") 7 import("//extensions/extensions.gni")
8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 9
10 # GYP version: extensions/extensions.gyp:extensions_common_constants 10 # GYP version: extensions/extensions.gyp:extensions_common_constants
(...skipping 16 matching lines...) Expand all
27 27
28 # GYP version: extensions/extensions.gyp:extensions_common 28 # GYP version: extensions/extensions.gyp:extensions_common
29 # This must be a static library because extensions common depends on 29 # This must be a static library because extensions common depends on
30 # GetTrustedICAPublicKey in extensions/browser which isn't always linked 30 # GetTrustedICAPublicKey in extensions/browser which isn't always linked
31 # in. TODO(brettw): This reverse dependency should be fixed. 31 # in. TODO(brettw): This reverse dependency should be fixed.
32 static_library("common") { 32 static_library("common") {
33 sources = rebase_path(extensions_gypi_values.extensions_common_sources, 33 sources = rebase_path(extensions_gypi_values.extensions_common_sources,
34 ".", 34 ".",
35 "//extensions") 35 "//extensions")
36 36
37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 37 configs += [
38 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 38 "//build/config:precompiled_headers",
39
40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
41 "//build/config/compiler:no_size_t_to_int_warning",
42 ]
39 43
40 deps = [ 44 deps = [
41 ":common_constants", 45 ":common_constants",
42 ":mojo", 46 ":mojo",
43 47
44 # TODO(benwells): figure out what to do with the api target and 48 # TODO(benwells): figure out what to do with the api target and
45 # api resources compiled into the chrome resource bundle. 49 # api resources compiled into the chrome resource bundle.
46 # http://crbug.com/162530 50 # http://crbug.com/162530
47 "//chrome:resources", 51 "//chrome:resources",
48 "//components/crx_file", 52 "//components/crx_file",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 84
81 if (enable_nacl) { 85 if (enable_nacl) {
82 nacl_sources = 86 nacl_sources =
83 rebase_path(extensions_gypi_values.extensions_common_sources_nacl, 87 rebase_path(extensions_gypi_values.extensions_common_sources_nacl,
84 ".", 88 ".",
85 "//extensions") 89 "//extensions")
86 sources += nacl_sources 90 sources += nacl_sources
87 } 91 }
88 } 92 }
89 } # enable_extensions 93 } # enable_extensions
OLDNEW
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698