OLD | NEW |
---|---|
(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/chrome_build.gni") | |
6 import("//build/config/ios/ios_sdk.gni") | |
7 import("//build/config/mac/symbols.gni") | |
8 | |
9 declare_args() { | |
10 # Enable today extension. | |
11 ios_enable_today_extension = true | |
12 | |
13 # Enable share extension. | |
14 ios_enable_share_extension = true | |
15 | |
16 # Value of the encryption export compliance code. See "Cryptography and | |
17 # U.S. Export Compliance" in "Submitting the App to App Review" in the | |
18 # Apple developer documentation (https://goo.gl/yv1xEF). | |
19 ios_encryption_export_compliance_code = "" | |
20 | |
21 # List of plist templates to merge when generating chrome Info.plist. | |
22 ios_chrome_info_plist_additions = [] | |
23 | |
24 # List of plist templates to merge when generating chrome entitlements. | |
25 ios_chrome_entitlements_additions = [] | |
26 } | |
27 | |
28 # Configure whether breakpad support is enabled. | |
29 breakpad_enabled = is_official_build && is_chrome_branded | |
30 | |
31 if (breakpad_enabled) { | |
32 breakpad_enabled_as_int = 1 | |
33 is_official_release = enable_dsyms && !use_ios_simulator && | |
34 current_toolchain == default_toolchain | |
35 } else { | |
36 breakpad_enabled_as_int = 0 | |
37 is_official_release = false | |
38 } | |
39 | |
40 chromium_bundle_id = "chrome.ios.herebedragons" | |
rohitrao (ping after 24h)
2016/12/07 21:56:04
This results in a bundleid of org.chromium.chrome.
sdefresne
2016/12/08 08:51:30
I don't really know how we can drop "chrome" from
| |
41 chromium_handoff_id = "$ios_app_bundle_id_prefix.chrome.handoff" | |
42 | |
43 if (is_chrome_branded) { | |
44 chromium_short_name = "Chrome" | |
45 url_channel_scheme = "googlechrome-dev" | |
46 url_secure_scheme = "googlechromes" | |
47 url_ssoauth_scheme = "$ios_app_bundle_id_prefix.sso.chrome.stable" | |
48 url_unsecure_scheme = "googlechrome" | |
49 url_x_callback_scheme = "googlechrome-x-callback" | |
50 } else { | |
51 chromium_short_name = "Chromium" | |
52 url_channel_scheme = "chromium-dev" | |
53 url_secure_scheme = "chromiums" | |
54 url_ssoauth_scheme = "$ios_app_bundle_id_prefix.sso.chromium" | |
55 url_unsecure_scheme = "chromium" | |
56 url_x_callback_scheme = "chromium-x-callback" | |
57 } | |
OLD | NEW |