Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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': [ |
|
bradn
2013/04/12 00:04:25
Missing a space on these three lines.
yzshen1
2013/04/12 19:15:05
Done.
| |
| 7 'nacl_browser_test.gypi', | 7 '../../../../native_client/build/untrusted.gypi', |
| 8 ], | 8 ], |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'shared_test_files', | 11 'target_name': 'shared_test_files', |
| 12 'type': 'none', | 12 'type': 'none', |
| 13 'variables': { | 13 'variables': { |
| 14 'build_newlib': 1, | 14 'build_newlib': 1, |
| 15 'build_glibc': 1, | 15 'build_glibc': 1, |
| 16 'build_pnacl_newlib': 1, | 16 'build_pnacl_newlib': 1, |
| 17 'nexe_destination_dir': 'nacl_test_data', | |
| 18 'current_depth': '<(DEPTH)', | |
| 17 'test_files': [ | 19 'test_files': [ |
| 18 # TODO(ncbray) move into chrome/test/data/nacl when all tests are | 20 # TODO(ncbray) move into chrome/test/data/nacl when all tests are |
| 19 # converted. | 21 # converted. |
| 20 '<(DEPTH)/ppapi/native_client/tests/ppapi_browser/progress_event_liste ner.js', | 22 '<(DEPTH)/ppapi/native_client/tests/ppapi_browser/progress_event_liste ner.js', |
| 21 '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/nacltes t.js', | 23 '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/nacltes t.js', |
| 22 ], | 24 ], |
| 23 }, | 25 }, |
| 26 'dependencies': [ | |
| 27 '<(DEPTH)/ppapi/ppapi_nacl_test_common.gyp:nacl_test_common', | |
| 28 ], | |
| 24 }, | 29 }, |
| 25 { | 30 { |
| 26 'target_name': 'simple_test', | 31 'target_name': 'simple_test', |
| 27 'type': 'none', | 32 'type': 'none', |
| 28 'variables': { | 33 'variables': { |
| 29 'nexe_target': 'simple', | 34 'nexe_target': 'simple', |
| 30 'build_newlib': 1, | 35 'build_newlib': 1, |
| 31 'build_glibc': 1, | 36 'build_glibc': 1, |
| 32 'build_pnacl_newlib': 1, | 37 'build_pnacl_newlib': 1, |
| 38 'nexe_destination_dir': 'nacl_test_data', | |
| 39 'current_depth': '<(DEPTH)', | |
| 33 'sources': [ | 40 'sources': [ |
| 34 'simple.cc', | 41 'simple.cc', |
| 35 ], | 42 ], |
| 36 'test_files': [ | 43 'test_files': [ |
| 37 'nacl_load_test.html', | 44 'nacl_load_test.html', |
| 38 ], | 45 ], |
| 39 }, | 46 }, |
| 47 'dependencies': [ | |
| 48 '<(DEPTH)/ppapi/ppapi_nacl_test_common.gyp:nacl_test_common', | |
| 49 ], | |
| 40 }, | 50 }, |
| 41 { | 51 { |
| 42 'target_name': 'exit_status_test', | 52 'target_name': 'exit_status_test', |
| 43 'type': 'none', | 53 'type': 'none', |
| 44 'variables': { | 54 'variables': { |
| 45 'nexe_target': 'pm_exit_status_test', | 55 'nexe_target': 'pm_exit_status_test', |
| 46 'build_newlib': 1, | 56 'build_newlib': 1, |
| 47 'build_glibc': 1, | 57 'build_glibc': 1, |
| 48 'build_pnacl_newlib': 1, | 58 'build_pnacl_newlib': 1, |
| 59 'nexe_destination_dir': 'nacl_test_data', | |
| 60 'current_depth': '<(DEPTH)', | |
| 49 'sources': [ | 61 'sources': [ |
| 50 'exit_status/pm_exit_status_test.cc', | 62 'exit_status/pm_exit_status_test.cc', |
| 51 ], | 63 ], |
| 52 'test_files': [ | 64 'test_files': [ |
| 53 'exit_status/pm_exit_status_test.html', | 65 'exit_status/pm_exit_status_test.html', |
| 54 ], | 66 ], |
| 55 }, | 67 }, |
| 68 'dependencies': [ | |
| 69 '<(DEPTH)/ppapi/ppapi_nacl_test_common.gyp:nacl_test_common', | |
| 70 ], | |
| 56 }, | 71 }, |
| 57 { | 72 { |
| 58 'target_name': 'ppapi_test_lib', | 73 'target_name': 'ppapi_test_lib', |
| 59 'type': 'none', | 74 'type': 'none', |
| 60 'variables': { | 75 'variables': { |
| 61 'nlib_target': 'libppapi_test_lib.a', | 76 'nlib_target': 'libppapi_test_lib.a', |
| 62 'nso_target': 'libppapi_test_lib.so', | 77 'nso_target': 'libppapi_test_lib.so', |
| 63 'build_newlib': 1, | 78 'build_newlib': 1, |
| 64 'build_glibc': 1, | 79 'build_glibc': 1, |
| 65 'build_pnacl_newlib': 1, | 80 'build_pnacl_newlib': 1, |
| 81 'nexe_destination_dir': 'nacl_test_data', | |
| 82 'current_depth': '<(DEPTH)', | |
| 66 'sources': [ | 83 'sources': [ |
| 67 # TODO(ncbray) move these files once SCons no longer depends on them. | 84 # TODO(ncbray) move these files once SCons no longer depends on them. |
| 68 '../../../../ppapi/native_client/tests/ppapi_test_lib/get_browser_inte rface.cc', | 85 '../../../../ppapi/native_client/tests/ppapi_test_lib/get_browser_inte rface.cc', |
| 69 '../../../../ppapi/native_client/tests/ppapi_test_lib/internal_utils.c c', | 86 '../../../../ppapi/native_client/tests/ppapi_test_lib/internal_utils.c c', |
| 70 '../../../../ppapi/native_client/tests/ppapi_test_lib/module_instance. cc', | 87 '../../../../ppapi/native_client/tests/ppapi_test_lib/module_instance. cc', |
| 71 '../../../../ppapi/native_client/tests/ppapi_test_lib/testable_callbac k.cc', | 88 '../../../../ppapi/native_client/tests/ppapi_test_lib/testable_callbac k.cc', |
| 72 '../../../../ppapi/native_client/tests/ppapi_test_lib/test_interface.c c', | 89 '../../../../ppapi/native_client/tests/ppapi_test_lib/test_interface.c c', |
| 73 ] | 90 ] |
| 74 }, | 91 }, |
| 75 'dependencies': [ | 92 'dependencies': [ |
| 76 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 93 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 94 '<(DEPTH)/ppapi/ppapi_nacl_test_common.gyp:nacl_test_common', | |
| 77 ], | 95 ], |
| 78 }, | 96 }, |
| 79 { | 97 { |
| 80 'target_name': 'ppapi_progress_events', | 98 'target_name': 'ppapi_progress_events', |
| 81 'type': 'none', | 99 'type': 'none', |
| 82 'variables': { | 100 'variables': { |
| 83 'nexe_target': 'ppapi_progress_events', | 101 'nexe_target': 'ppapi_progress_events', |
| 84 'build_newlib': 1, | 102 'build_newlib': 1, |
| 85 'build_glibc': 1, | 103 'build_glibc': 1, |
| 86 'build_pnacl_newlib': 1, | 104 'build_pnacl_newlib': 1, |
| 105 'nexe_destination_dir': 'nacl_test_data', | |
| 106 'current_depth': '<(DEPTH)', | |
| 87 'link_flags': [ | 107 'link_flags': [ |
| 88 '-lppapi', | 108 '-lppapi', |
| 89 '-lppapi_test_lib', | 109 '-lppapi_test_lib', |
| 90 '-lplatform', | 110 '-lplatform', |
| 91 '-lgio', | 111 '-lgio', |
| 92 ], | 112 ], |
| 93 'sources': [ | 113 'sources': [ |
| 94 'progress_events/ppapi_progress_events.cc', | 114 'progress_events/ppapi_progress_events.cc', |
| 95 ], | 115 ], |
| 96 'test_files': [ | 116 'test_files': [ |
| 97 'progress_events/ppapi_progress_events.html', | 117 'progress_events/ppapi_progress_events.html', |
| 98 ], | 118 ], |
| 99 }, | 119 }, |
| 100 'dependencies': [ | 120 'dependencies': [ |
| 101 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 121 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 102 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 122 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
| 103 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 123 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
| 104 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 124 '<(DEPTH)/ppapi/ppapi_nacl_test_common.gyp:nacl_test_common', |
| 105 '<(DEPTH)/ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib', | |
| 106 'ppapi_test_lib', | 125 'ppapi_test_lib', |
| 107 ], | 126 ], |
| 108 }, | 127 }, |
| 109 { | 128 { |
| 110 'target_name': 'pnacl_options_test', | 129 'target_name': 'pnacl_options_test', |
| 111 'type': 'none', | 130 'type': 'none', |
| 112 'variables': { | 131 'variables': { |
| 113 'nexe_target': 'pnacl_options', | 132 'nexe_target': 'pnacl_options', |
| 114 'build_pnacl_newlib': 1, | 133 'build_pnacl_newlib': 1, |
| 134 'nexe_destination_dir': 'nacl_test_data', | |
| 135 'current_depth': '<(DEPTH)', | |
| 115 'sources': [ | 136 'sources': [ |
| 116 'simple.cc', | 137 'simple.cc', |
| 117 ], | 138 ], |
| 118 'test_files': [ | 139 'test_files': [ |
| 119 'pnacl_nmf_options/pnacl_options.html', | 140 'pnacl_nmf_options/pnacl_options.html', |
| 120 'pnacl_nmf_options/pnacl_o_0.nmf', | 141 'pnacl_nmf_options/pnacl_o_0.nmf', |
| 121 'pnacl_nmf_options/pnacl_o_2.nmf', | 142 'pnacl_nmf_options/pnacl_o_2.nmf', |
| 122 'pnacl_nmf_options/pnacl_o_large.nmf', | 143 'pnacl_nmf_options/pnacl_o_large.nmf', |
| 123 'pnacl_nmf_options/pnacl_time_passes.nmf', | 144 'pnacl_nmf_options/pnacl_time_passes.nmf', |
| 124 ], | 145 ], |
| 125 }, | 146 }, |
| 126 'dependencies': [ | 147 'dependencies': [ |
| 127 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 148 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 149 '<(DEPTH)/ppapi/ppapi_nacl_test_common.gyp:nacl_test_common', | |
| 128 ] | 150 ] |
| 129 }, | 151 }, |
| 130 # Legacy NaCl PPAPI interface tests being here. | 152 # Legacy NaCl PPAPI interface tests being here. |
| 131 { | 153 { |
| 132 'target_name': 'ppapi_ppb_core', | 154 'target_name': 'ppapi_ppb_core', |
| 133 'type': 'none', | 155 'type': 'none', |
| 134 'variables': { | 156 'variables': { |
| 135 'nexe_target': 'ppapi_ppb_core', | 157 'nexe_target': 'ppapi_ppb_core', |
| 136 'build_newlib': 1, | 158 'build_newlib': 1, |
| 137 'build_glibc': 1, | 159 'build_glibc': 1, |
| 138 'build_pnacl_newlib': 1, | 160 'build_pnacl_newlib': 1, |
| 161 'nexe_destination_dir': 'nacl_test_data', | |
| 162 'current_depth': '<(DEPTH)', | |
| 139 'link_flags': [ | 163 'link_flags': [ |
| 140 '-lppapi', | 164 '-lppapi', |
| 141 '-lppapi_test_lib', | 165 '-lppapi_test_lib', |
| 142 '-lplatform', | 166 '-lplatform', |
| 143 '-lgio', | 167 '-lgio', |
| 144 ], | 168 ], |
| 145 'sources': [ | 169 'sources': [ |
| 146 'ppapi/ppb_core/ppapi_ppb_core.cc', | 170 'ppapi/ppb_core/ppapi_ppb_core.cc', |
| 147 ], | 171 ], |
| 148 'test_files': [ | 172 'test_files': [ |
| 149 'ppapi/ppb_core/ppapi_ppb_core.html', | 173 'ppapi/ppb_core/ppapi_ppb_core.html', |
| 150 ], | 174 ], |
| 151 }, | 175 }, |
| 152 'dependencies': [ | 176 'dependencies': [ |
| 153 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 177 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 154 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 178 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
| 155 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 179 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
| 156 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 180 '<(DEPTH)/ppapi/ppapi_nacl_test_common.gyp:nacl_test_common', |
| 157 '<(DEPTH)/ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib', | |
| 158 'ppapi_test_lib', | 181 'ppapi_test_lib', |
| 159 ], | 182 ], |
| 160 }, | 183 }, |
| 161 ], | 184 ], |
| 162 } | 185 } |
| OLD | NEW |