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

Unified Diff: services/shape_detection/BUILD.gn

Issue 2726843006: ShapeDetection: add support for Text Detection in Mac (Closed)
Patch Set: offline reillyg@s comment on DCHECK location 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 side-by-side diff with in-line comments
Download patch
Index: services/shape_detection/BUILD.gn
diff --git a/services/shape_detection/BUILD.gn b/services/shape_detection/BUILD.gn
index e4d401d46b4f12073f74b84262d95a028d836842..9a2ddbd617067b848d5be1b854d3839bf030bd1b 100644
--- a/services/shape_detection/BUILD.gn
+++ b/services/shape_detection/BUILD.gn
@@ -12,6 +12,7 @@ source_set("lib") {
"face_detection_provider_impl.h",
"shape_detection_service.cc",
"shape_detection_service.h",
+ "text_detection_impl.h",
]
if (is_mac) {
@@ -22,12 +23,15 @@ source_set("lib") {
"detection_utils_mac.mm",
"face_detection_impl_mac.h",
"face_detection_impl_mac.mm",
+ "text_detection_impl_mac.h",
+ "text_detection_impl_mac.mm",
]
libs = [ "QuartzCore.framework" ]
} else {
sources += [
"barcode_detection_impl.cc",
"face_detection_provider_impl.cc",
+ "text_detection_impl.cc",
]
}
@@ -57,6 +61,7 @@ source_set("tests") {
sources += [
"barcode_detection_impl_mac_unittest.mm",
"face_detection_impl_mac_unittest.mm",
+ "text_detection_impl_mac_unittest.mm",
]
libs = [

Powered by Google App Engine
This is Rietveld 408576698