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

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: Slightly simplified a build rule. Created 3 years, 10 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') | ios/web_view/internal/BUILD.gn » ('J')
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 # 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 }
OLDNEW
« no previous file with comments | « no previous file | ios/web_view/internal/BUILD.gn » ('j') | ios/web_view/internal/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698