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

Side by Side Diff: webrtc/modules/utility/BUILD.gn

Issue 2838873002: Creating webrtc/modules:module_api (Closed)
Patch Set: fixing gn coding standards 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
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
(...skipping 12 matching lines...) Expand all
23 if (!build_with_chromium && is_clang) { 23 if (!build_with_chromium && is_clang) {
24 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 24 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
25 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 25 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
26 } 26 }
27 27
28 if (is_ios) { 28 if (is_ios) {
29 libs = [ "AVFoundation.framework" ] 29 libs = [ "AVFoundation.framework" ]
30 } 30 }
31 31
32 deps = [ 32 deps = [
33 "..:module_api",
33 "../..:webrtc_common", 34 "../..:webrtc_common",
34 "../../audio/utility:audio_frame_operations", 35 "../../audio/utility:audio_frame_operations",
35 "../../base:rtc_task_queue", 36 "../../base:rtc_task_queue",
36 "../../common_audio", 37 "../../common_audio",
37 "../../system_wrappers", 38 "../../system_wrappers",
38 "../media_file", 39 "../media_file",
39 ] 40 ]
40 } 41 }
41 42
42 if (rtc_include_tests) { 43 if (rtc_include_tests) {
43 rtc_source_set("utility_unittests") { 44 rtc_source_set("utility_unittests") {
44 testonly = true 45 testonly = true
45 46
46 # Skip restricting visibility on mobile platforms since the tests on those 47 # Skip restricting visibility on mobile platforms since the tests on those
47 # gets additional generated targets which would require many lines here to 48 # gets additional generated targets which would require many lines here to
48 # cover (which would be confusing to read and hard to maintain). 49 # cover (which would be confusing to read and hard to maintain).
49 if (!is_android && !is_ios) { 50 if (!is_android && !is_ios) {
50 visibility = [ "//webrtc/modules:modules_unittests" ] 51 visibility = [ "//webrtc/modules:modules_unittests" ]
51 } 52 }
52 sources = [ 53 sources = [
53 "source/process_thread_impl_unittest.cc", 54 "source/process_thread_impl_unittest.cc",
54 ] 55 ]
55 deps = [ 56 deps = [
56 ":utility", 57 ":utility",
58 "..:module_api",
57 "../../base:rtc_task_queue", 59 "../../base:rtc_task_queue",
58 "../../test:test_support", 60 "../../test:test_support",
59 "//testing/gmock", 61 "//testing/gmock",
60 ] 62 ]
61 } 63 }
62 } 64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698