Chromium Code Reviews| 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 config("web_view_config") { | |
| 6 libs = [ | |
| 7 "$target_out_dir/libweb_view.a", | |
| 8 | |
| 9 # //ios/web_view depends on sqlite3 provided by iOS. | |
| 10 "sqlite3", | |
| 11 ] | |
| 12 } | |
| 13 | |
| 5 # Public target that should be used to depend on web_view. Only give access | 14 # 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. | 15 # to the web_view public headers while still linking with the implementation. |
| 7 group("web_view") { | 16 # |
| 17 # The generated libweb_view.a can be also linked to apps outside Chromium | |
|
michaeldo
2017/02/07 18:14:20
The second sentence provides enough information, p
Hiroshi Ichikawa
2017/02/08 01:16:21
Done.
| |
| 18 # code base. This is a complete static library (containing all dependencies), | |
| 19 # and it doesn't expose internal symbols to reduce risk of symbol conflict. | |
| 20 copy("web_view") { | |
| 8 public_deps = [ | 21 public_deps = [ |
| 9 "//ios/web_view/public", | 22 "//ios/web_view/public", |
| 10 ] | 23 ] |
| 11 deps = [ | 24 deps = [ |
| 12 "//ios/web_view/internal", | 25 "//ios/web_view/internal:lib_web_view", |
| 13 ] | 26 ] |
| 27 sources = [ | |
| 28 "$target_out_dir/internal/libweb_view.a", | |
| 29 ] | |
| 30 outputs = [ | |
| 31 "$target_out_dir/libweb_view.a", | |
| 32 ] | |
| 33 public_configs = [ ":web_view_config" ] | |
| 14 } | 34 } |
| OLD | NEW |