Remove android_webview_build conditions.
Now that android_webview_build is no longer supported, remove build conditionals referencing it and also remove the extra level of indirection used to reference the cpufeatures target. BUG=chromium:440793 R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/44119005 Patch from Richard Coles <torne@chromium.org>. Cr-Commit-Position: refs/heads/master@{#8963}
This commit is contained in:
		@@ -285,7 +285,7 @@
 | 
			
		||||
          }],
 | 
			
		||||
        ],
 | 
			
		||||
      }],
 | 
			
		||||
      ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', {
 | 
			
		||||
      ['target_arch=="mipsel" and mips_arch_variant!="r6"', {
 | 
			
		||||
        'defines': [
 | 
			
		||||
          'MIPS32_LE',
 | 
			
		||||
        ],
 | 
			
		||||
 
 | 
			
		||||
@@ -158,7 +158,7 @@
 | 
			
		||||
        ['target_arch=="arm64"', {
 | 
			
		||||
          'dependencies': ['common_audio_neon',],
 | 
			
		||||
        }],
 | 
			
		||||
        ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', {
 | 
			
		||||
        ['target_arch=="mipsel" and mips_arch_variant!="r6"', {
 | 
			
		||||
          'sources': [
 | 
			
		||||
            'signal_processing/include/spl_inl_mips.h',
 | 
			
		||||
            'signal_processing/complex_bit_reverse_mips.c',
 | 
			
		||||
 
 | 
			
		||||
@@ -95,7 +95,7 @@
 | 
			
		||||
            }],
 | 
			
		||||
          ],
 | 
			
		||||
        }],
 | 
			
		||||
        ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', {
 | 
			
		||||
        ['target_arch=="mipsel" and mips_arch_variant!="r6"', {
 | 
			
		||||
          'sources': [
 | 
			
		||||
            'fix/source/entropy_coding_mips.c',
 | 
			
		||||
            'fix/source/filters_mips.c',
 | 
			
		||||
 
 | 
			
		||||
@@ -156,7 +156,7 @@
 | 
			
		||||
            'ns/nsx_defines.h',
 | 
			
		||||
          ],
 | 
			
		||||
          'conditions': [
 | 
			
		||||
            ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', {
 | 
			
		||||
            ['target_arch=="mipsel" and mips_arch_variant!="r6"', {
 | 
			
		||||
              'sources': [
 | 
			
		||||
                'ns/nsx_core_mips.c',
 | 
			
		||||
              ],
 | 
			
		||||
@@ -183,7 +183,7 @@
 | 
			
		||||
        ['(target_arch=="arm" and arm_version>=7) or target_arch=="arm64"', {
 | 
			
		||||
          'dependencies': ['audio_processing_neon',],
 | 
			
		||||
        }],
 | 
			
		||||
        ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', {
 | 
			
		||||
        ['target_arch=="mipsel" and mips_arch_variant!="r6"', {
 | 
			
		||||
          'sources': [
 | 
			
		||||
            'aecm/aecm_core_mips.c',
 | 
			
		||||
          ],
 | 
			
		||||
 
 | 
			
		||||
@@ -224,11 +224,6 @@ if (is_android) {
 | 
			
		||||
 | 
			
		||||
    configs += [ "..:common_config" ]
 | 
			
		||||
    public_configs = [ "..:common_inherited_config" ]
 | 
			
		||||
 | 
			
		||||
    if (is_android_webview_build) {
 | 
			
		||||
      libs += [ "cpufeatures.a" ]
 | 
			
		||||
    } else {
 | 
			
		||||
    deps = [ "//third_party/android_tools:cpu_features" ]
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -16,8 +16,8 @@
 | 
			
		||||
          'sources': [
 | 
			
		||||
            'source/cpu_features_android.c',
 | 
			
		||||
          ],
 | 
			
		||||
          'includes': [
 | 
			
		||||
            '../../../build/android/cpufeatures.gypi',
 | 
			
		||||
          'dependencies': [
 | 
			
		||||
            '../../../build/android/ndk.gyp:cpu_features',
 | 
			
		||||
          ],
 | 
			
		||||
        },
 | 
			
		||||
      ],
 | 
			
		||||
 
 | 
			
		||||
@@ -16,8 +16,8 @@
 | 
			
		||||
          'sources': [
 | 
			
		||||
            'source/cpu_features_android.c',
 | 
			
		||||
          ],
 | 
			
		||||
          'includes': [
 | 
			
		||||
            '../../build/android/cpufeatures.gypi',
 | 
			
		||||
          'dependencies': [
 | 
			
		||||
            '../../build/android/ndk.gyp:cpu_features',
 | 
			
		||||
          ],
 | 
			
		||||
        },
 | 
			
		||||
      ],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user