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

Side by Side Diff: libvpx.gyp

Issue 1069353002: Remove android_webview_build conditions. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 5 'variables': {
6 'libvpx_build_vp9%': 1, 6 'libvpx_build_vp9%': 1,
7 'libvpx_source%': 'source/libvpx', 7 'libvpx_source%': 'source/libvpx',
8 # Disable LTO for neon targets 8 # Disable LTO for neon targets
9 # crbug.com/408997 9 # crbug.com/408997
10 'use_lto%': 0, 10 'use_lto%': 0,
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 ], 286 ],
287 'direct_dependent_settings': { 287 'direct_dependent_settings': {
288 'include_dirs': [ 288 'include_dirs': [
289 '<(libvpx_source)', 289 '<(libvpx_source)',
290 ], 290 ],
291 }, 291 },
292 # We need to explicitly tell the assembler to look for 292 # We need to explicitly tell the assembler to look for
293 # .include directive files from the place where they're 293 # .include directive files from the place where they're
294 # generated to. 294 # generated to.
295 'cflags': [ 295 'cflags': [
296 '-Wa,-I,<(shared_generated_dir)', 296 '-Wa,-I,<(shared_generated_dir)',
297 '-Wa,-I,<!(pwd)/source/config/<(OS_CATEGORY)/<(target_arch_full)',
298 '-Wa,-I,<!(pwd)/source/config',
297 ], 299 ],
298 'conditions': [ 300 'conditions': [
299 # For Android WebView, the following pathc are not required and not
300 # allowed, because they generate the absolute path.
301 ['android_webview_build!=1', {
302 'cflags': [
303 '-Wa,-I,<!(pwd)/source/config/<(OS_CATEGORY)/<(target_arch_full) ',
304 '-Wa,-I,<!(pwd)/source/config',
305 ],
306 }],
307 # Libvpx optimizations for ARMv6 or ARMv7 without NEON. 301 # Libvpx optimizations for ARMv6 or ARMv7 without NEON.
308 ['arm_neon==0', { 302 ['arm_neon==0', {
309 'conditions': [ 303 'conditions': [
310 ['OS=="android"', { 304 ['OS=="android"', {
311 'includes': [ 305 'includes': [
312 'libvpx_srcs_arm_neon_cpu_detect.gypi', 306 'libvpx_srcs_arm_neon_cpu_detect.gypi',
313 ], 307 ],
314 'dependencies': [ 308 'dependencies': [
315 'libvpx_intrinsics_neon', 309 'libvpx_intrinsics_neon',
316 ], 310 ],
317 'cflags': [ 311 'cflags': [
318 '-Wa,-mfpu=neon', 312 '-Wa,-mfpu=neon',
319 ], 313 ],
320 }, { 314 }, {
321 'includes': [ 315 'includes': [
322 'libvpx_srcs_arm.gypi', 316 'libvpx_srcs_arm.gypi',
323 ], 317 ],
324 }], 318 }],
325 ], 319 ],
326 }], 320 }],
327 # Libvpx optimizations for ARMv7 with NEON. 321 # Libvpx optimizations for ARMv7 with NEON.
328 ['arm_neon==1', { 322 ['arm_neon==1', {
329 'includes': [ 323 'includes': [
330 'libvpx_srcs_arm_neon.gypi', 324 'libvpx_srcs_arm_neon.gypi',
331 ], 325 ],
332 }], 326 }],
333 ['OS == "android"', { 327 ['OS == "android"', {
334 'includes': [ 328 'dependencies': [
335 '../../build/android/cpufeatures.gypi', 329 '../../build/android/ndk.gyp:cpu_features',
336 ], 330 ],
337 }], 331 }],
338 ['OS == "ios"', { 332 ['OS == "ios"', {
339 'xcode_settings': { 333 'xcode_settings': {
340 'OTHER_CFLAGS!': [ 334 'OTHER_CFLAGS!': [
341 # Breaks at least boolhuff_armv5te:token_high_bit_not_set_ev. 335 # Breaks at least boolhuff_armv5te:token_high_bit_not_set_ev.
342 '-fstack-protector-all', # Implies -fstack-protector 336 '-fstack-protector-all', # Implies -fstack-protector
343 ], 337 ],
344 }, 338 },
345 }], 339 }],
346 ], 340 ],
347 }, 341 },
348 ], 342 ],
349 }], 343 }],
350 ], 344 ],
351 } 345 }
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