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

Side by Side Diff: webrtc/test/BUILD.gn

Issue 1869523002: GN: Fix some build errors for iOS. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added reference to bug 5748 Created 4 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 | « webrtc/modules/audio_device/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # TODO(kjellander): Convert the rest of the test.gyp targets and put here. 9 # TODO(kjellander): Convert the rest of the test.gyp targets and put here.
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 source_set("test_support") { 52 source_set("test_support") {
53 testonly = true 53 testonly = true
54 54
55 sources = [ 55 sources = [
56 "testsupport/fileutils.cc", 56 "testsupport/fileutils.cc",
57 "testsupport/fileutils.h", 57 "testsupport/fileutils.h",
58 "testsupport/frame_reader.cc", 58 "testsupport/frame_reader.cc",
59 "testsupport/frame_reader.h", 59 "testsupport/frame_reader.h",
60 "testsupport/frame_writer.cc", 60 "testsupport/frame_writer.cc",
61 "testsupport/frame_writer.h", 61 "testsupport/frame_writer.h",
62 "testsupport/iosfileutils.mm",
62 "testsupport/mock/mock_frame_reader.h", 63 "testsupport/mock/mock_frame_reader.h",
63 "testsupport/mock/mock_frame_writer.h", 64 "testsupport/mock/mock_frame_writer.h",
64 "testsupport/packet_reader.cc", 65 "testsupport/packet_reader.cc",
65 "testsupport/packet_reader.h", 66 "testsupport/packet_reader.h",
66 "testsupport/perf_test.cc", 67 "testsupport/perf_test.cc",
67 "testsupport/perf_test.h", 68 "testsupport/perf_test.h",
68 "testsupport/trace_to_stderr.cc", 69 "testsupport/trace_to_stderr.cc",
69 "testsupport/trace_to_stderr.h", 70 "testsupport/trace_to_stderr.h",
70 ] 71 ]
71 72
72 deps = [ 73 deps = [
73 "../base:gtest_prod", 74 "../base:gtest_prod",
74 "../system_wrappers", 75 "../system_wrappers",
75 "//testing/gmock", 76 "//testing/gmock",
76 "//testing/gtest", 77 "//testing/gtest",
77 ] 78 ]
78 79
80 if (is_ios) {
81 cflags = [ "-fobjc-arc" ] # CLANG_ENABLE_OBJC_ARC = YES.
82 }
83
79 if (is_android) { 84 if (is_android) {
80 deps += [ "//base:base" ] 85 deps += [ "//base:base" ]
81 } 86 }
82 87
83 configs += [ "..:common_config" ] 88 configs += [ "..:common_config" ]
84 public_configs = [ "..:common_inherited_config" ] 89 public_configs = [ "..:common_inherited_config" ]
85 } 90 }
86 91
87 source_set("test_support_main") { 92 source_set("test_support_main") {
88 testonly = true 93 testonly = true
89 94
90 sources = [ 95 sources = [
91 "run_all_unittests.cc", 96 "run_all_unittests.cc",
92 "test_suite.cc", 97 "test_suite.cc",
93 "test_suite.h", 98 "test_suite.h",
94 ] 99 ]
95 100
96 deps = [ 101 deps = [
97 ":field_trial", 102 ":field_trial",
98 ":histogram", 103 ":histogram",
99 ":test_support", 104 ":test_support",
100 "//testing/gmock", 105 "//testing/gmock",
101 "//testing/gtest", 106 "//testing/gtest",
102 "//third_party/gflags", 107 "//third_party/gflags",
103 ] 108 ]
104 109
105 configs += [ "..:common_config" ] 110 configs += [ "..:common_config" ]
106 public_configs = [ "..:common_inherited_config" ] 111 public_configs = [ "..:common_inherited_config" ]
107 } 112 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698