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. 4 5 { 6 'includes': [ 7 '../../../ppapi/ppapi_nacl_test_common.gypi', 8 ], 9 'targets': [ 10 { 11 'target_name': 'ppapi_tests_extensions_background_keepalive', 12 'type': 'none', 13 'variables': { 14 'nexe_target': 'ppapi_tests_extensions_background_keepalive', 15 # Only newlib build is used in tests, no need to build others. 16 'build_newlib': 1, 17 'build_glibc': 0, 18 'build_pnacl_newlib': 0, 19 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/background_keepalive', 20 'sources': [ 21 'background_keepalive/background.cc', 22 ], 23 'test_files': [ 24 'background_keepalive/background.js', 25 'background_keepalive/manifest.json', 26 ], 27 }, 28 }, 29 { 30 'target_name': 'ppapi_tests_extensions_media_galleries', 31 'type': 'none', 32 'variables': { 33 'nexe_target': 'ppapi_tests_extensions_media_galleries', 34 # Only newlib build is used in tests, no need to build others. 35 'build_newlib': 1, 36 'build_glibc': 0, 37 'build_pnacl_newlib': 0, 38 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/media_galleries', 39 'sources': [ 40 'media_galleries/test_galleries.cc', 41 '<(DEPTH)/ppapi/tests/test_utils.cc', 42 '<(DEPTH)/ppapi/tests/test_utils.h', 43 ], 44 'test_files': [ 45 'media_galleries/background.js', 46 'media_galleries/index.html', 47 'media_galleries/manifest.json', 48 'media_galleries/test.js', 49 ], 50 }, 51 }, 52 ], 53 } 54