OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'ios_unittests', | 10 'target_name': 'ios_unittests', |
11 'type': '<(gtest_target_type)', | 11 'type': '<(gtest_target_type)', |
12 'dependencies': [ | 12 'dependencies': [ |
13 '../base/base.gyp:base', | 13 '../base/base.gyp:base', |
14 '../base/base.gyp:run_all_unittests', | 14 '../base/base.gyp:run_all_unittests', |
15 '../base/base.gyp:test_support_base', | 15 '../base/base.gyp:test_support_base', |
16 '../testing/gmock.gyp:gmock', | 16 '../testing/gmock.gyp:gmock', |
17 '../testing/gtest.gyp:gtest', | 17 '../testing/gtest.gyp:gtest', |
18 'ios_base.gyp:ios_consumer_base', | 18 'ios_base.gyp:ios_consumer_base', |
19 'web/ios_web.gyp:ios_web', | 19 'web/ios_web.gyp:ios_web', |
20 'web/ios_web.gyp:test_support_ios_web', | 20 'web/ios_web.gyp:test_support_ios_web', |
21 ], | 21 ], |
22 'sources': [ | 22 'sources': [ |
23 'web/browser_state_unittest.cc', | 23 'web/browser_state_unittest.cc', |
24 'web/navigation/navigation_item_impl_unittest.mm', | 24 'web/navigation/navigation_item_impl_unittest.mm', |
| 25 'web/public/webp_decoder_unittest.mm', |
25 'web/string_util_unittest.cc', | 26 'web/string_util_unittest.cc', |
26 ], | 27 ], |
| 28 'actions': [ |
| 29 { |
| 30 'action_name': 'copy_test_data', |
| 31 'variables': { |
| 32 'test_data_files': [ |
| 33 'web/test/data/test.jpg', |
| 34 'web/test/data/test.webp', |
| 35 'web/test/data/test_alpha.webp', |
| 36 'web/test/data/test_alpha.png', |
| 37 'web/test/data/test_small.tiff', |
| 38 'web/test/data/test_small.webp', |
| 39 ], |
| 40 'test_data_prefix': 'ios', |
| 41 }, |
| 42 'includes': [ '../build/copy_test_data_ios.gypi' ], |
| 43 }, |
| 44 ], |
27 }, | 45 }, |
28 ], | 46 ], |
29 } | 47 } |
OLD | NEW |