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

Side by Side Diff: media/base/BUILD.gn

Issue 547533006: GN: fix up //media/base linux dependencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | 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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/config/linux/pkg_config.gni") 8 import("//build/config/linux/pkg_config.gni")
9 import("//media/media_options.gni") 9 import("//media/media_options.gni")
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 if (is_linux && use_x11) { 188 if (is_linux && use_x11) {
189 configs += [ 189 configs += [
190 "//build/config/linux:x11", 190 "//build/config/linux:x11",
191 "//build/config/linux:xext", 191 "//build/config/linux:xext",
192 # TODO(ajwong): Why does xent get a separate thing in //build/config/linux:BUI LD.gn 192 # TODO(ajwong): Why does xent get a separate thing in //build/config/linux:BUI LD.gn
193 # "//build/config/linux:xdamage", 193 # "//build/config/linux:xdamage",
194 # "//build/config/linux:xfixes", 194 # "//build/config/linux:xfixes",
195 # "//build/config/linux:xtst", 195 # "//build/config/linux:xtst",
196 ] 196 ]
197 sources += [ "user_input_monitor_linux.cc" ] 197 sources += [ "user_input_monitor_linux.cc" ]
198 deps += [
199 "//ui/events:events_base",
200 "//ui/gfx/x",
201 ]
198 } else if (is_mac) { 202 } else if (is_mac) {
199 sources += [ "user_input_monitor_mac.cc" ] 203 sources += [ "user_input_monitor_mac.cc" ]
200 } else if (is_win) { 204 } else if (is_win) {
201 sources += [ "user_input_monitor_win.cc" ] 205 sources += [ "user_input_monitor_win.cc" ]
202 } else { 206 } else {
203 defines += [ "DISABLE_USER_INPUT_MONITOR" ] 207 defines += [ "DISABLE_USER_INPUT_MONITOR" ]
204 } 208 }
205 209
206 if (cpu_arch == "x86" || cpu_arch == "x64") { 210 if (cpu_arch == "x86" || cpu_arch == "x64") {
207 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ] 211 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ]
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 if (is_posix) { 415 if (is_posix) {
412 yasm_flags += [ "-DELF" ] 416 yasm_flags += [ "-DELF" ]
413 if (cpu_arch == "x64") { 417 if (cpu_arch == "x64") {
414 # TODO(ajwong): Why isn't this true in mac? 418 # TODO(ajwong): Why isn't this true in mac?
415 yasm_flags += [ "-DPIC" ] 419 yasm_flags += [ "-DPIC" ]
416 } 420 }
417 } 421 }
418 } 422 }
419 } 423 }
420 } 424 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698