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

Side by Side Diff: build/config/BUILDCONFIG.gn

Issue 1879493002: [iOS/GN] Convert //ios/third_party/ochamcrest to build a framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-framework-bundle
Patch Set: Add a comment to explain the "set_sources_assignment_filter" in "ios_framework_bundle" template Created 4 years, 8 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 | « no previous file | build/config/ios/rules.gni » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # ============================================================================= 5 # =============================================================================
6 # PLATFORM SELECTION 6 # PLATFORM SELECTION
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name 9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name
10 # of the GN thing that encodes combinations of these things. 10 # of the GN thing that encodes combinations of these things.
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 configs = _shared_library_configs 549 configs = _shared_library_configs
550 } 550 }
551 if (is_component_build) { 551 if (is_component_build) {
552 set_defaults("component") { 552 set_defaults("component") {
553 configs = _shared_library_configs 553 configs = _shared_library_configs
554 if (is_android) { 554 if (is_android) {
555 configs -= [ "//build/config/android:hide_native_jni_exports" ] 555 configs -= [ "//build/config/android:hide_native_jni_exports" ]
556 } 556 }
557 } 557 }
558 } 558 }
559 if (is_ios) {
560 set_defaults("ios_framework_bundle") {
561 configs = _shared_library_configs
562 }
563 }
564 if (is_mac) {
565 set_defaults("mac_framework_bundle") {
566 configs = _shared_library_configs
567 }
568 }
559 569
560 # Source set defaults (also for components in non-component mode). 570 # Source set defaults (also for components in non-component mode).
561 set_defaults("source_set") { 571 set_defaults("source_set") {
562 configs = _native_compiler_configs 572 configs = _native_compiler_configs
563 } 573 }
564 if (!is_component_build) { 574 if (!is_component_build) {
565 set_defaults("component") { 575 set_defaults("component") {
566 configs = _native_compiler_configs 576 configs = _native_compiler_configs
567 } 577 }
568 } 578 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 forward_variables_from(invoker, "*", [ "visibility" ]) 621 forward_variables_from(invoker, "*", [ "visibility" ])
612 622
613 # All shared libraries must have the sanitizer deps to properly link in 623 # All shared libraries must have the sanitizer deps to properly link in
614 # asan mode (this target will be empty in other cases). 624 # asan mode (this target will be empty in other cases).
615 if (!defined(deps)) { 625 if (!defined(deps)) {
616 deps = [] 626 deps = []
617 } 627 }
618 deps += [ "//build/config/sanitizers:deps" ] 628 deps += [ "//build/config/sanitizers:deps" ]
619 } 629 }
620 } 630 }
OLDNEW
« no previous file with comments | « no previous file | build/config/ios/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698