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

Unified Diff: services/shape_detection/BUILD.gn

Issue 2655303005: Shape detection service: Add QR detection in Mac (Closed)
Patch Set: rsesek@ comments Created 3 years, 11 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 7c8574857c82e54c0f90b736fe67d0ad83ab8396..2546fb7f580615917adca8b2c698fae2757790d7 100644
--- a/services/shape_detection/BUILD.gn
+++ b/services/shape_detection/BUILD.gn
@@ -7,6 +7,7 @@ import("//services/service_manager/public/service_manifest.gni")
source_set("lib") {
sources = [
+ "barcode_detection_impl.h",
"face_detection_provider_impl.h",
"shape_detection_service.cc",
"shape_detection_service.h",
@@ -14,11 +15,19 @@ source_set("lib") {
if (is_mac) {
sources += [
+ "barcode_detection_impl_mac.h",
+ "barcode_detection_impl_mac.mm",
+ "detection_utils_mac.h",
+ "detection_utils_mac.mm",
"face_detection_impl_mac.h",
"face_detection_impl_mac.mm",
]
+ libs = [ "QuartzCore.framework" ]
} else {
- sources += [ "face_detection_provider_impl.cc" ]
+ sources += [
+ "barcode_detection_impl.cc",
+ "face_detection_provider_impl.cc",
+ ]
}
deps = [

Powered by Google App Engine
This is Rietveld 408576698