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

Side by Side Diff: components/cronet/ios/sample/BUILD.gn

Issue 2807283002: [Cronet] Build static libcronet.a for iOS with complete dependencies. (Closed)
Patch Set: Change package_ios.py to build per architecture and skip x86. Created 3 years, 8 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/ios/rules.gni")
6
7 ios_app_bundle("cronet_sample_static") {
8 info_plist = "cronet-sample-Info.plist"
9
10 deps = [
11 "//base",
12
13 # "//components/cronet/ios:cronet_static",
14 "//components/cronet/ios:lib_cronet",
15
16 # All shared libraries must have the sanitizer deps to properly link in
17 # asan mode (this target will be empty in other cases).
18 "//build/config/sanitizers:deps",
19 ]
20
21 sources = [
22 "cronet_sample_app_delegate.h",
23 "cronet_sample_app_delegate.mm",
24 "cronet_sample_view_controller.h",
25 "cronet_sample_view_controller.m",
26 "main.mm",
27 ]
28
29 include_dirs = [ "//components/grpc_support/include" ]
30
31 # bundle_deps = [ "//ios/crnet:crnet_framework+bundle" ]
32
33 configs += [ "//build/config/compiler:enable_arc" ]
34 }
35
36 ios_app_bundle("cronet_sample") {
37 info_plist = "cronet-sample-Info.plist"
38
39 deps = [
40 "//base",
41 "//components/cronet/ios:cronet_framework+link",
42
43 # All shared libraries must have the sanitizer deps to properly link in
44 # asan mode (this target will be empty in other cases).
45 "//build/config/sanitizers:deps",
46 ]
47
48 sources = [
49 "cronet_sample_app_delegate.h",
50 "cronet_sample_app_delegate.mm",
51 "cronet_sample_view_controller.h",
52 "cronet_sample_view_controller.m",
53 "main.mm",
54 ]
55
56 include_dirs = [ "//components/grpc_support/include" ]
57
58 bundle_deps = [ "//components/cronet/ios:cronet_framework+bundle" ]
59
60 configs += [ "//build/config/compiler:enable_arc" ]
61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698