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

Side by Side Diff: content/content.gni

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again Created 3 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 unified diff | Download patch
« no previous file with comments | « content/common/worker_messages.h ('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_target(target_name) {
10 target_type = "source_set"
11 forward_variables_from(invoker, "*")
12 }
13 }
14
15 template("content_component") {
16 jumbo_target(target_name) {
17 if (is_component_build) {
18 if (defined(invoker.split_count)) {
19 target_type = "split_static_library"
20 } else {
21 target_type = "static_library"
22 }
23 } else {
24 target_type = "source_set"
25 if (defined(invoker.split_count)) {
26 assert(invoker.split_count > 0) # Avoid not-user variable warning.
27 }
28 }
29 forward_variables_from(invoker, "*")
30 }
31 }
32
33 set_defaults("content_source_set") {
34 # This sets the default list of configs when the content_source_set target
35 # is defined. The default_compiler_configs comes from BUILDCONFIG.gn and
36 # is the list normally applied to static libraries and source sets.
37 configs = default_compiler_configs
38 }
39
40 set_defaults("content_component") {
41 # This sets the default list of configs when the content_source_set target
42 # is defined. The default_compiler_configs comes from BUILDCONFIG.gn and
43 # is the list normally applied to static libraries and source sets.
44 configs = default_compiler_configs
45 }
OLDNEW
« no previous file with comments | « content/common/worker_messages.h ('k') | content/public/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698