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

Unified Diff: content/common/BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/gpu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index 17113e25a06a8099d7765d9d69f7964705dd648d..6c1decc0689a167f2a93de0b98f0bc1235b2f6b9 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -10,7 +10,7 @@ if (is_mac) {
import("//build/config/mac/mac_sdk.gni")
}
-if (is_chromeos && current_cpu != "arm") {
+if (use_cros_fe && current_cpu != "arm") {
action("libva_generate_stubs") {
extra_header = "gpu/media/va_stub_header.fragment"
@@ -52,7 +52,7 @@ if (is_chromeos && current_cpu != "arm") {
}
}
-if (is_chromeos && use_v4lplugin) {
+if (use_cros_fe && use_v4lplugin) {
action("libv4l2_generate_stubs") {
extra_header = "gpu/media/v4l2_stub_header.fragment"
@@ -310,7 +310,7 @@ source_set("common") {
"//third_party/khronos:khronos_headers",
]
- if (current_cpu != "arm" || !is_chromeos) {
+ if (current_cpu != "arm" || !use_cros_fe) {
sources += [ "gpu/x_util.h" ]
}
}
@@ -344,7 +344,7 @@ source_set("common") {
}
}
- if (is_chromeos) {
+ if (use_cros_fe) {
sources += [
"gpu/media/accelerated_video_decoder.h",
"gpu/media/h264_decoder.cc",
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698