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

Side by Side Diff: mojo/public/interfaces/bindings/tests/BUILD.gn

Issue 2612253003: Add visibility restrictions to all mojoms that export symbols. (Closed)
Patch Set: Created 3 years, 11 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 | « mojo/public/interfaces/bindings/BUILD.gn ('k') | mojo/public/tools/bindings/mojom.gni » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("../../../tools/bindings/mojom.gni") 5 import("../../../tools/bindings/mojom.gni")
6 6
7 mojom("test_interfaces") { 7 mojom("test_interfaces") {
8 testonly = true 8 testonly = true
9 sources = [ 9 sources = [
10 "math_calculator.mojom", 10 "math_calculator.mojom",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ] 54 ]
55 export_class_attribute = "MOJO_TEST_EXPORT" 55 export_class_attribute = "MOJO_TEST_EXPORT"
56 export_define = "MOJO_TEST_IMPLEMENTATION=1" 56 export_define = "MOJO_TEST_IMPLEMENTATION=1"
57 export_header = "mojo/public/cpp/bindings/tests/mojo_test_export.h" 57 export_header = "mojo/public/cpp/bindings/tests/mojo_test_export.h"
58 if (!is_ios) { 58 if (!is_ios) {
59 export_class_attribute_blink = "MOJO_TEST_BLINK_EXPORT" 59 export_class_attribute_blink = "MOJO_TEST_BLINK_EXPORT"
60 export_define_blink = "MOJO_TEST_BLINK_IMPLEMENTATION=1" 60 export_define_blink = "MOJO_TEST_BLINK_IMPLEMENTATION=1"
61 export_header_blink = 61 export_header_blink =
62 "mojo/public/cpp/bindings/tests/mojo_test_blink_export.h" 62 "mojo/public/cpp/bindings/tests/mojo_test_blink_export.h"
63 } 63 }
64 visibility = [ 64 visibility = [ ":test_export_component" ]
65 ":test_export_component", 65 if (!is_ios) {
66 ":test_export_blink_component", 66 visibility_blink = [ ":test_export_blink_component" ]
67 ] 67 }
68 } 68 }
69 69
70 mojom("test_exported_import") { 70 mojom("test_exported_import") {
71 testonly = true 71 testonly = true
72 sources = [ 72 sources = [
73 "test_import.mojom", 73 "test_import.mojom",
74 ] 74 ]
75 public_deps = [ 75 public_deps = [
76 ":test_export", 76 ":test_export",
77 ] 77 ]
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 ] 166 ]
167 } 167 }
168 168
169 mojom("test_no_sources") { 169 mojom("test_no_sources") {
170 testonly = true 170 testonly = true
171 171
172 public_deps = [ 172 public_deps = [
173 ":test_interfaces", 173 ":test_interfaces",
174 ] 174 ]
175 } 175 }
OLDNEW
« no previous file with comments | « mojo/public/interfaces/bindings/BUILD.gn ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698