| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |