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

Side by Side Diff: content/public/renderer/BUILD.gn

Issue 554393009: Make chrome GN build work in component mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo gyp changes Created 6 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/public/plugin/BUILD.gn ('k') | content/public/utility/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/features.gni") 5 import("//build/config/features.gni")
6 import("//content/renderer/renderer.gni") 6 import("//content/renderer/renderer.gni")
7 7
8 source_set("renderer") { 8 # See //content/BUILD.gn for how this works.
9 group("renderer") {
10 if (is_component_build) {
11 deps = [ "//content" ]
12 } else {
13 deps = [ ":renderer_sources" ]
14 }
15 forward_dependent_configs_from = deps
16 }
17
18 source_set("renderer_sources") {
19 visibility = [ "//content/*" ]
20
9 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources, 21 sources = rebase_path(content_renderer_gypi_values.public_renderer_sources,
10 ".", "//content") 22 ".", "//content")
11 23
12 configs += [ 24 configs += [
13 "//content:content_implementation", 25 "//content:content_implementation",
14 ] 26 ]
15 27
16 deps = [ 28 deps = [
17 "//content/public/common", 29 "//content/public/common:common_sources",
18 "//content/renderer", 30 "//content/renderer",
19 "//skia", 31 "//skia",
20 "//third_party/libjingle", 32 "//third_party/libjingle",
21 "//third_party/WebKit/public:blink_headers", 33 "//third_party/WebKit/public:blink_headers",
22 "//third_party/widevine/cdm:version_h", 34 "//third_party/widevine/cdm:version_h",
23 "//ui/gfx", 35 "//ui/gfx",
24 "//v8", 36 "//v8",
25 ] 37 ]
26 38
27 allow_circular_includes_from = [ 39 allow_circular_includes_from = [
28 # This target is a pair with content/renderer. They always go together and 40 # This target is a pair with content/renderer. They always go together and
29 # include headers from each other. 41 # include headers from each other.
30 "//content/renderer", 42 # TODO(brettw) enable this when this permits non-dependent targets.
43 #"//content/renderer",
31 ] 44 ]
32 45
33 if (enable_webrtc) { 46 if (enable_webrtc) {
34 sources += rebase_path( 47 sources += rebase_path(
35 content_renderer_gypi_values.public_renderer_webrtc_sources, 48 content_renderer_gypi_values.public_renderer_webrtc_sources,
36 ".", "//content") 49 ".", "//content")
37 } 50 }
38 } 51 }
OLDNEW
« no previous file with comments | « content/public/plugin/BUILD.gn ('k') | content/public/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698