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

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

Issue 2927803002: Add the new content widget including localised title. (Closed)
Patch Set: comments Created 3 years, 6 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/build/chrome_build.gni ('k') | ios/chrome/content_widget_extension/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 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/config/ios/rules.gni") 5 import("//build/config/ios/rules.gni")
6 import("//build/config/mac/base_rules.gni") 6 import("//build/config/mac/base_rules.gni")
7 import("//build/mac/tweak_info_plist.gni") 7 import("//build/mac/tweak_info_plist.gni")
8 import("//ios/build/chrome_build.gni") 8 import("//ios/build/chrome_build.gni")
9 import("//ios/public/provider/chrome/browser/build_config.gni") 9 import("//ios/public/provider/chrome/browser/build_config.gni")
10 10
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 273
274 bundle_deps = [ "//ios/chrome/app/resources" ] 274 bundle_deps = [ "//ios/chrome/app/resources" ]
275 275
276 if (current_toolchain == default_toolchain) { 276 if (current_toolchain == default_toolchain) {
277 if (ios_enable_today_extension) { 277 if (ios_enable_today_extension) {
278 deps += [ ":today_extension_bundle" ] 278 deps += [ ":today_extension_bundle" ]
279 } 279 }
280 if (ios_enable_search_widget_extension) { 280 if (ios_enable_search_widget_extension) {
281 deps += [ ":search_widget_extension_bundle" ] 281 deps += [ ":search_widget_extension_bundle" ]
282 } 282 }
283 if (ios_enable_content_widget_extension) {
284 deps += [ ":content_widget_extension_bundle" ]
285 }
283 if (ios_enable_share_extension) { 286 if (ios_enable_share_extension) {
284 deps += [ ":share_extension_bundle" ] 287 deps += [ ":share_extension_bundle" ]
285 } 288 }
286 } 289 }
287 290
288 extra_substitutions = [ 291 extra_substitutions = [
289 "CHROMIUM_BUNDLE_ID=$chromium_bundle_id", 292 "CHROMIUM_BUNDLE_ID=$chromium_bundle_id",
290 "CHROMIUM_HANDOFF_ID=$chromium_handoff_id", 293 "CHROMIUM_HANDOFF_ID=$chromium_handoff_id",
291 "CHROMIUM_SHORT_NAME=$chromium_short_name", 294 "CHROMIUM_SHORT_NAME=$chromium_short_name",
292 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme", 295 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme",
(...skipping 17 matching lines...) Expand all
310 ] 313 ]
311 sources = [ 314 sources = [
312 "$root_out_dir/today_extension.appex", 315 "$root_out_dir/today_extension.appex",
313 ] 316 ]
314 outputs = [ 317 outputs = [
315 "{{bundle_plugins_dir}}/{{source_file_part}}", 318 "{{bundle_plugins_dir}}/{{source_file_part}}",
316 ] 319 ]
317 } 320 }
318 } 321 }
319 322
323 if (ios_enable_content_widget_extension) {
324 bundle_data("content_widget_extension_bundle") {
325 public_deps = [
326 "//ios/chrome/content_widget_extension",
327 ]
328 sources = [
329 "$root_out_dir/content_widget_extension.appex",
330 ]
331 outputs = [
332 "{{bundle_plugins_dir}}/{{source_file_part}}",
333 ]
334 }
335 }
336
320 if (ios_enable_search_widget_extension) { 337 if (ios_enable_search_widget_extension) {
321 bundle_data("search_widget_extension_bundle") { 338 bundle_data("search_widget_extension_bundle") {
322 public_deps = [ 339 public_deps = [
323 "//ios/chrome/search_widget_extension", 340 "//ios/chrome/search_widget_extension",
324 ] 341 ]
325 sources = [ 342 sources = [
326 "$root_out_dir/search_widget_extension.appex", 343 "$root_out_dir/search_widget_extension.appex",
327 ] 344 ]
328 outputs = [ 345 outputs = [
329 "{{bundle_plugins_dir}}/{{source_file_part}}", 346 "{{bundle_plugins_dir}}/{{source_file_part}}",
330 ] 347 ]
331 } 348 }
332 } 349 }
333 350
334 if (ios_enable_share_extension) { 351 if (ios_enable_share_extension) {
335 bundle_data("share_extension_bundle") { 352 bundle_data("share_extension_bundle") {
336 public_deps = [ 353 public_deps = [
337 "//ios/chrome/share_extension", 354 "//ios/chrome/share_extension",
338 ] 355 ]
339 sources = [ 356 sources = [
340 "$root_out_dir/share_extension.appex", 357 "$root_out_dir/share_extension.appex",
341 ] 358 ]
342 outputs = [ 359 outputs = [
343 "{{bundle_plugins_dir}}/{{source_file_part}}", 360 "{{bundle_plugins_dir}}/{{source_file_part}}",
344 ] 361 ]
345 } 362 }
346 } 363 }
347 } 364 }
OLDNEW
« no previous file with comments | « ios/build/chrome_build.gni ('k') | ios/chrome/content_widget_extension/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698