| OLD | NEW |
| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 } | 243 } |
| 244 | 244 |
| 245 if (cpu_arch == "x86" || cpu_arch == "x64") { | 245 if (cpu_arch == "x86" || cpu_arch == "x64") { |
| 246 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ] | 246 sources += [ "simd/convert_yuv_to_rgb_x86.cc" ] |
| 247 deps += [ | 247 deps += [ |
| 248 ":media_yasm", | 248 ":media_yasm", |
| 249 ":media_sse2", | 249 ":media_sse2", |
| 250 ] | 250 ] |
| 251 } | 251 } |
| 252 | 252 |
| 253 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 254 |
| 253 if (is_linux || is_win) { | 255 if (is_linux || is_win) { |
| 254 sources += [ | 256 sources += [ |
| 255 "keyboard_event_counter.cc", | 257 "keyboard_event_counter.cc", |
| 256 "keyboard_event_counter.h", | 258 "keyboard_event_counter.h", |
| 257 ] | 259 ] |
| 258 } | 260 } |
| 259 } | 261 } |
| 260 | 262 |
| 261 # Minimal media component for media/cast on iOS. | 263 # Minimal media component for media/cast on iOS. |
| 262 config("base_for_cast_ios_dependent_config") { | 264 config("base_for_cast_ios_dependent_config") { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 if (is_posix) { | 471 if (is_posix) { |
| 470 yasm_flags += [ "-DELF" ] | 472 yasm_flags += [ "-DELF" ] |
| 471 if (cpu_arch == "x64") { | 473 if (cpu_arch == "x64") { |
| 472 # TODO(ajwong): Why isn't this true in mac? | 474 # TODO(ajwong): Why isn't this true in mac? |
| 473 yasm_flags += [ "-DPIC" ] | 475 yasm_flags += [ "-DPIC" ] |
| 474 } | 476 } |
| 475 } | 477 } |
| 476 } | 478 } |
| 477 } | 479 } |
| 478 } | 480 } |
| OLD | NEW |