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

Side by Side Diff: ios/chrome/browser/ui/omnibox/BUILD.gn

Issue 2683423003: [ObjC ARC] Converts ios/chrome/browser/ui/omnibox:unit_tests to ARC. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | ios/chrome/browser/ui/omnibox/omnibox_text_field_ios_unittest.mm » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("omnibox") { 5 source_set("omnibox") {
6 sources = [ 6 sources = [
7 "omnibox_util.cc", 7 "omnibox_util.cc",
8 "omnibox_util.h", 8 "omnibox_util.h",
9 "web_omnibox_edit_controller.cc", 9 "web_omnibox_edit_controller.cc",
10 "web_omnibox_edit_controller.h", 10 "web_omnibox_edit_controller.h",
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 ] 103 ]
104 libs = [ 104 libs = [
105 "CoreText.framework", 105 "CoreText.framework",
106 "MobileCoreServices.framework", 106 "MobileCoreServices.framework",
107 "QuartzCore.framework", 107 "QuartzCore.framework",
108 "UIKit.framework", 108 "UIKit.framework",
109 ] 109 ]
110 } 110 }
111 111
112 source_set("unit_tests") { 112 source_set("unit_tests") {
113 configs += [ "//build/config/compiler:enable_arc" ]
113 testonly = true 114 testonly = true
114 sources = [ 115 sources = [
115 "omnibox_text_field_ios_unittest.mm", 116 "omnibox_text_field_ios_unittest.mm",
116 ] 117 ]
117 deps = [ 118 deps = [
118 ":omnibox_internal", 119 ":omnibox_internal",
119 ":resources_unit_tests", 120 ":resources_unit_tests",
120 "//base", 121 "//base",
121 "//ios/chrome/app/strings", 122 "//ios/chrome/app/strings",
122 "//ios/chrome/browser", 123 "//ios/chrome/browser",
123 "//testing/gtest", 124 "//testing/gtest",
124 "//ui/base", 125 "//ui/base",
125 ] 126 ]
126 } 127 }
127 128
128 bundle_data("resources_unit_tests") { 129 bundle_data("resources_unit_tests") {
129 visibility = [ ":unit_tests" ] 130 visibility = [ ":unit_tests" ]
130 testonly = true 131 testonly = true
131 sources = [ 132 sources = [
132 "//ios/chrome/test/data/omnibox/selected_ranges.txt", 133 "//ios/chrome/test/data/omnibox/selected_ranges.txt",
133 ] 134 ]
134 outputs = [ 135 outputs = [
135 "{{bundle_resources_dir}}/" + 136 "{{bundle_resources_dir}}/" +
136 "ios/chrome/test/data/omnibox/{{source_file_part}}", 137 "ios/chrome/test/data/omnibox/{{source_file_part}}",
137 ] 138 ]
138 } 139 }
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/ui/omnibox/omnibox_text_field_ios_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698