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

Side by Side Diff: extensions/common/BUILD.gn

Issue 1256223003: Revert "Add precompiled headers to GN build for large targets." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 configs += [ 37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
38 "//build/config:precompiled_headers", 38 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
39
40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
41 "//build/config/compiler:no_size_t_to_int_warning",
42 ]
43 39
44 deps = [ 40 deps = [
45 ":common_constants", 41 ":common_constants",
46 ":mojo", 42 ":mojo",
47 43
48 # TODO(benwells): figure out what to do with the api target and 44 # TODO(benwells): figure out what to do with the api target and
49 # api resources compiled into the chrome resource bundle. 45 # api resources compiled into the chrome resource bundle.
50 # http://crbug.com/162530 46 # http://crbug.com/162530
51 "//chrome:resources", 47 "//chrome:resources",
52 "//components/crx_file", 48 "//components/crx_file",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 80
85 if (enable_nacl) { 81 if (enable_nacl) {
86 nacl_sources = 82 nacl_sources =
87 rebase_path(extensions_gypi_values.extensions_common_sources_nacl, 83 rebase_path(extensions_gypi_values.extensions_common_sources_nacl,
88 ".", 84 ".",
89 "//extensions") 85 "//extensions")
90 sources += nacl_sources 86 sources += nacl_sources
91 } 87 }
92 } 88 }
93 } # enable_extensions 89 } # 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