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

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

Issue 1057993004: Revert of Work on Windows GN component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « components/nacl/BUILD.gn ('k') | 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 9
10 if (is_chromeos && current_cpu != "arm") { 10 if (is_chromeos && current_cpu != "arm") {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 public_deps = [ 138 public_deps = [
139 "//gpu/command_buffer/common", 139 "//gpu/command_buffer/common",
140 "//third_party/WebKit/public:blink_headers", 140 "//third_party/WebKit/public:blink_headers",
141 ] 141 ]
142 deps = [ 142 deps = [
143 "//base", 143 "//base",
144 "//build/util:webkit_version", 144 "//build/util:webkit_version",
145 "//components/tracing", 145 "//components/tracing",
146 "//gpu/command_buffer/client:gles2_interface", 146 "//gpu/command_buffer/client:gles2_interface",
147 "//gpu/command_buffer/common:gles2_utils",
148 "//net", 147 "//net",
149 "//skia", 148 "//skia",
150 "//third_party/icu", 149 "//third_party/icu",
151 "//ui/accessibility", 150 "//ui/accessibility",
152 "//ui/base", 151 "//ui/base",
153 "//ui/base/ime", 152 "//ui/base/ime",
154 "//ui/events/ipc", 153 "//ui/events/ipc",
155 "//ui/gfx", 154 "//ui/gfx",
156 "//ui/gfx/geometry", 155 "//ui/gfx/geometry",
157 "//ui/gfx/ipc", 156 "//ui/gfx/ipc",
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 if (use_ozone) { 272 if (use_ozone) {
274 # If we're using pango, never use this ozone file (it was removed in all 273 # If we're using pango, never use this ozone file (it was removed in all
275 # non-ozone cases above). 274 # non-ozone cases above).
276 sources -= [ "font_list_ozone.cc" ] 275 sources -= [ "font_list_ozone.cc" ]
277 } 276 }
278 } else { 277 } else {
279 sources -= [ "font_list_pango.cc" ] 278 sources -= [ "font_list_pango.cc" ]
280 } 279 }
281 280
282 if (use_x11) { 281 if (use_x11) {
283 configs += [ 282 include_dirs += [ "//third_party/khronos" ]
284 "//build/config/linux:xcomposite", 283 configs += [ "//build/config/linux:xcomposite" ]
285 "//third_party/khronos:khronos_headers",
286 ]
287 284
288 if (current_cpu != "arm" || !is_chromeos) { 285 if (current_cpu != "arm" || !is_chromeos) {
289 sources += [ "gpu/x_util.h" ] 286 sources += [ "gpu/x_util.h" ]
290 } 287 }
291 } 288 }
292 289
293 if (enable_plugins) { 290 if (enable_plugins) {
294 deps += [ "//ppapi/shared_impl" ] 291 deps += [ "//ppapi/shared_impl" ]
295 } else { 292 } else {
296 sources -= [ 293 sources -= [
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 ] 396 ]
400 } 397 }
401 } 398 }
402 } 399 }
403 400
404 if (is_win) { 401 if (is_win) {
405 sources += [ 402 sources += [
406 "gpu/media/dxva_video_decode_accelerator.cc", 403 "gpu/media/dxva_video_decode_accelerator.cc",
407 "gpu/media/dxva_video_decode_accelerator.h", 404 "gpu/media/dxva_video_decode_accelerator.h",
408 ] 405 ]
409 configs += [ "//third_party/khronos:khronos_headers" ] 406 include_dirs += [ "//third_party/khronos" ]
410 deps += [ "//ui/gl" ] 407 deps += [ "//ui/gl" ]
411 libs += [ 408 libs += [
412 "d3d9.lib", 409 "d3d9.lib",
413 "d3d11.lib", 410 "d3d11.lib",
414 "dxva2.lib", 411 "dxva2.lib",
415 "strmiids.lib", 412 "strmiids.lib",
416 "mf.lib", 413 "mf.lib",
417 "mfplat.lib", 414 "mfplat.lib",
418 "mfuuid.lib", 415 "mfuuid.lib",
419 ] 416 ]
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 "permission_service.mojom", 469 "permission_service.mojom",
473 "presentation/presentation_service.mojom", 470 "presentation/presentation_service.mojom",
474 "render_frame_setup.mojom", 471 "render_frame_setup.mojom",
475 ] 472 ]
476 473
477 deps = [ 474 deps = [
478 "//content/public/common:mojo_bindings", 475 "//content/public/common:mojo_bindings",
479 "//third_party/mojo/src/mojo/public/interfaces/application:application", 476 "//third_party/mojo/src/mojo/public/interfaces/application:application",
480 ] 477 ]
481 } 478 }
OLDNEW
« no previous file with comments | « components/nacl/BUILD.gn ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698