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
3 # found in the LICENSE file.
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
7 # requiring NaCl sources for building.
11 '../native_client/build/untrusted.gypi',
16 'target_name': 'ppapi_cpp_lib',
19 'nlib_target': 'libppapi_cpp.a',
23 '<@(cpp_source_files)',
24 'cpp/module_embedder.h',
25 'cpp/ppp_entrypoints.cc',
29 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
33 'target_name': 'ppapi_nacl_tests',
37 'native_client/native_client.gyp:ppapi_lib',
38 'native_client/native_client.gyp:nacl_irt',
41 'nexe_target': 'ppapi_nacl_tests',
53 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a',
54 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a',
57 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a',
58 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a',
61 '<@(test_common_source_files)',
62 '<@(test_nacl_source_files)',