blob: 7f749aa7dbe01b35ed40e88eba88ebf143d23a32 [file] [log] [blame]
[email protected]7e4c33142014-05-21 22:01:321# Copyright 2014 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
[email protected]189add52014-05-28 16:51:445import("//tools/grit/grit_rule.gni")
6
7# Applied by targets internal to content.
8config("content_implementation") {
9 defines = [ "CONTENT_IMPLEMENTATION" ]
10}
11
[email protected]0e043592014-07-28 19:47:0412content_shared_components = [
[email protected]dab154ee2014-06-13 23:48:5013 "//content/gpu",
14 "//content/plugin",
15 "//content/ppapi_plugin",
thakis3f1281e2014-09-06 00:07:4716 "//content/public/app",
[email protected]22fe91d2014-08-12 17:07:1217 "//content/public/browser:sources",
[email protected]dab154ee2014-06-13 23:48:5018 "//content/public/child",
[email protected]0e043592014-07-28 19:47:0419 "//content/public/common",
[email protected]dab154ee2014-06-13 23:48:5020 "//content/public/plugin",
21 "//content/public/renderer",
22 "//content/renderer",
23 "//content/utility",
[email protected]dab154ee2014-06-13 23:48:5024]
25
26if (is_component_build) {
27 shared_library("content") {
[email protected]0e043592014-07-28 19:47:0428 deps = content_shared_components + [
29 "//content/app",
30 ]
[email protected]22fe91d2014-08-12 17:07:1231 forward_dependent_configs_from = deps
[email protected]dab154ee2014-06-13 23:48:5032 }
33} else {
34 group("content") {
[email protected]0e043592014-07-28 19:47:0435 deps = content_shared_components
[email protected]dab154ee2014-06-13 23:48:5036 }
37}
38
[email protected]189add52014-05-28 16:51:4439grit("resources") {
40 source = "content_resources.grd"
[email protected]ae8d08982014-08-20 19:42:2941 use_qualified_include = true
[email protected]b89c53842014-07-23 16:32:3242 outputs = [
43 "grit/content_resources.h",
44 "content_resources.pak",
45 "content_resources.rc",
46 ]
[email protected]189add52014-05-28 16:51:4447}
48
[email protected]dab154ee2014-06-13 23:48:5049# This target exists to "hold" the content_export header so we can do proper
50# inclusion testing of it.
51source_set("export") {
brettw9af42622014-09-06 21:21:0252 visibility = [ "//content/*" ]
[email protected]dab154ee2014-06-13 23:48:5053 sources = [
54 "content/common/content_export.h"
55 ]
56}