| 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_client 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 = [ |
| 28 "//blimp/client/*", |
| 29 "//blimp/test/*", |
| 30 ] |
| 28 | 31 |
| 29 sources = [ | 32 sources = [ |
| 30 "blimp_client_context.h", | 33 "blimp_client_context.h", |
| 31 "blimp_client_context_delegate.h", | 34 "blimp_client_context_delegate.h", |
| 32 "contents/blimp_contents.h", | 35 "contents/blimp_contents.h", |
| 33 "contents/blimp_contents_observer.cc", | 36 "contents/blimp_contents_observer.cc", |
| 34 "contents/blimp_contents_observer.h", | 37 "contents/blimp_contents_observer.h", |
| 35 "contents/blimp_navigation_controller.h", | 38 "contents/blimp_navigation_controller.h", |
| 36 "session/assignment.cc", | 39 "session/assignment.cc", |
| 37 "session/assignment.h", | 40 "session/assignment.h", |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 } | 93 } |
| 91 | 94 |
| 92 java_cpp_enum("public_headers_java_enums_srcjar") { | 95 java_cpp_enum("public_headers_java_enums_srcjar") { |
| 93 visibility = [ ":*" ] | 96 visibility = [ ":*" ] |
| 94 | 97 |
| 95 sources = [ | 98 sources = [ |
| 96 "session/assignment.h", | 99 "session/assignment.h", |
| 97 ] | 100 ] |
| 98 } | 101 } |
| 99 } | 102 } |
| OLD | NEW |