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

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

Issue 1292433002: Defer media playback in background tabs. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. Created 5 years, 4 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 | « chrome/chrome_tests.gypi ('k') | chrome/renderer/chrome_content_renderer_client.h » ('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("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 gypi_values = exec_script("//build/gypi_to_gn.py", 8 gypi_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("../chrome_renderer.gypi") ], 9 [ rebase_path("../chrome_renderer.gypi") ],
10 "scope", 10 "scope",
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 170 }
171 if (is_win) { 171 if (is_win) {
172 deps += [ "//third_party/wtl" ] 172 deps += [ "//third_party/wtl" ]
173 } 173 }
174 if (is_android) { 174 if (is_android) {
175 sources -= [ 175 sources -= [
176 "spellchecker/hunspell_engine.cc", 176 "spellchecker/hunspell_engine.cc",
177 "spellchecker/hunspell_engine.h", 177 "spellchecker/hunspell_engine.h",
178 ] 178 ]
179 } 179 }
180 if (!is_android) {
181 sources +=
182 rebase_path(gypi_values.chrome_renderer_non_android_sources, ".", "..")
183 }
184 } 180 }
185 181
186 # In GYP this is part of test_support_common. 182 # In GYP this is part of test_support_common.
187 source_set("test_support") { 183 source_set("test_support") {
188 testonly = true 184 testonly = true
189 visibility = [ "//chrome/test:test_support" ] 185 visibility = [ "//chrome/test:test_support" ]
190 186
191 sources = [ 187 sources = [
192 "chrome_mock_render_thread.cc", 188 "chrome_mock_render_thread.cc",
193 "chrome_mock_render_thread.h", 189 "chrome_mock_render_thread.h",
(...skipping 14 matching lines...) Expand all
208 deps += [ "//chrome/service" ] 204 deps += [ "//chrome/service" ]
209 } 205 }
210 206
211 if (enable_webrtc) { 207 if (enable_webrtc) {
212 sources += [ 208 sources += [
213 "media/mock_webrtc_logging_message_filter.cc", 209 "media/mock_webrtc_logging_message_filter.cc",
214 "media/mock_webrtc_logging_message_filter.h", 210 "media/mock_webrtc_logging_message_filter.h",
215 ] 211 ]
216 } 212 }
217 } 213 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/chrome_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698