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

Side by Side Diff: content/content.gni

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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/common/sandbox_linux/bpf_gpu_policy_linux.cc ('k') | content/public/browser/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
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/jumbo.gni")
6 import("//build/split_static_library.gni")
7
8 template("content_source_set") {
9 jumbo_source_set(target_name) {
10 forward_variables_from(invoker, "*")
11 }
12 }
13
14 template("content_component") {
15 if (is_component_build) {
16 if (defined(invoker.split_count)) {
17 target_type = "split_static_library"
18 } else {
19 target_type = "static_library"
20 }
21 } else {
22 target_type = "source_set"
23 if (defined(invoker.split_count)) {
24 assert(invoker.split_count > 0) # Avoid not-user variable warning.
25 }
26 }
27 target("jumbo_" + target_type, target_name) {
28 forward_variables_from(invoker, "*")
29 }
30 }
31
32 set_defaults("content_source_set") {
33 # This sets the default list of configs when the content_source_set target
34 # is defined. The default_compiler_configs comes from BUILDCONFIG.gn and
35 # is the list normally applied to static libraries and source sets.
36 configs = default_compiler_configs
37 }
38
39 set_defaults("content_component") {
40 # This sets the default list of configs when the content_source_set target
41 # is defined. The default_compiler_configs comes from BUILDCONFIG.gn and
42 # is the list normally applied to static libraries and source sets.
43
44 ### FIXME: CHECK THAT WE SHOULD NOT USE COMPONENT DEFAULTS
45 configs = default_compiler_configs
46 }
OLDNEW
« no previous file with comments | « content/common/sandbox_linux/bpf_gpu_policy_linux.cc ('k') | content/public/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698