OLD | NEW |
---|---|
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 30 matching lines...) Expand all Loading... | |
41 'OS_CATEGORY%': 'linux', | 41 'OS_CATEGORY%': 'linux', |
42 }, { | 42 }, { |
43 'OS_CATEGORY%': '<(OS)', | 43 'OS_CATEGORY%': '<(OS)', |
44 }], | 44 }], |
45 ], | 45 ], |
46 | 46 |
47 # Location of the intermediate output. | 47 # Location of the intermediate output. |
48 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx_new', | 48 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx_new', |
49 }, | 49 }, |
50 'target_defaults': { | 50 'target_defaults': { |
51 'conditions': [ | |
52 ['target_arch=="arm" and clang==1', { | |
53 # TODO(hans) Enable integrated-as (crbug.com/124610). | |
Johann
2015/12/01 15:26:18
We can generate clang-specific assembly. The issue
Nico
2015/12/01 15:32:28
clang's intentions are to support UAL from what I
| |
54 'cflags': [ | |
55 '-fno-integrated-as', | |
56 '-B<(android_toolchain)', # Else /usr/bin/as gets picked up. | |
57 ], | |
58 }], | |
59 ], | |
51 'target_conditions': [ | 60 'target_conditions': [ |
52 ['<(libvpx_build_vp9)==0', { | 61 ['<(libvpx_build_vp9)==0', { |
53 'sources/': [ ['exclude', '(^|/)vp9/'], ], | 62 'sources/': [ ['exclude', '(^|/)vp9/'], ], |
54 }], | 63 }], |
55 ], | 64 ], |
56 'variables': { | 65 'variables': { |
57 'conditions': [ | 66 'conditions': [ |
58 ['OS=="win"', { | 67 ['OS=="win"', { |
59 'optimize' :'max', | 68 'optimize' :'max', |
60 }], | 69 }], |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
279 '-fstack-protector-all', # Implies -fstack-protector | 288 '-fstack-protector-all', # Implies -fstack-protector |
280 ], | 289 ], |
281 }, | 290 }, |
282 }], | 291 }], |
283 ], | 292 ], |
284 }, | 293 }, |
285 ], | 294 ], |
286 }], | 295 }], |
287 ], | 296 ], |
288 } | 297 } |
OLD | NEW |