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': [
 | 
					        'defines': [
 | 
				
			||||||
          'MIPS32_LE',
 | 
					          'MIPS32_LE',
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -158,7 +158,7 @@
 | 
				
			|||||||
        ['target_arch=="arm64"', {
 | 
					        ['target_arch=="arm64"', {
 | 
				
			||||||
          'dependencies': ['common_audio_neon',],
 | 
					          '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': [
 | 
					          'sources': [
 | 
				
			||||||
            'signal_processing/include/spl_inl_mips.h',
 | 
					            'signal_processing/include/spl_inl_mips.h',
 | 
				
			||||||
            'signal_processing/complex_bit_reverse_mips.c',
 | 
					            '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': [
 | 
					          'sources': [
 | 
				
			||||||
            'fix/source/entropy_coding_mips.c',
 | 
					            'fix/source/entropy_coding_mips.c',
 | 
				
			||||||
            'fix/source/filters_mips.c',
 | 
					            'fix/source/filters_mips.c',
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -156,7 +156,7 @@
 | 
				
			|||||||
            'ns/nsx_defines.h',
 | 
					            'ns/nsx_defines.h',
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
          'conditions': [
 | 
					          'conditions': [
 | 
				
			||||||
            ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', {
 | 
					            ['target_arch=="mipsel" and mips_arch_variant!="r6"', {
 | 
				
			||||||
              'sources': [
 | 
					              'sources': [
 | 
				
			||||||
                'ns/nsx_core_mips.c',
 | 
					                'ns/nsx_core_mips.c',
 | 
				
			||||||
              ],
 | 
					              ],
 | 
				
			||||||
@@ -183,7 +183,7 @@
 | 
				
			|||||||
        ['(target_arch=="arm" and arm_version>=7) or target_arch=="arm64"', {
 | 
					        ['(target_arch=="arm" and arm_version>=7) or target_arch=="arm64"', {
 | 
				
			||||||
          'dependencies': ['audio_processing_neon',],
 | 
					          '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': [
 | 
					          'sources': [
 | 
				
			||||||
            'aecm/aecm_core_mips.c',
 | 
					            'aecm/aecm_core_mips.c',
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -224,11 +224,6 @@ if (is_android) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    configs += [ "..:common_config" ]
 | 
					    configs += [ "..:common_config" ]
 | 
				
			||||||
    public_configs = [ "..:common_inherited_config" ]
 | 
					    public_configs = [ "..:common_inherited_config" ]
 | 
				
			||||||
 | 
					 | 
				
			||||||
    if (is_android_webview_build) {
 | 
					 | 
				
			||||||
      libs += [ "cpufeatures.a" ]
 | 
					 | 
				
			||||||
    } else {
 | 
					 | 
				
			||||||
    deps = [ "//third_party/android_tools:cpu_features" ]
 | 
					    deps = [ "//third_party/android_tools:cpu_features" ]
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,8 +16,8 @@
 | 
				
			|||||||
          'sources': [
 | 
					          'sources': [
 | 
				
			||||||
            'source/cpu_features_android.c',
 | 
					            'source/cpu_features_android.c',
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
          'includes': [
 | 
					          'dependencies': [
 | 
				
			||||||
            '../../../build/android/cpufeatures.gypi',
 | 
					            '../../../build/android/ndk.gyp:cpu_features',
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,8 +16,8 @@
 | 
				
			|||||||
          'sources': [
 | 
					          'sources': [
 | 
				
			||||||
            'source/cpu_features_android.c',
 | 
					            'source/cpu_features_android.c',
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
          'includes': [
 | 
					          'dependencies': [
 | 
				
			||||||
            '../../build/android/cpufeatures.gypi',
 | 
					            '../../build/android/ndk.gyp:cpu_features',
 | 
				
			||||||
          ],
 | 
					          ],
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user