| OLD | NEW | 
|   1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |   1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 
|   2 # |   2 # | 
|   3 # Use of this source code is governed by a BSD-style license |   3 # Use of this source code is governed by a BSD-style license | 
|   4 # that can be found in the LICENSE file in the root of the source |   4 # that can be found in the LICENSE file in the root of the source | 
|   5 # tree. An additional intellectual property rights grant can be found |   5 # tree. An additional intellectual property rights grant can be found | 
|   6 # in the file PATENTS.  All contributing project authors may |   6 # in the file PATENTS.  All contributing project authors may | 
|   7 # be found in the AUTHORS file in the root of the source tree. |   7 # be found in the AUTHORS file in the root of the source tree. | 
|   8  |   8  | 
|   9 import("//build/config/arm.gni") |   9 import("//build/config/arm.gni") | 
|  10 import("../../build/webrtc.gni") |  10 import("../../build/webrtc.gni") | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
|  41     "../../modules/utility", |  41     "../../modules/utility", | 
|  42     "../../system_wrappers", |  42     "../../system_wrappers", | 
|  43   ] |  43   ] | 
|  44   if (build_video_processing_sse2) { |  44   if (build_video_processing_sse2) { | 
|  45     deps += [ ":video_processing_sse2" ] |  45     deps += [ ":video_processing_sse2" ] | 
|  46   } |  46   } | 
|  47   if (rtc_build_with_neon) { |  47   if (rtc_build_with_neon) { | 
|  48     deps += [ ":video_processing_neon" ] |  48     deps += [ ":video_processing_neon" ] | 
|  49   } |  49   } | 
|  50  |  50  | 
|  51   configs += [ "../..:common_config" ] |  | 
|  52   public_configs = [ "../..:common_inherited_config" ] |  51   public_configs = [ "../..:common_inherited_config" ] | 
|  53  |  52  | 
|  54   if (is_clang) { |  53   if (is_clang) { | 
|  55     # Suppress warnings from Chrome's Clang plugins. |  54     # Suppress warnings from Chrome's Clang plugins. | 
|  56     # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |  55     # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 
|  57     suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |  56     suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
|  58   } |  57   } | 
|  59 } |  58 } | 
|  60  |  59  | 
|  61 if (build_video_processing_sse2) { |  60 if (build_video_processing_sse2) { | 
|  62   rtc_source_set("video_processing_sse2") { |  61   rtc_source_set("video_processing_sse2") { | 
|  63     sources = [ |  62     sources = [ | 
|  64       "util/denoiser_filter_sse2.cc", |  63       "util/denoiser_filter_sse2.cc", | 
|  65       "util/denoiser_filter_sse2.h", |  64       "util/denoiser_filter_sse2.h", | 
|  66     ] |  65     ] | 
|  67  |  66  | 
|  68     configs += [ "../..:common_config" ] |  | 
|  69     public_configs = [ "../..:common_inherited_config" ] |  67     public_configs = [ "../..:common_inherited_config" ] | 
|  70  |  68  | 
|  71     if (is_clang) { |  69     if (is_clang) { | 
|  72       # Suppress warnings from Chrome's Clang plugins. |  70       # Suppress warnings from Chrome's Clang plugins. | 
|  73       # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |  71       # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 
|  74       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |  72       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
|  75     } |  73     } | 
|  76  |  74  | 
|  77     if (is_posix) { |  75     if (is_posix) { | 
|  78       cflags = [ "-msse2" ] |  76       cflags = [ "-msse2" ] | 
|  79     } |  77     } | 
|  80   } |  78   } | 
|  81 } |  79 } | 
|  82  |  80  | 
|  83 if (rtc_build_with_neon) { |  81 if (rtc_build_with_neon) { | 
|  84   rtc_source_set("video_processing_neon") { |  82   rtc_source_set("video_processing_neon") { | 
|  85     sources = [ |  83     sources = [ | 
|  86       "util/denoiser_filter_neon.cc", |  84       "util/denoiser_filter_neon.cc", | 
|  87       "util/denoiser_filter_neon.h", |  85       "util/denoiser_filter_neon.h", | 
|  88     ] |  86     ] | 
|  89     if (current_cpu != "arm64") { |  87     if (current_cpu != "arm64") { | 
|  90       suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ] |  88       suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ] | 
|  91       cflags = [ "-mfpu=neon" ] |  89       cflags = [ "-mfpu=neon" ] | 
|  92     } |  90     } | 
|  93     configs += [ "../..:common_config" ] |  | 
|  94     public_configs = [ "../..:common_inherited_config" ] |  91     public_configs = [ "../..:common_inherited_config" ] | 
|  95   } |  92   } | 
|  96 } |  93 } | 
| OLD | NEW |