OLD | NEW |
---|---|
1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. | 1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'variables': { | 10 'variables': { |
11 'libyuv_disable_jpeg%': 0, | 11 'libyuv_disable_jpeg%': 0, |
12 }, | 12 }, |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'libyuv_unittest', | 15 'target_name': 'libyuv_unittest', |
16 'type': '<(gtest_target_type)', | 16 'type': '<(gtest_target_type)', |
17 'dependencies': [ | 17 'dependencies': [ |
18 'libyuv.gyp:libyuv', | 18 'libyuv.gyp:libyuv', |
19 'testing/gtest.gyp:gtest', | 19 'testing/gtest.gyp:gtest', |
20 'third_party/gflags/gflags.gyp:gflags', | 20 'third_party/gflags/gflags.gyp:gflags', |
21 ], | 21 ], |
22 'direct_dependent_settings': { | 22 'direct_dependent_settings': { |
23 'defines': [ | 23 'defines': [ |
24 'GTEST_RELATIVE_PATH', | 24 'GTEST_RELATIVE_PATH', |
25 ], | 25 ], |
26 }, | 26 }, |
27 'export_dependent_settings': [ | 27 'export_dependent_settings': [ |
28 '<(DEPTH)/testing/gtest.gyp:gtest', | 28 '<(DEPTH)/testing/gtest.gyp:gtest', |
29 ], | 29 ], |
30 'conditions': [ | |
31 # MemorySanitizer does not support assembly code yet. | |
32 # http://crbug.com/344505 | |
33 [ 'msan == 1', { | |
34 'defines': [ | |
35 'LIBYUV_DISABLE_X86', | |
36 ], | |
37 }], | |
38 ], #conditions | |
harryjin
2016/02/09 19:11:44
I suppose you put it here to make it clear what th
fbarchard1
2016/02/09 19:14:35
The comment #conditions? yes its for clarity. ca
| |
30 'defines': [ | 39 'defines': [ |
31 # Enable the following 3 macros to turn off assembly for specified CPU. | 40 # Enable the following 3 macros to turn off assembly for specified CPU. |
32 # 'LIBYUV_DISABLE_X86', | 41 # 'LIBYUV_DISABLE_X86', |
33 # 'LIBYUV_DISABLE_NEON', | 42 # 'LIBYUV_DISABLE_NEON', |
34 # 'LIBYUV_DISABLE_MIPS', | 43 # 'LIBYUV_DISABLE_MIPS', |
35 # Enable the following macro to build libyuv as a shared library (dll). | 44 # Enable the following macro to build libyuv as a shared library (dll). |
36 # 'LIBYUV_USING_SHARED_LIBRARY', | 45 # 'LIBYUV_USING_SHARED_LIBRARY', |
37 ], | 46 ], |
38 'sources': [ | 47 'sources': [ |
39 # headers | 48 # headers |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
212 ], | 221 ], |
213 }], | 222 }], |
214 ], | 223 ], |
215 } | 224 } |
216 | 225 |
217 # Local Variables: | 226 # Local Variables: |
218 # tab-width:2 | 227 # tab-width:2 |
219 # indent-tabs-mode:nil | 228 # indent-tabs-mode:nil |
220 # End: | 229 # End: |
221 # vim: set expandtab tabstop=2 shiftwidth=2: | 230 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |