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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/BUILD.gn
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 97a6dd4146ef64a3a7d3a08cd281286a3e2d1e8d..865298387b2f45637155759704b94b7c725d03f6 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -324,12 +324,17 @@ source_set("browser") {
sources -= [
"battery_status/battery_status_manager_default.cc",
"geolocation/wifi_data_provider_linux.cc",
- "power_save_blocker_ozone.cc",
"power_save_blocker_x11.cc",
]
deps += [ "//chromeos:power_manager_proto" ]
}
+ if (!use_ozone || is_chromeos) {
+ sources -= [
+ "power_save_blocker_ozone.cc",
+ ]
+ }
+
if (use_aura) {
deps += [
"//ui/aura",
@@ -376,6 +381,15 @@ source_set("browser") {
deps += [ "//ui/compositor" ]
}
+ if (!use_ozone) {
+ sources -= [
+ "compositor/overlay_candidate_validator_ozone.cc",
+ "compositor/overlay_candidate_validator_ozone.h",
+ "compositor/software_output_device_ozone.cc",
+ "compositor/software_output_device_ozone.h",
+ ]
+ }
+
if (enable_web_speech) {
deps += [
"//third_party/flac",
« 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