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

Side by Side Diff: ios/chrome/browser/ui/voice/BUILD.gn

Issue 2539143002: [iOS] Clean deps and public_deps. (Closed)
Patch Set: Fix deps 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 | « ios/chrome/browser/signin/BUILD.gn ('k') | ios/chrome/browser/voice/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 source_set("voice") { 5 source_set("voice") {
6 configs += [ "//build/config/compiler:enable_arc" ] 6 configs += [ "//build/config/compiler:enable_arc" ]
7 sources = [ 7 sources = [
8 "text_to_speech_player+subclassing.h", 8 "text_to_speech_player+subclassing.h",
9 "text_to_speech_player.h", 9 "text_to_speech_player.h",
10 "text_to_speech_player.mm", 10 "text_to_speech_player.mm",
11 "voice_search_notification_names.h", 11 "voice_search_notification_names.h",
12 "voice_search_notification_names.mm", 12 "voice_search_notification_names.mm",
13 ] 13 ]
14 14
15 deps = [ 15 deps = [
16 "//base", 16 "//base",
17 ] 17 ]
18 18
19 libs = [ "AVFoundation.framework" ] 19 libs = [ "AVFoundation.framework" ]
20 } 20 }
21 21
22 source_set("unit_tests") { 22 source_set("unit_tests") {
23 testonly = true 23 testonly = true
24 24
25 sources = [ 25 sources = [
26 "text_to_speech_player_unittest.mm", 26 "text_to_speech_player_unittest.mm",
27 ] 27 ]
28 28
29 deps = [ 29 deps = [
30 ":voice",
30 ":voice_unit_tests_bundle_data", 31 ":voice_unit_tests_bundle_data",
31 "//base", 32 "//base",
32 "//base/test:test_support", 33 "//base/test:test_support",
33 "//ios/web", 34 "//ios/web",
34 "//ios/web:test_support", 35 "//ios/web:test_support",
35 "//testing/gtest", 36 "//testing/gtest",
36 "//url", 37 "//url",
37 ] 38 ]
38
39 public_deps = [
40 ":voice",
41 ]
42 } 39 }
43 40
44 bundle_data("voice_unit_tests_bundle_data") { 41 bundle_data("voice_unit_tests_bundle_data") {
45 visibility = [ ":unit_tests" ] 42 visibility = [ ":unit_tests" ]
46 testonly = true 43 testonly = true
47 sources = [ 44 sources = [
48 "//ios/chrome/test/data/voice/test_sound.m4a", 45 "//ios/chrome/test/data/voice/test_sound.m4a",
49 ] 46 ]
50 outputs = [ 47 outputs = [
51 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" + 48 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" +
52 "{{source_file_part}}", 49 "{{source_file_part}}",
53 ] 50 ]
54 } 51 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/signin/BUILD.gn ('k') | ios/chrome/browser/voice/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698