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

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

Issue 2587883002: Fix ODR violations caused by mojoms being included in multiple components. (Closed)
Patch Set: Created 4 years 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 | device/generic_sensor/linux/sensor_device_manager.h » ('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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") # For generate_jni(). 8 import("//build/config/android/rules.gni") # For generate_jni().
9 } 9 }
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] 47 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ]
48 48
49 deps = [ 49 deps = [
50 "//base", 50 "//base",
51 "//device/base/synchronization", 51 "//device/base/synchronization",
52 ] 52 ]
53 53
54 public_deps = [ 54 public_deps = [
55 "//device/generic_sensor/public/cpp", 55 "//device/generic_sensor/public/cpp",
56 "//device/generic_sensor/public/interfaces",
57 ] 56 ]
58 57
59 if (is_android) { 58 if (is_android) {
60 sources += [ 59 sources += [
61 "android/sensors_jni_registrar.cc", 60 "android/sensors_jni_registrar.cc",
62 "android/sensors_jni_registrar.h", 61 "android/sensors_jni_registrar.h",
63 ] 62 ]
64 63
65 deps += [ ":jni_headers" ] 64 deps += [ ":jni_headers" ]
66 } 65 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 "fake_platform_sensor_provider.cc", 120 "fake_platform_sensor_provider.cc",
122 "fake_platform_sensor_provider.h", 121 "fake_platform_sensor_provider.h",
123 ] 122 ]
124 123
125 public_deps = [ 124 public_deps = [
126 ":generic_sensor", 125 ":generic_sensor",
127 "//base", 126 "//base",
128 "//testing/gmock", 127 "//testing/gmock",
129 ] 128 ]
130 } 129 }
OLDNEW
« no previous file with comments | « no previous file | device/generic_sensor/linux/sensor_device_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698