OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
8 } | 8 } |
9 | 9 |
10 # Only //chrome should ever depend on this. Code in //blimp/client/* should | 10 # Only //chrome should ever depend on this. Code in //blimp/client/* should |
11 # instead use //blimp/client/public:public_headers directly. This target | 11 # instead use //blimp/client/public:public_headers directly. This target |
12 # differs from :public_headers by pulling in the appropriate implementation | 12 # differs from :public_headers by pulling in the appropriate implementation |
13 # as well as the headers. | 13 # as well as the headers. |
14 group("public") { | 14 group("public") { |
15 visibility = [ "//chrome/*" ] | 15 visibility = [ "//chrome/*" ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 ":public_headers", | 18 ":public_headers", |
19 "//blimp/client/core:core_shim", | 19 "//blimp/client/core:core_shim", |
20 ] | 20 ] |
21 } | 21 } |
22 | 22 |
23 # All code in //blimp/client/* should depend on this target instead of | 23 # All code in //blimp/client/* should depend on this target instead of |
24 # //blimp/client/public to ensure there are no circular dependencies or | 24 # //blimp/client/public to ensure there are no circular dependencies or |
25 # duplicate symbols regardless of whether enable_blimp is set or not. | 25 # duplicate symbols regardless of whether enable_blimp_client is set or not. |
26 source_set("public_headers") { | 26 source_set("public_headers") { |
27 visibility = [ "//blimp/client/*" ] | 27 visibility = [ "//blimp/client/*" ] |
28 | 28 |
29 sources = [ | 29 sources = [ |
30 "blimp_client_context.h", | 30 "blimp_client_context.h", |
31 "blimp_client_context_delegate.h", | 31 "blimp_client_context_delegate.h", |
32 "contents/blimp_contents.h", | 32 "contents/blimp_contents.h", |
33 "contents/blimp_contents_observer.h", | 33 "contents/blimp_contents_observer.h", |
34 "contents/blimp_navigation_controller.h", | 34 "contents/blimp_navigation_controller.h", |
35 ] | 35 ] |
(...skipping 18 matching lines...) Expand all Loading... |
54 visibility = [ "//chrome/*" ] | 54 visibility = [ "//chrome/*" ] |
55 | 55 |
56 deps = [ | 56 deps = [ |
57 ":public_headers_java", | 57 ":public_headers_java", |
58 "//blimp/client/core:core_shim_java", | 58 "//blimp/client/core:core_shim_java", |
59 ] | 59 ] |
60 } | 60 } |
61 | 61 |
62 # All code in //blimp/client/* should depend on this target instead of | 62 # All code in //blimp/client/* should depend on this target instead of |
63 # //blimp/client/public:public_java to ensure there are no circular | 63 # //blimp/client/public:public_java to ensure there are no circular |
64 # dependencies or duplicate files regardless of whether enable_blimp is set or | 64 # dependencies or duplicate files regardless of whether enable_blimp_client is |
65 # not. | 65 # set or not. |
66 android_library("public_headers_java") { | 66 android_library("public_headers_java") { |
67 visibility = [ "//blimp/client/*" ] | 67 visibility = [ "//blimp/client/*" ] |
68 | 68 |
69 java_files = [ | 69 java_files = [ |
70 "android/java/src/org/chromium/blimp_public/contents/BlimpContents.java", | 70 "android/java/src/org/chromium/blimp_public/contents/BlimpContents.java", |
71 "android/java/src/org/chromium/blimp_public/contents/BlimpContentsObserver
.java", | 71 "android/java/src/org/chromium/blimp_public/contents/BlimpContentsObserver
.java", |
72 "android/java/src/org/chromium/blimp_public/contents/BlimpNavigationContro
ller.java", | 72 "android/java/src/org/chromium/blimp_public/contents/BlimpNavigationContro
ller.java", |
73 "android/java/src/org/chromium/blimp_public/contents/EmptyBlimpContentsObs
erver.java", | 73 "android/java/src/org/chromium/blimp_public/contents/EmptyBlimpContentsObs
erver.java", |
74 "android/java/src/org/chromium/blimp_public/BlimpClientContext.java", | 74 "android/java/src/org/chromium/blimp_public/BlimpClientContext.java", |
75 ] | 75 ] |
76 } | 76 } |
77 } | 77 } |
OLD | NEW |