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

Side by Side Diff: media/midi/BUILD.gn

Issue 1465923002: GN: Merge apk_deps and deps in test() template (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for realz this time Created 5 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 | « media/BUILD.gn ('k') | net/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 configs += [ ":midi_config" ] 173 configs += [ ":midi_config" ]
174 deps = [ 174 deps = [
175 ":midi", 175 ":midi",
176 "//base/test/:run_all_unittests", 176 "//base/test/:run_all_unittests",
177 "//base/test/:test_support", 177 "//base/test/:test_support",
178 "//testing/gtest", 178 "//testing/gtest",
179 ] 179 ]
180 180
181 if (is_android) { 181 if (is_android) {
182 apk_deps = [ ":midi_java" ] 182 deps += [ ":midi_java" ]
183 isolate_file = "midi_unittests.isolate" 183 isolate_file = "midi_unittests.isolate"
184 } 184 }
185 185
186 if (!is_android) { 186 if (!is_android) {
187 sources += usb_midi_sources 187 sources += usb_midi_sources
188 } 188 }
189 189
190 if (is_mac) { 190 if (is_mac) {
191 sources += [ "midi_manager_mac_unittest.cc" ] 191 sources += [ "midi_manager_mac_unittest.cc" ]
192 } 192 }
193 193
194 if (use_alsa && use_udev) { 194 if (use_alsa && use_udev) {
195 sources += [ "midi_manager_alsa_unittest.cc" ] 195 sources += [ "midi_manager_alsa_unittest.cc" ]
196 } 196 }
197 197
198 if (use_x11) { 198 if (use_x11) {
199 deps += [ "//tools/xdisplaycheck" ] 199 deps += [ "//tools/xdisplaycheck" ]
200 } 200 }
201 } 201 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698