1 # Copyright (c) 2013 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.
7 '../../../ppapi/ppapi_nacl_test_common.gypi',
11 'target_name': 'ppapi_tests_extensions_background_keepalive',
14 'nexe_target': 'ppapi_tests_extensions_background_keepalive',
15 # Only newlib build is used in tests, no need to build others.
18 'build_pnacl_newlib': 0,
19 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/background_keepalive',
21 'background_keepalive/background.cc',
24 'background_keepalive/background.js',
25 'background_keepalive/manifest.json',
30 'target_name': 'ppapi_tests_extensions_media_galleries',
33 'nexe_target': 'ppapi_tests_extensions_media_galleries',
34 # Only newlib build is used in tests, no need to build others.
37 'build_pnacl_newlib': 0,
38 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/media_galleries',
40 'media_galleries/test_galleries.cc',
41 '<(DEPTH)/ppapi/tests/test_utils.cc',
42 '<(DEPTH)/ppapi/tests/test_utils.h',
45 'media_galleries/background.js',
46 'media_galleries/index.html',
47 'media_galleries/manifest.json',
48 'media_galleries/test.js',
53 'target_name': 'ppapi_tests_extensions_packaged_app',
56 'nexe_target': 'ppapi_tests_extensions_packaged_app',
59 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/packaged_app',
61 'packaged_app/test_packaged_app.cc'
64 'packaged_app/controller.js',
65 'packaged_app/index.html',
66 'packaged_app/main.js',
67 'packaged_app/manifest.json',
68 'packaged_app/test_file.txt',
69 'packaged_app/test_file2.txt',
71 'create_nmf_args_portable': [
72 # Add lots of "files" entries to make sure that open_resource can
73 # handle more files than FileDescriptorSet::kMaxDescriptorsPerMessage.
74 '-xtest_file0:test_file.txt',
75 '-xtest_file1:test_file2.txt',
76 '-xtest_file2:test_file.txt',
77 '-xtest_file3:test_file2.txt',
78 '-xtest_file4:test_file.txt',
79 '-xtest_file5:test_file2.txt',
80 '-xtest_file6:test_file.txt',
81 '-xtest_file7:test_file2.txt',
85 ['(target_arch=="ia32" or target_arch=="x64") and OS=="linux"', {
86 # Enable nonsfi testing only on ia32-linux environment.
87 # See chrome/test/data/nacl/nacl_test_data.gyp for more info.
89 'build_pnacl_newlib': 1,
90 'translate_pexe_with_build': 1,
91 'enable_x86_32_nonsfi': 1,
95 # Shim is a dependency for the nexe because we pre-translate.
97 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp:aot',