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

Side by Side Diff: third_party/ocmock/BUILD.gn

Issue 2595213003: Enable -Wundeclared-selector on ios. (Closed)
Patch Set: Fix more warnings. 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
OLDNEW
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 assert(is_mac || is_ios) 5 assert(is_mac || is_ios)
6 6
7 config("ocmock_config") { 7 config("ocmock_config") {
8 include_dirs = [ "//third_party/ocmock" ] 8 include_dirs = [ "//third_party/ocmock" ]
9 } 9 }
10 10
11 config("ocmock_warnings") { 11 config("ocmock_warnings") {
12 # NSInvocation+OCMAdditions.m has some `- (void) foo; {...` 12 # NSInvocation+OCMAdditions.m has some `- (void) foo; {...`
13 cflags = [ "-Wno-semicolon-before-method-body" ] 13 cflags = [
14 "-Wno-semicolon-before-method-body",
15 "-Wno-undeclared-selector",
16 ]
14 } 17 }
15 18
16 source_set("ocmock") { 19 source_set("ocmock") {
17 testonly = true 20 testonly = true
18 21
19 sources = [ 22 sources = [
20 # Helper for using with gtest. 23 # Helper for using with gtest.
21 "gtest_support.h", 24 "gtest_support.h",
22 "gtest_support.mm", 25 "gtest_support.mm",
23 26
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 "OCMock/OCProtocolMockObject.h", 73 "OCMock/OCProtocolMockObject.h",
71 "OCMock/OCProtocolMockObject.m", 74 "OCMock/OCProtocolMockObject.m",
72 ] 75 ]
73 76
74 deps = [ 77 deps = [
75 "//testing/gtest", 78 "//testing/gtest",
76 ] 79 ]
77 public_configs = [ ":ocmock_config" ] 80 public_configs = [ ":ocmock_config" ]
78 configs += [ ":ocmock_warnings" ] 81 configs += [ ":ocmock_warnings" ]
79 } 82 }
OLDNEW
« build/config/compiler/BUILD.gn ('K') | « ios/web/web_state/ui/crw_web_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698