| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'ppapi_tests', | 8 'target_name': 'ppapi_tests', |
| 9 'type': 'loadable_module', | 9 'type': 'loadable_module', |
| 10 'include_dirs': [ | 10 'include_dirs': [ |
| 11 'lib/gl/include', | 11 'lib/gl/include', |
| 12 ], | 12 ], |
| 13 'defines': [ | 13 'defines': [ |
| 14 'GL_GLEXT_PROTOTYPES', | 14 'GL_GLEXT_PROTOTYPES', |
| 15 ], | 15 ], |
| 16 'sources': [ | 16 'sources': [ |
| 17 '<@(test_common_source_files)', | 17 '<@(test_common_source_files)', |
| 18 '<@(test_trusted_source_files)', | 18 '<@(test_trusted_source_files)', |
| 19 ], | 19 ], |
| 20 'dependencies': [ | 20 'dependencies': [ |
| 21 'ppapi.gyp:ppapi_cpp', | 21 'ppapi.gyp:ppapi_cpp', |
| 22 'ppapi_internal.gyp:ppapi_shared', | 22 'ppapi_internal.gyp:ppapi_shared', |
| 23 ], | 23 ], |
| 24 'copies': [ |
| 25 { |
| 26 'destination': '<(PRODUCT_DIR)', |
| 27 'files': [ |
| 28 # Keep 'test_case.html.mock-http-headers' with 'test_case.html'. |
| 29 'tests/test_case.html', |
| 30 'tests/test_case.html.mock-http-headers', |
| 31 'tests/test_page.css', |
| 32 'native_client/tests/ppapi_tests/ppapi_nacl_tests_newlib.nmf', |
| 33 ], |
| 34 }, |
| 35 { |
| 36 'destination': '<(PRODUCT_DIR)/test_url_loader_data', |
| 37 'files': [ |
| 38 'tests/test_url_loader_data/hello.txt', |
| 39 ], |
| 40 }, |
| 41 ], |
| 24 'run_as': { | 42 'run_as': { |
| 25 'action': [ | 43 'action': [ |
| 26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 44 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
| 27 '--enable-pepper-testing', | 45 '--enable-pepper-testing', |
| 28 '--enable-accelerated-plugins', | 46 '--enable-accelerated-plugins', |
| 29 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-tests', | 47 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-tests', |
| 30 'file://$(ProjectDir)/tests/test_case.html?testcase=', | 48 'file://$(ProjectDir)/tests/test_case.html?testcase=', |
| 31 ], | 49 ], |
| 32 }, | 50 }, |
| 33 'conditions': [ | 51 'conditions': [ |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 'dependencies': [ | 400 'dependencies': [ |
| 383 'ppapi_example_skeleton', | 401 'ppapi_example_skeleton', |
| 384 'ppapi.gyp:ppapi_cpp', | 402 'ppapi.gyp:ppapi_cpp', |
| 385 ], | 403 ], |
| 386 'sources': [ | 404 'sources': [ |
| 387 'examples/printing/printing.cc', | 405 'examples/printing/printing.cc', |
| 388 ], | 406 ], |
| 389 }, | 407 }, |
| 390 ], | 408 ], |
| 391 } | 409 } |
| OLD | NEW |