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

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

Issue 533743004: Fix Chrome linker errors in GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/renderer/BUILD.gn ('k') | content/test/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("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/renderer/renderer.gni") 7 import("//content/renderer/renderer.gni")
8 8
9 source_set("renderer") { 9 source_set("renderer") {
10 # Only targets in the content tree can depend directly on this target. 10 # Only targets in the content tree can depend directly on this target.
11 visibility = [ "//content/*" ] 11 visibility = [ "//content/*" ]
12 12
13 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, 13 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources,
14 ".", "//content") 14 ".", "//content")
15 15
16 configs += [ 16 configs += [
17 "//content:content_implementation", 17 "//content:content_implementation",
18 "//content:libjingle_stub_config",
19 ] 18 ]
20 19
21 deps = [ 20 deps = [
22 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but 21 # TODO(GYP) bug 376846 remove this. This should be inherited from //net but
23 # those don't cross component boundaries. 22 # those don't cross component boundaries.
24 "//crypto:platform", 23 "//crypto:platform",
25 24
26 "//base/allocator", 25 "//base/allocator",
27 "//cc/blink", 26 "//cc/blink",
28 "//content:resources", 27 "//content:resources",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 ] 121 ]
123 } 122 }
124 123
125 if (enable_webrtc) { 124 if (enable_webrtc) {
126 sources += rebase_path( 125 sources += rebase_path(
127 content_renderer_gypi_values.private_renderer_webrtc_sources, 126 content_renderer_gypi_values.private_renderer_webrtc_sources,
128 ".", "//content") 127 ".", "//content")
129 deps += [ 128 deps += [
130 "//crypto", 129 "//crypto",
131 "//third_party/libyuv", 130 "//third_party/libyuv",
131 "//third_party/webrtc/modules/audio_device",
132 "//third_party/webrtc/modules/audio_processing",
132 #"../third_party/libjingle/libjingle.gyp:libjingle_webrtc", TODO(GYP) 133 #"../third_party/libjingle/libjingle.gyp:libjingle_webrtc", TODO(GYP)
133 #"../third_party/libjingle/libjingle.gyp:libpeerconnection", TODO(GYP) 134 #"../third_party/libjingle/libjingle.gyp:libpeerconnection", TODO(GYP)
134 #"../third_party/webrtc/modules/modules.gyp:audio_device", TODO(GYP)
135 #"../third_party/webrtc/modules/modules.gyp:audio_processing", TODO(GYP)
136 ] 135 ]
137 } else { 136 } else {
138 sources += [ 137 sources += [
139 "media/webrtc_logging_noop.cc", 138 "media/webrtc_logging_noop.cc",
140 "media/webrtc_logging.h", 139 "media/webrtc_logging.h",
141 ] 140 ]
142 } 141 }
143 142
144 if (enable_plugins) { 143 if (enable_plugins) {
145 sources += rebase_path( 144 sources += rebase_path(
(...skipping 18 matching lines...) Expand all
164 if (enable_plugins && enable_webrtc) { 163 if (enable_plugins && enable_webrtc) {
165 sources += rebase_path( 164 sources += rebase_path(
166 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, 165 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources,
167 ".", "//content") 166 ".", "//content")
168 } 167 }
169 168
170 if (printing_mode == 1) { 169 if (printing_mode == 1) {
171 deps += [ "//printing" ] 170 deps += [ "//printing" ]
172 } 171 }
173 } 172 }
OLDNEW
« no previous file with comments | « content/public/renderer/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698