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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../native_client/build/untrusted.gypi', | 10 '../native_client/build/untrusted.gypi', |
11 ], | 11 ], |
12 'conditions': [ | 12 'conditions': [ |
13 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 13 ['disable_nacl==0', { |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 'target_name': 'shared_memory_support_nacl', | 16 'target_name': 'shared_memory_support_nacl', |
17 'type': 'none', | 17 'type': 'none', |
18 'variables': { | 18 'variables': { |
19 'nacl_untrusted_build': 1, | 19 'nacl_untrusted_build': 1, |
20 'nlib_target': 'libshared_memory_support_nacl.a', | 20 'nlib_target': 'libshared_memory_support_nacl.a', |
21 'build_glibc': 0, | 21 'build_glibc': 0, |
22 'build_newlib': 0, | 22 'build_newlib': 0, |
23 'build_irt': 1, | 23 'build_irt': 0, |
24 'build_pnacl_newlib': 0, | |
25 'build_nonsfi_helper': 1, | |
24 }, | 26 }, |
25 'dependencies': [ | 27 'dependencies': [ |
26 '../native_client/tools.gyp:prep_toolchain', | 28 '../native_client/tools.gyp:prep_toolchain', |
27 '../base/base_nacl.gyp:base_nacl', | 29 '../base/base_nacl.gyp:base_nacl_nonsfi', |
28 ], | 30 ], |
29 'defines': [ | 31 'defines': [ |
30 'MEDIA_IMPLEMENTATION', | 32 'MEDIA_IMPLEMENTATION', |
31 ], | 33 ], |
32 'include_dirs': [ | 34 'include_dirs': [ |
33 '..', | 35 '..', |
34 ], | 36 ], |
35 'includes': [ | 37 'includes': [ |
36 'shared_memory_support.gypi', | 38 'shared_memory_support.gypi', |
37 ], | 39 ], |
38 'sources': [ | 40 'sources': [ |
39 '<@(shared_memory_support_sources)', | 41 '<@(shared_memory_support_sources)', |
40 ], | 42 ], |
43 'conditions': [ | |
Mark Seaborn
2014/10/20 15:47:06
My comments from https://codereview.chromium.org/6
hidehiko
2014/10/20 19:01:52
Done.
| |
44 ['disable_nacl_untrusted==0', { | |
45 'variables': { | |
46 'build_irt': 1, | |
47 }, | |
48 'dependencies': [ | |
49 '../base/base_nacl.gyp:base_nacl', | |
50 ], | |
51 }], | |
52 ], | |
41 }, # end of target 'shared_memory_support_nacl' | 53 }, # end of target 'shared_memory_support_nacl' |
54 ], | |
55 }], | |
56 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
57 'targets': [ | |
42 { | 58 { |
43 'target_name': 'media_yuv_nacl', | 59 'target_name': 'media_yuv_nacl', |
44 'type': 'none', | 60 'type': 'none', |
45 'variables': { | 61 'variables': { |
46 'nlib_target': 'libmedia_yuv_nacl.a', | 62 'nlib_target': 'libmedia_yuv_nacl.a', |
47 'build_glibc': 0, | 63 'build_glibc': 0, |
48 'build_newlib': 0, | 64 'build_newlib': 0, |
49 'build_pnacl_newlib': 1, | 65 'build_pnacl_newlib': 1, |
50 }, | 66 }, |
51 'dependencies': [ | 67 'dependencies': [ |
(...skipping 12 matching lines...) Expand all Loading... | |
64 'base/simd/yuv_to_rgb_table.cc', | 80 'base/simd/yuv_to_rgb_table.cc', |
65 'base/simd/yuv_to_rgb_table.h', | 81 'base/simd/yuv_to_rgb_table.h', |
66 'base/yuv_convert.cc', | 82 'base/yuv_convert.cc', |
67 'base/yuv_convert.h', | 83 'base/yuv_convert.h', |
68 ], | 84 ], |
69 }, # end of target 'media_yuv_nacl' | 85 }, # end of target 'media_yuv_nacl' |
70 ], | 86 ], |
71 }], | 87 }], |
72 ], | 88 ], |
73 } | 89 } |
OLD | NEW |