| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 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 'variables': { | |
| 6 'chromium_code': 1, | |
| 7 }, | |
| 8 'targets': [ | |
| 9 { | |
| 10 'target_name': 'ios_web_inttests', | |
| 11 'type': '<(gtest_target_type)', | |
| 12 'dependencies': [ | |
| 13 '../../base/base.gyp:base', | |
| 14 '../../base/base.gyp:test_support_base', | |
| 15 '../../ios/provider/ios_provider_web.gyp:ios_provider_web', | |
| 16 '../../net/net.gyp:net_test_support', | |
| 17 '../../services/shell/shell_public.gyp:shell_public', | |
| 18 '../../testing/gtest.gyp:gtest', | |
| 19 '../../ui/base/ui_base.gyp:ui_base_test_support', | |
| 20 'ios_web.gyp:ios_web', | |
| 21 'ios_web.gyp:ios_web_test_support', | |
| 22 'ios_web.gyp:test_mojo_bindings', | |
| 23 'test_resources', | |
| 24 'packed_test_resources', | |
| 25 ], | |
| 26 'sources': [ | |
| 27 'browser_state_web_view_partition_inttest.mm', | |
| 28 'public/test/http_server_inttest.mm', | |
| 29 'test/run_all_unittests.cc', | |
| 30 'webui/web_ui_mojo_inttest.mm', | |
| 31 ], | |
| 32 'mac_bundle_resources': [ | |
| 33 '<(SHARED_INTERMEDIATE_DIR)/ios/web/test/resources.pak' | |
| 34 ], | |
| 35 }, | |
| 36 { | |
| 37 # GN version: //ios/web/test:resources | |
| 38 'target_name': 'test_resources', | |
| 39 'type': 'none', | |
| 40 'hard_dependency': 1, | |
| 41 'dependencies': [ | |
| 42 'ios_web.gyp:test_mojo_bindings', | |
| 43 ], | |
| 44 'actions': [ | |
| 45 { | |
| 46 'action_name': 'test_resources', | |
| 47 'variables': { | |
| 48 'grit_grd_file': 'test/test_resources.grd', | |
| 49 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ios/web/test', | |
| 50 'grit_additional_defines': [ | |
| 51 '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', | |
| 52 ], | |
| 53 }, | |
| 54 'includes': [ '../../build/grit_action.gypi' ], | |
| 55 }, | |
| 56 ], | |
| 57 'copies': [ | |
| 58 { | |
| 59 'destination': '<(PRODUCT_DIR)', | |
| 60 'files': [ | |
| 61 '<(SHARED_INTERMEDIATE_DIR)/ios/web/test/test_resources.pak' | |
| 62 ], | |
| 63 }, | |
| 64 ], | |
| 65 'direct_dependent_settings': { | |
| 66 'include_dirs': [ | |
| 67 '<(SHARED_INTERMEDIATE_DIR)', | |
| 68 ], | |
| 69 }, | |
| 70 }, | |
| 71 { | |
| 72 'target_name': 'packed_test_resources', | |
| 73 'type': 'none', | |
| 74 'hard_depency': 1, | |
| 75 'dependencies': [ | |
| 76 'test_resources', | |
| 77 ], | |
| 78 'variables': { | |
| 79 'repack_path': [ | |
| 80 '../../tools/grit/grit/format/repack.py', | |
| 81 ], | |
| 82 }, | |
| 83 'actions': [ | |
| 84 { | |
| 85 'action_name': 'repack_test_resources', | |
| 86 'variables': { | |
| 87 'pak_inputs': [ | |
| 88 '<(SHARED_INTERMEDIATE_DIR)/ios/web/ios_web_resources.pak', | |
| 89 '<(SHARED_INTERMEDIATE_DIR)/ios/web/test/test_resources.pak' | |
| 90 ], | |
| 91 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/ios/web/test/resources.pak
', | |
| 92 }, | |
| 93 'includes': [ '../../build/repack_action.gypi' ], | |
| 94 }, | |
| 95 ], | |
| 96 }, | |
| 97 ], | |
| 98 } | |
| OLD | NEW |