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

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

Issue 2808093006: [Device Service] Move Gamepad Blink headers to be part of the Gamepad client library (Closed)
Patch Set: rebase and address comments Created 3 years, 8 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 | « device/BUILD.gn ('k') | device/gamepad/DEPS » ('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/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") # For generate_jni(). 9 import("//build/config/android/rules.gni") # For generate_jni().
10 } 10 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 "raw_input_data_fetcher_win.cc", 53 "raw_input_data_fetcher_win.cc",
54 "raw_input_data_fetcher_win.h", 54 "raw_input_data_fetcher_win.h",
55 "xbox_data_fetcher_mac.h", 55 "xbox_data_fetcher_mac.h",
56 "xbox_data_fetcher_mac.mm", 56 "xbox_data_fetcher_mac.mm",
57 ] 57 ]
58 58
59 deps = [ 59 deps = [
60 "//base", 60 "//base",
61 "//base/third_party/dynamic_annotations", 61 "//base/third_party/dynamic_annotations",
62 "//device/base/synchronization", 62 "//device/base/synchronization",
63 "//device/gamepad/public/cpp:shared_with_blink",
63 "//device/gamepad/public/interfaces", 64 "//device/gamepad/public/interfaces",
64 "//mojo/public/cpp/system", 65 "//mojo/public/cpp/system",
65 "//third_party/WebKit/public:blink_headers", 66 "//third_party/WebKit/public:blink_headers",
66 ] 67 ]
67 68
68 defines = [ "DEVICE_GAMEPAD_IMPLEMENTATION" ] 69 defines = [ "DEVICE_GAMEPAD_IMPLEMENTATION" ]
69 70
70 if (is_win) { 71 if (is_win) {
71 cflags = [ "/wd4267" ] # conversion from 'size_t' (64 bit) to 'type'(32 bit ). 72 cflags = [ "/wd4267" ] # conversion from 'size_t' (64 bit) to 'type'(32 bit ).
72 } 73 }
(...skipping 24 matching lines...) Expand all
97 testonly = true 98 testonly = true
98 99
99 sources = [ 100 sources = [
100 "gamepad_test_helpers.cc", 101 "gamepad_test_helpers.cc",
101 "gamepad_test_helpers.h", 102 "gamepad_test_helpers.h",
102 ] 103 ]
103 104
104 public_deps = [ 105 public_deps = [
105 ":gamepad", 106 ":gamepad",
106 "//base", 107 "//base",
108 "//device/gamepad/public/cpp:shared_with_blink",
107 "//third_party/WebKit/public:blink_headers", 109 "//third_party/WebKit/public:blink_headers",
108 ] 110 ]
109 } 111 }
110 112
111 if (is_android) { 113 if (is_android) {
112 generate_jni("jni_headers") { 114 generate_jni("jni_headers") {
113 sources = [ 115 sources = [
114 "android/java/src/org/chromium/device/gamepad/GamepadList.java", 116 "android/java/src/org/chromium/device/gamepad/GamepadList.java",
115 ] 117 ]
116 jni_package = "gamepad" 118 jni_package = "gamepad"
(...skipping 11 matching lines...) Expand all
128 ] 130 ]
129 srcjar_deps = [ ":java_enums_srcjar" ] 131 srcjar_deps = [ ":java_enums_srcjar" ]
130 } 132 }
131 133
132 java_cpp_enum("java_enums_srcjar") { 134 java_cpp_enum("java_enums_srcjar") {
133 sources = [ 135 sources = [
134 "gamepad_standard_mappings.h", 136 "gamepad_standard_mappings.h",
135 ] 137 ]
136 } 138 }
137 } 139 }
OLDNEW
« no previous file with comments | « device/BUILD.gn ('k') | device/gamepad/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698