| 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': [ |
| 11 '../native_client/build/untrusted.gypi', | 11 '../native_client/build/untrusted.gypi', |
| 12 'ppapi_sources.gypi', | 12 'ppapi_sources.gypi', |
| 13 ], | 13 ], |
| 14 'targets': [ | 14 'targets': [ |
| 15 { | 15 { |
| 16 'target_name': 'ppapi_cpp_lib', | 16 'target_name': 'ppapi_cpp_lib', |
| 17 'type': 'none', | 17 'type': 'none', |
| 18 'variables': { | 18 'variables': { |
| 19 'nlib_target': 'libppapi_cpp.a', | 19 'nlib_target': 'libppapi_cpp.a', |
| 20 'build_glibc': 0, | 20 'build_glibc': 0, |
| 21 'build_newlib': 1, | 21 'build_newlib': 1, |
| 22 'sources': [ | 22 'sources': [ |
| 23 '<@(cpp_sources)', | 23 '<@(cpp_source_files)', |
| 24 'cpp/module_embedder.h', | 24 'cpp/module_embedder.h', |
| 25 'cpp/ppp_entrypoints.cc', | 25 'cpp/ppp_entrypoints.cc', |
| 26 ], | 26 ], |
| 27 }, | 27 }, |
| 28 'dependencies': [ | 28 'dependencies': [ |
| 29 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 29 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 30 ], | 30 ], |
| 31 }, | 31 }, |
| 32 { | 32 { |
| 33 'target_name': 'ppapi_nacl_tests', | 33 'target_name': 'ppapi_nacl_tests', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 51 ], | 51 ], |
| 52 'extra_deps64': [ | 52 'extra_deps64': [ |
| 53 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a', | 53 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a', |
| 54 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a', | 54 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a', |
| 55 ], | 55 ], |
| 56 'extra_deps32': [ | 56 'extra_deps32': [ |
| 57 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a', | 57 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a', |
| 58 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a', | 58 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a', |
| 59 ], | 59 ], |
| 60 'sources': [ | 60 'sources': [ |
| 61 '<@(test_sources_common)', | 61 '<@(test_common_source_files)', |
| 62 '<@(test_sources_nacl)', | 62 '<@(test_nacl_source_files)', |
| 63 ], | 63 ], |
| 64 }, | 64 }, |
| 65 }, | 65 }, |
| 66 ], | 66 ], |
| 67 } | 67 } |
| OLD | NEW |