OLD | NEW |
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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/ios/rules.gni") | 6 import("//build/config/ios/rules.gni") |
7 import("//build/config/mac/symbols.gni") | 7 import("//build/config/mac/symbols.gni") |
8 import("//build/mac/tweak_info_plist.gni") | 8 import("//build/mac/tweak_info_plist.gni") |
9 import("//build/util/version.gni") | 9 import("//build/util/version.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 24 matching lines...) Expand all Loading... |
35 ] | 35 ] |
36 | 36 |
37 if (!use_platform_icu_alternatives) { | 37 if (!use_platform_icu_alternatives) { |
38 deps += [ "//base:i18n" ] | 38 deps += [ "//base:i18n" ] |
39 } | 39 } |
40 } | 40 } |
41 | 41 |
42 # Tweak |info_plist| with current version and revision. | 42 # Tweak |info_plist| with current version and revision. |
43 tweak_info_plist("tweak_crnet_plist") { | 43 tweak_info_plist("tweak_crnet_plist") { |
44 info_plist = "Info.plist" | 44 info_plist = "Info.plist" |
45 args = [] | |
46 } | 45 } |
47 | 46 |
48 bundle_data("crnet_framework_resources") { | 47 bundle_data("crnet_framework_resources") { |
49 # This bundle contains "Accept-Languages" header values for known locales. | 48 # This bundle contains "Accept-Languages" header values for known locales. |
50 # TODO(mef): These strings should be auto-generated from chrome's .xtb | 49 # TODO(mef): These strings should be auto-generated from chrome's .xtb |
51 # files, not hardcoded. | 50 # files, not hardcoded. |
52 sources = [ | 51 sources = [ |
53 "Resources/Localization/am.lproj", | 52 "Resources/Localization/am.lproj", |
54 "Resources/Localization/ar.lproj", | 53 "Resources/Localization/ar.lproj", |
55 "Resources/Localization/bg.lproj", | 54 "Resources/Localization/bg.lproj", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 124 |
126 public_headers = [ "CrNet.h" ] | 125 public_headers = [ "CrNet.h" ] |
127 | 126 |
128 sources = [ | 127 sources = [ |
129 "CrNet.h", | 128 "CrNet.h", |
130 ] | 129 ] |
131 | 130 |
132 configs -= [ "//build/config/compiler:default_symbols" ] | 131 configs -= [ "//build/config/compiler:default_symbols" ] |
133 configs += [ "//build/config/compiler:symbols" ] | 132 configs += [ "//build/config/compiler:symbols" ] |
134 } | 133 } |
OLD | NEW |