Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 6 'conditions': [ |
| 7 ['os_posix==1', { | 7 ['os_posix==1', { |
| 8 'asm_obj_extension': 'o', | 8 'asm_obj_extension': 'o', |
| 9 }], | 9 }], |
| 10 ['OS=="win"', { | 10 ['OS=="win"', { |
| 11 'asm_obj_extension': 'obj', | 11 'asm_obj_extension': 'obj', |
| 12 }], | 12 }], |
| 13 ], | 13 ], |
| 14 }, | 14 }, |
| 15 'conditions': [ | 15 'conditions': [ |
| 16 [ '(OS=="linux" or OS=="mac" or OS=="win") and target_arch!="arm"', { | 16 [ 'OS != "android" and target_arch != "arm"', { |
| 17 'targets': [ | 17 'targets': [ |
| 18 { | 18 { |
| 19 # This libvpx target contains both encoder and decoder. | 19 # This libvpx target contains both encoder and decoder. |
| 20 # Encoder is configured to be realtime only. | 20 # Encoder is configured to be realtime only. |
| 21 'target_name': 'libvpx', | 21 'target_name': 'libvpx', |
| 22 'type': 'static_library', | 22 'type': 'static_library', |
| 23 'variables': { | 23 'variables': { |
| 24 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', | 24 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/libvpx', |
| 25 'variables': { | |
| 26 'conditions': [ | |
| 27 ['os_posix == 1 and OS != "mac"', { | |
| 28 '_OS%': 'linux', | |
|
Ami GONE FROM CHROMIUM
2011/11/23 09:14:11
I'm shocked that reusing the linux config happens
ruben
2011/11/23 10:07:41
The linux and mac ia32 configs only differ by 6 li
Ami GONE FROM CHROMIUM
2011/11/23 17:03:39
It would be interesting to know whether the other
ruben
2011/11/23 18:55:53
The library is only compiled at this point, so no
Ami GONE FROM CHROMIUM
2011/11/23 19:09:43
FTR chromium switched from libvpx to ffvp8 for vid
ruben
2011/11/23 19:33:12
Yeah, after you mentioned it earlier, I checked th
| |
| 29 }, { | |
| 30 '_OS%': '<(OS)', | |
| 31 }], | |
| 32 ]}, | |
| 33 '_OS%': '<(_OS)', | |
| 25 'yasm_flags': [ | 34 'yasm_flags': [ |
| 26 '-I', 'source/config/<(OS)/<(target_arch)', | 35 '-I', 'source/config/<(_OS)/<(target_arch)', |
| 27 '-I', 'source/libvpx', | 36 '-I', 'source/libvpx', |
| 28 ], | 37 ], |
| 29 }, | 38 }, |
| 30 'includes': [ | 39 'includes': [ |
| 31 '../yasm/yasm_compile.gypi' | 40 '../yasm/yasm_compile.gypi' |
| 32 ], | 41 ], |
| 33 'include_dirs': [ | 42 'include_dirs': [ |
| 34 'source/config/<(OS)/<(target_arch)', | 43 'source/config/<(_OS)/<(target_arch)', |
| 35 'source/libvpx', | 44 'source/libvpx', |
| 36 'source/libvpx/vp8/common', | 45 'source/libvpx/vp8/common', |
| 37 'source/libvpx/vp8/decoder', | 46 'source/libvpx/vp8/decoder', |
| 38 'source/libvpx/vp8/encoder', | 47 'source/libvpx/vp8/encoder', |
| 39 ], | 48 ], |
| 40 'direct_dependent_settings': { | 49 'direct_dependent_settings': { |
| 41 'include_dirs': [ | 50 'include_dirs': [ |
| 42 'source/libvpx', | 51 'source/libvpx', |
| 43 ], | 52 ], |
| 44 }, | 53 }, |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 257 ], | 266 ], |
| 258 }, | 267 }, |
| 259 ], | 268 ], |
| 260 } | 269 } |
| 261 | 270 |
| 262 # Local Variables: | 271 # Local Variables: |
| 263 # tab-width:2 | 272 # tab-width:2 |
| 264 # indent-tabs-mode:nil | 273 # indent-tabs-mode:nil |
| 265 # End: | 274 # End: |
| 266 # vim: set expandtab tabstop=2 shiftwidth=2: | 275 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |