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 # Public target that should be used to depend on web_view. Only give access | 5 # Public target that should be used to depend on web_view. Only give access |
6 # to the web_view public headers while still linking with the implementation. | 6 # to the web_view public headers while still linking with the implementation. |
7 group("web_view") { | 7 group("web_view") { |
8 public_deps = [ | 8 public_deps = [ |
9 "//ios/web_view/public", | 9 "//ios/web_view/public", |
10 ] | 10 ] |
11 deps = [ | 11 deps = [ |
12 "//ios/web_view/internal", | 12 "//ios/web_view/internal", |
13 ] | 13 ] |
14 } | 14 } |
| 15 |
| 16 # Build and use this .a file to use this library in apps outside Chromium |
| 17 # code base. This is a complete static library (containing all dependencies), |
| 18 # and it doesn't expose internal symbols to reduce risk of symbol conflict. |
| 19 copy("lib_web_view") { |
| 20 deps = [ |
| 21 "//ios/web_view/internal:lib_web_view", |
| 22 ] |
| 23 sources = [ |
| 24 "$target_out_dir/internal/libweb_view.a", |
| 25 ] |
| 26 outputs = [ |
| 27 "$target_out_dir/libweb_view.a", |
| 28 ] |
| 29 } |
OLD | NEW |