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

Side by Side Diff: ios/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/BUILD.gn ('k') | ios/chrome/app/app_delegate.h » ('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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 "//ios/chrome/share_extension", 318 "//ios/chrome/share_extension",
319 ] 319 ]
320 sources = [ 320 sources = [
321 "$root_out_dir/share_extension.appex", 321 "$root_out_dir/share_extension.appex",
322 ] 322 ]
323 outputs = [ 323 outputs = [
324 "{{bundle_plugins_dir}}/{{source_file_part}}", 324 "{{bundle_plugins_dir}}/{{source_file_part}}",
325 ] 325 ]
326 } 326 }
327 } 327 }
328
329 # Clean Skeleton targets.
330 ios_app_bundle("chrome_clean_skeleton") {
331 output_name = "CSChromium"
332
333 entitlements_path = "//ios/chrome/app/resources/Chrome.entitlements"
334 info_plist_target = ":info_plist"
335
336 deps = [
337 ":main_clean_skeleton",
338 ":tests_fake_hook",
339 ]
340
341 bundle_deps = [ "//ios/chrome/app/resources" ]
342
343 extra_substitutions = [
344 "CHROMIUM_BUNDLE_ID=$chromium_bundle_id",
345 "CHROMIUM_SHORT_NAME=$chromium_short_name",
346 "CHROMIUM_URL_SCHEME_1=$url_unsecure_scheme",
347 "CHROMIUM_URL_SCHEME_2=$url_secure_scheme",
348 "CHROMIUM_URL_SCHEME_3=$url_x_callback_scheme",
349 "CHROMIUM_URL_SCHEME_4=$url_channel_scheme",
350 ]
351
352 if (ios_encryption_export_compliance_code != "") {
353 extra_substitutions += [ "ENCRYPTION_EXPORT_COMPLIANCE_CODE=" +
354 ios_encryption_export_compliance_code ]
355 }
356 }
357
358 source_set("main_clean_skeleton") {
359 sources = [
360 "main.mm",
361 ]
362
363 deps = [
364 ":app_clean_skeleton",
365 ":app_internal",
366 "//base",
367 "//components/crash/core/common",
368 "//ios/chrome/app/startup",
369 "//ios/chrome/browser",
370 "//ios/chrome/browser:browser_internal",
371 "//ios/chrome/browser/crash_report",
372 "//ios/chrome/common",
373 "//third_party/google_toolbox_for_mac",
374 ]
375
376 configs += [ "//build/config/compiler:enable_arc" ]
377 }
378
379 source_set("application_state_clean_skeleton") {
380 sources = [
381 "application_phase.h",
382 "application_state.h",
383 "application_state.mm",
384 "application_step.h",
385 ]
386
387 configs += [ "//build/config/compiler:enable_arc" ]
388
389 deps = [
390 "//base",
391 "//ios/chrome/browser:browser_clean_skeleton",
392 ]
393 }
394
395 source_set("app_clean_skeleton") {
396 sources = [
397 "app_delegate.h",
398 "app_delegate.mm",
399 ]
400
401 configs += [ "//build/config/compiler:enable_arc" ]
402
403 deps = [
404 ":application_state_clean_skeleton",
405 "//ios/chrome/app/steps",
406 ]
407 }
OLDNEW
« no previous file with comments | « ios/BUILD.gn ('k') | ios/chrome/app/app_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698