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: 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: Fix build.gn 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
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } 167 }
168 if (is_win) { 168 if (is_win) {
169 deps += [ "//third_party/wtl" ] 169 deps += [ "//third_party/wtl" ]
170 } 170 }
171 if (is_android) { 171 if (is_android) {
172 sources -= [ 172 sources -= [
173 "spellchecker/hunspell_engine.cc", 173 "spellchecker/hunspell_engine.cc",
174 "spellchecker/hunspell_engine.h", 174 "spellchecker/hunspell_engine.h",
175 ] 175 ]
176 } 176 }
177 if (!is_android) {
178 sources +=
179 rebase_path(gypi_values.chrome_renderer_non_android_sources, ".", "..")
180 }
181 } 177 }
182 178
183 # In GYP this is part of test_support_common. 179 # In GYP this is part of test_support_common.
184 source_set("test_support") { 180 source_set("test_support") {
185 testonly = true 181 testonly = true
186 visibility = [ "//chrome/test:test_support" ] 182 visibility = [ "//chrome/test:test_support" ]
187 183
188 sources = [ 184 sources = [
189 "chrome_mock_render_thread.cc", 185 "chrome_mock_render_thread.cc",
190 "chrome_mock_render_thread.h", 186 "chrome_mock_render_thread.h",
(...skipping 14 matching lines...) Expand all
205 deps += [ "//chrome/service" ] 201 deps += [ "//chrome/service" ]
206 } 202 }
207 203
208 if (enable_webrtc) { 204 if (enable_webrtc) {
209 sources += [ 205 sources += [
210 "media/mock_webrtc_logging_message_filter.cc", 206 "media/mock_webrtc_logging_message_filter.cc",
211 "media/mock_webrtc_logging_message_filter.h", 207 "media/mock_webrtc_logging_message_filter.h",
212 ] 208 ]
213 } 209 }
214 } 210 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698