| 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_example', | 8 'target_name': 'ppapi_example', |
| 9 'dependencies': [ | 9 'dependencies': [ |
| 10 'ppapi.gyp:ppapi_cpp' | 10 'ppapi.gyp:ppapi_cpp' |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 'GL_GLEXT_PROTOTYPES', | 67 'GL_GLEXT_PROTOTYPES', |
| 68 ], | 68 ], |
| 69 'sources': [ | 69 'sources': [ |
| 70 '<@(test_common_source_files)', | 70 '<@(test_common_source_files)', |
| 71 '<@(test_trusted_source_files)', | 71 '<@(test_trusted_source_files)', |
| 72 ], | 72 ], |
| 73 'dependencies': [ | 73 'dependencies': [ |
| 74 'ppapi.gyp:ppapi_cpp', | 74 'ppapi.gyp:ppapi_cpp', |
| 75 'ppapi_internal.gyp:ppapi_shared', | 75 'ppapi_internal.gyp:ppapi_shared', |
| 76 ], | 76 ], |
| 77 'copies': [ |
| 78 { |
| 79 'destination': '<(PRODUCT_DIR)', |
| 80 'files': [ |
| 81 # Keep 'test_case.html.mock-http-headers' with 'test_case.html'. |
| 82 'tests/test_case.html', |
| 83 'tests/test_case.html.mock-http-headers', |
| 84 'tests/test_page.css', |
| 85 'native_client/tests/ppapi_tests/ppapi_nacl_tests_newlib.nmf', |
| 86 ], |
| 87 }, |
| 88 { |
| 89 'destination': '<(PRODUCT_DIR)/test_url_loader_data', |
| 90 'files': [ |
| 91 'tests/test_url_loader_data/hello.txt', |
| 92 ], |
| 93 }, |
| 94 ], |
| 77 'run_as': { | 95 'run_as': { |
| 78 'action': [ | 96 'action': [ |
| 79 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', | 97 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', |
| 80 '--enable-pepper-testing', | 98 '--enable-pepper-testing', |
| 81 '--enable-accelerated-plugins', | 99 '--enable-accelerated-plugins', |
| 82 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-tests', | 100 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-tests', |
| 83 'file://$(ProjectDir)/tests/test_case.html?testcase=', | 101 'file://$(ProjectDir)/tests/test_case.html?testcase=', |
| 84 ], | 102 ], |
| 85 }, | 103 }, |
| 86 'conditions': [ | 104 'conditions': [ |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 'dependencies': [ | 453 'dependencies': [ |
| 436 'ppapi_example_skeleton', | 454 'ppapi_example_skeleton', |
| 437 'ppapi.gyp:ppapi_cpp', | 455 'ppapi.gyp:ppapi_cpp', |
| 438 ], | 456 ], |
| 439 'sources': [ | 457 'sources': [ |
| 440 'examples/printing/printing.cc', | 458 'examples/printing/printing.cc', |
| 441 ], | 459 ], |
| 442 }, | 460 }, |
| 443 ], | 461 ], |
| 444 } | 462 } |
| OLD | NEW |