| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2011 Google Inc. All rights reserved. | 2 # Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 '../build/features.gypi', | 34 '../build/features.gypi', |
| 35 '../build/scripts/scripts.gypi', | 35 '../build/scripts/scripts.gypi', |
| 36 '../core/core.gypi', | 36 '../core/core.gypi', |
| 37 '../modules/modules.gypi', | 37 '../modules/modules.gypi', |
| 38 '../platform/blink_platform.gypi', | 38 '../platform/blink_platform.gypi', |
| 39 '../web/web.gypi', | 39 '../web/web.gypi', |
| 40 '../wtf/wtf.gypi', | 40 '../wtf/wtf.gypi', |
| 41 ], | 41 ], |
| 42 'targets': [ | 42 'targets': [ |
| 43 { | 43 { |
| 44 'target_name': 'webkit_unit_tests_resources', | |
| 45 'type': 'none', | |
| 46 'dependencies': [ | |
| 47 '<(DEPTH)/net/net.gyp:net_resources', | |
| 48 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | |
| 49 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources', | |
| 50 ], | |
| 51 'actions': [{ | |
| 52 'action_name': 'repack_webkit_unit_tests_resources', | |
| 53 'variables': { | |
| 54 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | |
| 55 'pak_inputs': [ | |
| 56 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | |
| 57 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_10
0_percent.pak', | |
| 58 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.pak', | |
| 59 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_
percent.pak', | |
| 60 ]}, | |
| 61 'inputs': [ | |
| 62 '<(repack_path)', | |
| 63 '<@(pak_inputs)', | |
| 64 ], | |
| 65 'outputs': [ | |
| 66 '<(PRODUCT_DIR)/webkit_unit_tests_resources.pak', | |
| 67 ], | |
| 68 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_i
nputs)'], | |
| 69 }], | |
| 70 'conditions': [ | |
| 71 ['OS=="mac"', { | |
| 72 'all_dependent_settings': { | |
| 73 'mac_bundle_resources': [ | |
| 74 '<(PRODUCT_DIR)/webkit_unit_tests_resources.pak', | |
| 75 ], | |
| 76 }, | |
| 77 }], | |
| 78 ] | |
| 79 }, | |
| 80 { | |
| 81 'target_name': 'webkit_unit_tests', | 44 'target_name': 'webkit_unit_tests', |
| 82 'type': 'executable', | 45 'type': 'executable', |
| 83 'variables': { 'enable_wexit_time_destructors': 1, }, | 46 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 84 'dependencies': [ | 47 'dependencies': [ |
| 48 '../../public/blink.gyp:blink', |
| 85 '../config.gyp:unittest_config', | 49 '../config.gyp:unittest_config', |
| 86 '../../public/blink.gyp:blink', | |
| 87 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', | 50 '../wtf/wtf_tests.gyp:wtf_unittest_helpers', |
| 88 'web.gyp:blink_web_test_support', | 51 'web.gyp:blink_web_test_support', |
| 89 '<(DEPTH)/base/base.gyp:base', | 52 '<(DEPTH)/base/base.gyp:base', |
| 90 '<(DEPTH)/base/base.gyp:base_i18n', | 53 '<(DEPTH)/base/base.gyp:base_i18n', |
| 91 '<(DEPTH)/base/base.gyp:test_support_base', | 54 '<(DEPTH)/base/base.gyp:test_support_base', |
| 92 '<(DEPTH)/testing/gmock.gyp:gmock', | 55 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 93 '<(DEPTH)/testing/gtest.gyp:gtest', | 56 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 94 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', | 57 '<(DEPTH)/third_party/libwebp/libwebp.gyp:libwebp', |
| 95 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', | 58 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
| 96 '<(DEPTH)/url/url.gyp:url_lib', | 59 '<(DEPTH)/url/url.gyp:url_lib', |
| 97 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 60 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 98 '<(DEPTH)/content/content_shell_and_tests.gyp:test_support_conte
nt', | 61 '<(DEPTH)/content/content_shell_and_tests.gyp:test_support_conte
nt', |
| 99 'webkit_unit_tests_resources', | |
| 100 ], | 62 ], |
| 101 'sources': [ | 63 'sources': [ |
| 102 '../web/tests/RunAllTests.cpp', | 64 '../web/tests/RunAllTests.cpp', |
| 103 ], | 65 ], |
| 104 'include_dirs': [ | 66 'include_dirs': [ |
| 105 '../../public/web', | 67 '../../public/web', |
| 106 '../web', | 68 '../web', |
| 107 'src', | 69 'src', |
| 108 ], | 70 ], |
| 109 'conditions': [ | 71 'conditions': [ |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 ], | 147 ], |
| 186 'variables': { | 148 'variables': { |
| 187 'test_suite_name': 'webkit_unit_tests', | 149 'test_suite_name': 'webkit_unit_tests', |
| 188 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)w
ebkit_unit_tests<(SHARED_LIB_SUFFIX)', | 150 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)w
ebkit_unit_tests<(SHARED_LIB_SUFFIX)', |
| 189 }, | 151 }, |
| 190 'includes': [ '../../../../build/apk_test.gypi' ], | 152 'includes': [ '../../../../build/apk_test.gypi' ], |
| 191 }], | 153 }], |
| 192 }], | 154 }], |
| 193 ], | 155 ], |
| 194 } | 156 } |
| OLD | NEW |