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 # This GYP file defines untrusted (NaCl) targets. All targets in this | 5 # This GYP file defines untrusted (NaCl) targets. All targets in this |
6 # file should be conditionally depended upon via 'disable_nacl!=1' to avoid | 6 # file should be conditionally depended upon via 'disable_nacl!=1' to avoid |
7 # requiring NaCl sources for building. | 7 # requiring NaCl sources for building. |
8 | 8 |
9 { | 9 { |
10 'includes': [ | 10 'includes': [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'build_glibc': 0, | 42 'build_glibc': 0, |
43 'build_newlib': 1, | 43 'build_newlib': 1, |
44 'include_dirs': [ | 44 'include_dirs': [ |
45 'lib/gl/include', | 45 'lib/gl/include', |
46 '..', | 46 '..', |
47 ], | 47 ], |
48 'link_flags': [ | 48 'link_flags': [ |
49 '-lppapi_cpp', | 49 '-lppapi_cpp', |
50 '-lppapi', | 50 '-lppapi', |
51 ], | 51 ], |
| 52 # TODO(bradchen): get rid of extra_deps64 and extra_deps32 |
| 53 # once native_client/build/untrusted.gypi no longer needs them. |
52 'extra_deps64': [ | 54 'extra_deps64': [ |
53 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a', | 55 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a', |
54 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a', | 56 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a', |
55 ], | 57 ], |
56 'extra_deps32': [ | 58 'extra_deps32': [ |
57 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a', | 59 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a', |
58 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a', | 60 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a', |
59 ], | 61 ], |
| 62 'extra_deps_newlib64': [ |
| 63 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a', |
| 64 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a', |
| 65 ], |
| 66 'extra_deps_newlib32': [ |
| 67 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a', |
| 68 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a', |
| 69 ], |
| 70 'extra_deps_glibc64': [ |
| 71 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libppapi_cpp.a', |
| 72 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libppapi.a', |
| 73 ], |
| 74 'extra_deps_glibc32': [ |
| 75 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libppapi_cpp.a', |
| 76 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libppapi.a', |
| 77 ], |
60 'extra_deps_arm': [ | 78 'extra_deps_arm': [ |
61 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libppapi_cpp.a', | 79 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libppapi_cpp.a', |
62 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libppapi.a', | 80 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libppapi.a', |
63 ], | 81 ], |
64 'sources': [ | 82 'sources': [ |
65 '<@(test_common_source_files)', | 83 '<@(test_common_source_files)', |
66 '<@(test_nacl_source_files)', | 84 '<@(test_nacl_source_files)', |
67 ], | 85 ], |
68 }, | 86 }, |
69 }, | 87 }, |
70 ], | 88 ], |
71 } | 89 } |
OLD | NEW |