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

Side by Side Diff: tools-webrtc/testdata/subdir/BUILD.gn

Issue 2629723004: Add presubmit check to prevent package boundary violations. (Closed)
Patch Set: Add tests. 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
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698