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

Side by Side 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: 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 | « content/browser/BUILD.gn ('k') | content/gpu/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/common/common.gni") 7 import("//content/common/common.gni")
8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 if (is_mac) { 9 if (is_mac) {
10 import("//build/config/mac/mac_sdk.gni") 10 import("//build/config/mac/mac_sdk.gni")
11 } 11 }
12 12
13 if (is_chromeos && current_cpu != "arm") { 13 if (is_chromeos_ui && current_cpu != "arm") {
14 action("libva_generate_stubs") { 14 action("libva_generate_stubs") {
15 extra_header = "gpu/media/va_stub_header.fragment" 15 extra_header = "gpu/media/va_stub_header.fragment"
16 16
17 script = "../../tools/generate_stubs/generate_stubs.py" 17 script = "../../tools/generate_stubs/generate_stubs.py"
18 sources = [ 18 sources = [
19 "gpu/media/va.sigs", 19 "gpu/media/va.sigs",
20 ] 20 ]
21 inputs = [ 21 inputs = [
22 extra_header, 22 extra_header,
23 ] 23 ]
(...skipping 21 matching lines...) Expand all
45 "-s", 45 "-s",
46 stubs_filename_root, 46 stubs_filename_root,
47 "-p", 47 "-p",
48 "content/common/gpu/media", 48 "content/common/gpu/media",
49 ] 49 ]
50 50
51 args += rebase_path(sources, root_build_dir) 51 args += rebase_path(sources, root_build_dir)
52 } 52 }
53 } 53 }
54 54
55 if (is_chromeos && use_v4lplugin) { 55 if (is_chromeos_ui && use_v4lplugin) {
56 action("libv4l2_generate_stubs") { 56 action("libv4l2_generate_stubs") {
57 extra_header = "gpu/media/v4l2_stub_header.fragment" 57 extra_header = "gpu/media/v4l2_stub_header.fragment"
58 58
59 script = "../../tools/generate_stubs/generate_stubs.py" 59 script = "../../tools/generate_stubs/generate_stubs.py"
60 sources = [ 60 sources = [
61 "gpu/media/v4l2.sig", 61 "gpu/media/v4l2.sig",
62 ] 62 ]
63 inputs = [ 63 inputs = [
64 extra_header, 64 extra_header,
65 ] 65 ]
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 } else { 302 } else {
303 sources -= [ "font_list_pango.cc" ] 303 sources -= [ "font_list_pango.cc" ]
304 } 304 }
305 305
306 if (use_x11) { 306 if (use_x11) {
307 configs += [ 307 configs += [
308 "//build/config/linux:xcomposite", 308 "//build/config/linux:xcomposite",
309 "//third_party/khronos:khronos_headers", 309 "//third_party/khronos:khronos_headers",
310 ] 310 ]
311 311
312 if (current_cpu != "arm" || !is_chromeos) { 312 if (current_cpu != "arm" || !is_chromeos_ui) {
313 sources += [ "gpu/x_util.h" ] 313 sources += [ "gpu/x_util.h" ]
314 } 314 }
315 } 315 }
316 316
317 if (enable_plugins) { 317 if (enable_plugins) {
318 deps += [ "//ppapi/shared_impl" ] 318 deps += [ "//ppapi/shared_impl" ]
319 } else { 319 } else {
320 sources -= [ 320 sources -= [
321 "pepper_file_util.cc", 321 "pepper_file_util.cc",
322 "pepper_file_util.h", 322 "pepper_file_util.h",
(...skipping 13 matching lines...) Expand all
336 sources += [ 336 sources += [
337 "gpu/media/android_video_decode_accelerator.cc", 337 "gpu/media/android_video_decode_accelerator.cc",
338 "gpu/media/android_video_decode_accelerator.h", 338 "gpu/media/android_video_decode_accelerator.h",
339 ] 339 ]
340 340
341 if (enable_webrtc) { 341 if (enable_webrtc) {
342 deps += [ "//third_party/libyuv" ] 342 deps += [ "//third_party/libyuv" ]
343 } 343 }
344 } 344 }
345 345
346 if (is_chromeos) { 346 if (is_chromeos_ui) {
347 sources += [ 347 sources += [
348 "gpu/media/accelerated_video_decoder.h", 348 "gpu/media/accelerated_video_decoder.h",
349 "gpu/media/h264_decoder.cc", 349 "gpu/media/h264_decoder.cc",
350 "gpu/media/h264_decoder.h", 350 "gpu/media/h264_decoder.h",
351 "gpu/media/h264_dpb.cc", 351 "gpu/media/h264_dpb.cc",
352 "gpu/media/h264_dpb.h", 352 "gpu/media/h264_dpb.h",
353 "gpu/media/vp8_decoder.cc", 353 "gpu/media/vp8_decoder.cc",
354 "gpu/media/vp8_decoder.h", 354 "gpu/media/vp8_decoder.h",
355 "gpu/media/vp8_picture.cc", 355 "gpu/media/vp8_picture.cc",
356 "gpu/media/vp8_picture.h", 356 "gpu/media/vp8_picture.h",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 505
506 import_dirs = [ "//mojo/services" ] 506 import_dirs = [ "//mojo/services" ]
507 507
508 deps = [ 508 deps = [
509 "//content/public/common:mojo_bindings", 509 "//content/public/common:mojo_bindings",
510 "//mojo/application/public/interfaces", 510 "//mojo/application/public/interfaces",
511 "//skia/public/interfaces", 511 "//skia/public/interfaces",
512 "//ui/mojo/geometry:interfaces", 512 "//ui/mojo/geometry:interfaces",
513 ] 513 ]
514 } 514 }
OLDNEW
« 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