Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: components/update_client/BUILD.gn

Issue 1903443002: [GN/iOS] Explicitly list test data in //components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-fix-jingle
Patch Set: Address comments and disable non-fonctional test Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/security_state/BUILD.gn ('k') | components/user_prefs/tracked/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 source_set("update_client") { 5 source_set("update_client") {
6 sources = [ 6 sources = [
7 "action.cc", 7 "action.cc",
8 "action.h", 8 "action.h",
9 "action_update.cc", 9 "action_update.cc",
10 "action_update.h", 10 "action_update.h",
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 deps = [ 83 deps = [
84 "//base", 84 "//base",
85 "//components/prefs", 85 "//components/prefs",
86 "//net:test_support", 86 "//net:test_support",
87 "//testing/gmock", 87 "//testing/gmock",
88 "//testing/gtest", 88 "//testing/gtest",
89 "//url", 89 "//url",
90 ] 90 ]
91 } 91 }
92 92
93 bundle_data("unit_tests_bundle_data") {
94 visibility = [ ":unit_tests" ]
95 testonly = true
96 sources = [
97 "//components/test/data/update_client/binary_bsdiff_patch.bin",
98 "//components/test/data/update_client/binary_courgette_patch.bin",
99 "//components/test/data/update_client/binary_input.bin",
100 "//components/test/data/update_client/binary_output.bin",
101 "//components/test/data/update_client/ihfokbkgjpifnbbojhneepfflplebdkc_1.crx ",
102 "//components/test/data/update_client/ihfokbkgjpifnbbojhneepfflplebdkc_1to2. crx",
103 "//components/test/data/update_client/ihfokbkgjpifnbbojhneepfflplebdkc_2.crx ",
104 "//components/test/data/update_client/jebgalgnebhfojomionfpkfelancnnkf.crx",
105 "//components/test/data/update_client/updatecheck_reply_1.xml",
106 "//components/test/data/update_client/updatecheck_reply_4.xml",
107 ]
108 outputs = [
109 "{{bundle_resources_dir}}/" +
110 "{{source_root_relative_dir}}/{{source_file_part}}",
111 ]
112 }
113
93 source_set("unit_tests") { 114 source_set("unit_tests") {
94 testonly = true 115 testonly = true
95 sources = [ 116 sources = [
96 "component_patcher_unittest.cc", 117 "component_patcher_unittest.cc",
97 "crx_downloader_unittest.cc", 118 "crx_downloader_unittest.cc",
98 "persisted_data_unittest.cc", 119 "persisted_data_unittest.cc",
99 "ping_manager_unittest.cc", 120 "ping_manager_unittest.cc",
100 "request_sender_unittest.cc", 121 "request_sender_unittest.cc",
101 "update_checker_unittest.cc", 122 "update_checker_unittest.cc",
102 "update_client_unittest.cc", 123 "update_client_unittest.cc",
103 "update_query_params_unittest.cc", 124 "update_query_params_unittest.cc",
104 "update_response_unittest.cc", 125 "update_response_unittest.cc",
105 "utils_unittest.cc", 126 "utils_unittest.cc",
106 ] 127 ]
107 128
108 deps = [ 129 deps = [
109 ":test_support", 130 ":test_support",
131 ":unit_tests_bundle_data",
110 ":update_client", 132 ":update_client",
111 "//base", 133 "//base",
112 "//components/prefs", 134 "//components/prefs",
113 "//components/prefs:test_support", 135 "//components/prefs:test_support",
114 "//courgette:courgette_lib", 136 "//courgette:courgette_lib",
115 "//net:test_support", 137 "//net:test_support",
116 "//testing/gmock", 138 "//testing/gmock",
117 "//testing/gtest", 139 "//testing/gtest",
118 "//third_party/libxml", 140 "//third_party/libxml",
119 ] 141 ]
120 } 142 }
OLDNEW
« no previous file with comments | « components/security_state/BUILD.gn ('k') | components/user_prefs/tracked/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698