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

Side by Side Diff: device/nfc/BUILD.gn

Issue 1486043002: [webnfc] Implement push method for Android nfc mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@step_6_add_mojo_service_CL
Patch Set: Rebased. Created 4 years, 7 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
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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 static_library("nfc") { 8 static_library("nfc") {
9 sources = [ 9 sources = [
10 "nfc_adapter.cc", 10 "nfc_adapter.cc",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 defines = [ "DEVICE_NFC_IMPLEMENTATION" ] 54 defines = [ "DEVICE_NFC_IMPLEMENTATION" ]
55 55
56 deps = [ 56 deps = [
57 ":mojo_bindings", 57 ":mojo_bindings",
58 "//base", 58 "//base",
59 "//base/third_party/dynamic_annotations", 59 "//base/third_party/dynamic_annotations",
60 "//mojo/edk/system", 60 "//mojo/edk/system",
61 "//mojo/public/cpp/bindings", 61 "//mojo/public/cpp/bindings",
62 ] 62 ]
63
64 if (is_android) {
65 sources -= [ "nfc_impl_default.cc" ]
66 }
63 } 67 }
64 68
65 mojom("mojo_bindings") { 69 mojom("mojo_bindings") {
66 sources = [ 70 sources = [
67 "nfc.mojom", 71 "nfc.mojom",
68 ] 72 ]
69 } 73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698