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

Side by Side Diff: ios/clean/chrome/app/BUILD.gn

Issue 2592983003: [Clean Skeleton] Migrate code to clean/ (Closed)
Patch Set: Rebased Created 3 years, 11 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 | « ios/clean/README.md ('k') | ios/clean/chrome/app/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 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 import("//build/config/mac/base_rules.gni")
7 import("//build/mac/tweak_info_plist.gni")
8 import("//ios/build/chrome_build.gni")
9 import("//ios/public/provider/chrome/browser/build_config.gni")
10
11 tweak_info_plist("info_plist") {
12 info_plists = [
13 "//ios/chrome/app/resources/Info.plist",
14 "//ios/chrome/app/resources/ChromeAddition+Info.plist",
15 ]
16 if (ios_chrome_info_plist_additions != []) {
17 info_plists += ios_chrome_info_plist_additions
18 }
19 if (ios_encryption_export_compliance_code != "") {
20 info_plists +=
21 [ "//ios/chrome/app/resources/EncryptionExportCompliance+Info.plist" ]
22 }
23 args = [
24 "--breakpad=$breakpad_enabled_as_int",
25 "--branding=$chromium_short_name",
26 ]
27 }
28
29 ios_app_bundle("chrome_clean_skeleton") {
30 output_name = "CSChromium"
31
32 entitlements_path = "//ios/chrome/app/resources/Chrome.entitlements"
33 info_plist_target = ":info_plist"
34
35 deps = [
36 ":main",
37 "//ios/chrome/app:tests_fake_hook",
38 ]
39
40 bundle_deps = [ "//ios/chrome/app/resources" ]
41
42 extra_substitutions = [
43 "CHROMIUM_BUNDLE_ID=$chromium_bundle_id",
44 "CHROMIUM_SHORT_NAME=$chromium_short_name",
45 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme",
46 "CHROMIUM_URL_SCHEME_2=$url_secure_scheme",
47 "CHROMIUM_URL_SCHEME_3=$url_x_callback_scheme",
48 "CHROMIUM_URL_SCHEME_4=$url_channel_scheme",
49 ]
50
51 if (ios_encryption_export_compliance_code != "") {
52 extra_substitutions += [ "ENCRYPTION_EXPORT_COMPLIANCE_CODE=" +
53 ios_encryption_export_compliance_code ]
54 }
55 }
56
57 source_set("main") {
58 sources = [
59 "main.mm",
60 ]
61
62 deps = [
63 ":app",
64 "//base",
65 "//components/crash/core/common",
66 "//ios/chrome/app:app_internal",
67 "//ios/chrome/app/startup",
68 "//ios/chrome/browser",
69 "//ios/chrome/browser:browser_internal",
70 "//ios/chrome/browser/crash_report",
71 "//ios/chrome/common",
72 "//third_party/google_toolbox_for_mac",
73 ]
74
75 configs += [ "//build/config/compiler:enable_arc" ]
76 }
77
78 source_set("application_state") {
79 sources = [
80 "application_phase.h",
81 "application_state.h",
82 "application_state.mm",
83 "application_step.h",
84 ]
85
86 configs += [ "//build/config/compiler:enable_arc" ]
87
88 deps = [
89 "//base",
90 "//ios/clean/chrome/browser",
91 ]
92 }
93
94 source_set("app") {
95 sources = [
96 "app_delegate.h",
97 "app_delegate.mm",
98 ]
99
100 configs += [ "//build/config/compiler:enable_arc" ]
101
102 deps = [
103 ":application_state",
104 "//ios/clean/chrome/app/steps",
105 ]
106 }
OLDNEW
« no previous file with comments | « ios/clean/README.md ('k') | ios/clean/chrome/app/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698