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

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

Issue 412053002: Scrub ozone files from linux GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove accidental gpyi change Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | content/common/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/browser/browser.gni") 7 import("//content/browser/browser.gni")
8 8
9 config("storage_config") { 9 config("storage_config") {
10 if (is_android) { 10 if (is_android) {
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 "geolocation/empty_wifi_data_provider.cc", 317 "geolocation/empty_wifi_data_provider.cc",
318 "geolocation/empty_wifi_data_provider.h", 318 "geolocation/empty_wifi_data_provider.h",
319 ] 319 ]
320 libs += [ "bsm" ] 320 libs += [ "bsm" ]
321 } 321 }
322 322
323 if (is_chromeos) { 323 if (is_chromeos) {
324 sources -= [ 324 sources -= [
325 "battery_status/battery_status_manager_default.cc", 325 "battery_status/battery_status_manager_default.cc",
326 "geolocation/wifi_data_provider_linux.cc", 326 "geolocation/wifi_data_provider_linux.cc",
327 "power_save_blocker_ozone.cc",
328 "power_save_blocker_x11.cc", 327 "power_save_blocker_x11.cc",
329 ] 328 ]
330 deps += [ "//chromeos:power_manager_proto" ] 329 deps += [ "//chromeos:power_manager_proto" ]
331 } 330 }
332 331
332 if (!use_ozone || is_chromeos) {
333 sources -= [
334 "power_save_blocker_ozone.cc",
335 ]
336 }
337
333 if (use_aura) { 338 if (use_aura) {
334 deps += [ 339 deps += [
335 "//ui/aura", 340 "//ui/aura",
336 "//ui/strings", 341 "//ui/strings",
337 ] 342 ]
338 } else { # Not aura. 343 } else { # Not aura.
339 sources -= [ 344 sources -= [
340 "renderer_host/input/synthetic_gesture_target_aura.cc", 345 "renderer_host/input/synthetic_gesture_target_aura.cc",
341 "renderer_host/input/synthetic_gesture_target_aura.h", 346 "renderer_host/input/synthetic_gesture_target_aura.h",
342 "renderer_host/native_web_keyboard_event_aura.cc", 347 "renderer_host/native_web_keyboard_event_aura.cc",
(...skipping 26 matching lines...) Expand all
369 ".", "//content") 374 ".", "//content")
370 if (!use_x11) { 375 if (!use_x11) {
371 sources -= [ 376 sources -= [
372 "compositor/software_output_device_x11.cc", 377 "compositor/software_output_device_x11.cc",
373 "compositor/software_output_device_x11.h", 378 "compositor/software_output_device_x11.h",
374 ] 379 ]
375 } 380 }
376 deps += [ "//ui/compositor" ] 381 deps += [ "//ui/compositor" ]
377 } 382 }
378 383
384 if (!use_ozone) {
385 sources -= [
386 "compositor/overlay_candidate_validator_ozone.cc",
387 "compositor/overlay_candidate_validator_ozone.h",
388 "compositor/software_output_device_ozone.cc",
389 "compositor/software_output_device_ozone.h",
390 ]
391 }
392
379 if (enable_web_speech) { 393 if (enable_web_speech) {
380 deps += [ 394 deps += [
381 "//third_party/flac", 395 "//third_party/flac",
382 "//third_party/speex", 396 "//third_party/speex",
383 ] 397 ]
384 } 398 }
385 399
386 if (is_linux) { 400 if (is_linux) {
387 if (use_dbus) { 401 if (use_dbus) {
388 sources -= [ 402 sources -= [
389 "geolocation/empty_wifi_data_provider.cc", 403 "geolocation/empty_wifi_data_provider.cc",
390 ] 404 ]
391 deps += [ "//dbus" ] 405 deps += [ "//dbus" ]
392 } else { 406 } else {
393 # This will already have gotten removed for all non-Linux cases. 407 # This will already have gotten removed for all non-Linux cases.
394 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] 408 sources -= [ "geolocation/wifi_data_provider_linux.cc" ]
395 } 409 }
396 } 410 }
397 } 411 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698