OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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 'includes': [ | 6 'includes': [ |
7 '../../../ppapi/ppapi_nacl_test_common.gypi', | 7 '../../../ppapi/ppapi_nacl_test_common.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 'build_glibc': 0, | 58 'build_glibc': 0, |
59 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/packaged_app', | 59 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/packaged_app', |
60 'sources': [ | 60 'sources': [ |
61 'packaged_app/test_packaged_app.cc' | 61 'packaged_app/test_packaged_app.cc' |
62 ], | 62 ], |
63 'test_files': [ | 63 'test_files': [ |
64 'packaged_app/controller.js', | 64 'packaged_app/controller.js', |
65 'packaged_app/index.html', | 65 'packaged_app/index.html', |
66 'packaged_app/main.js', | 66 'packaged_app/main.js', |
67 'packaged_app/manifest.json', | 67 'packaged_app/manifest.json', |
| 68 'packaged_app/test_file.txt', |
| 69 'packaged_app/test_file2.txt', |
| 70 ], |
| 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', |
68 ], | 82 ], |
69 }, | 83 }, |
70 'conditions': [ | 84 'conditions': [ |
71 ['target_arch=="ia32" and OS=="linux"', { | 85 ['target_arch=="ia32" and OS=="linux"', { |
72 # Enable nonsfi testing only on ia32-linux environment. | 86 # Enable nonsfi testing only on ia32-linux environment. |
73 # See chrome/test/data/nacl/nacl_test_data.gyp for more info. | 87 # See chrome/test/data/nacl/nacl_test_data.gyp for more info. |
74 'variables': { | 88 'variables': { |
75 'build_pnacl_newlib': 1, | 89 'build_pnacl_newlib': 1, |
76 'translate_pexe_with_build': 1, | 90 'translate_pexe_with_build': 1, |
77 'enable_x86_32_nonsfi': 1, | 91 'enable_x86_32_nonsfi': 1, |
78 }, | 92 }, |
79 }], | 93 }], |
80 ], | 94 ], |
81 # Shim is a dependency for the nexe because we pre-translate. | 95 # Shim is a dependency for the nexe because we pre-translate. |
82 'dependencies': [ | 96 'dependencies': [ |
83 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | 97 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', |
84 ], | 98 ], |
85 }, | 99 }, |
86 ], | 100 ], |
87 } | 101 } |
OLD | NEW |