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

Side by Side Diff: ios/web_view/BUILD.gn

Issue 2665333002: Add a BUILD target and a script to build a public static library for ios/web_view. (Closed)
Patch Set: Rebase. Created 3 years, 9 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
« no previous file with comments | « no previous file | ios/web_view/internal/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # This is a complete static library (containing all dependencies), and it
18 # doesn't expose internal symbols to reduce risk of symbol conflict.
19 copy("web_view") {
8 public_deps = [ 20 public_deps = [
9 "//ios/web_view/public", 21 "//ios/web_view/public",
10 ] 22 ]
11 deps = [ 23 deps = [
12 "//ios/web_view/internal", 24 "//ios/web_view/internal:lib_web_view",
13 ] 25 ]
26 sources = [
27 "$target_out_dir/internal/libweb_view.a",
28 ]
29 outputs = [
30 "$target_out_dir/libweb_view.a",
31 ]
32
33 # Lets this target behave like a static_library target i.e., Lets its
34 # dependents link to libweb_view.a.
35 public_configs = [ ":web_view_config" ]
14 } 36 }
OLDNEW
« no previous file with comments | « no previous file | ios/web_view/internal/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698