OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| 2 # |
| 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 |
| 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 |
| 9 static_library("subdir") { |
| 10 sources = [ |
| 11 "dummy2.cc", |
| 12 ] |
| 13 deps = [ |
| 14 ":package_boundary_violation", |
| 15 "subdir2", |
| 16 ] |
| 17 } |
| 18 |
| 19 static_library("package_boundary_violation") { |
| 20 sources = [ |
| 21 "subdir2/dummy4.cc", |
| 22 "subdir2/dummy4.h", |
| 23 ] |
| 24 deps = [ |
| 25 "subdir2", |
| 26 ] |
| 27 } |
| 28 |
| 29 # Testing that this work with indentation. |
| 30 if (is_win) { |
| 31 source_set("package_boundary_violation_unittests") { |
| 32 testonly = true |
| 33 sources = [ |
| 34 "subdir2/dummy3_unittest.cc", |
| 35 ] |
| 36 deps = [ |
| 37 "subdir2:dummy_test_support", |
| 38 ] |
| 39 } |
| 40 } |
OLD | NEW |