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

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

Issue 1367403002: Remove the GN *sdk targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « .gn ('k') | build/config/android/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 (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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 "//build/config/compiler:default_optimization", 355 "//build/config/compiler:default_optimization",
356 "//build/config/compiler:default_symbols", 356 "//build/config/compiler:default_symbols",
357 "//build/config/compiler:no_rtti", 357 "//build/config/compiler:no_rtti",
358 "//build/config/compiler:runtime_library", 358 "//build/config/compiler:runtime_library",
359 "//build/config/sanitizers:default_sanitizer_flags", 359 "//build/config/sanitizers:default_sanitizer_flags",
360 ] 360 ]
361 if (is_win) { 361 if (is_win) {
362 _native_compiler_configs += [ 362 _native_compiler_configs += [
363 "//build/config/win:lean_and_mean", 363 "//build/config/win:lean_and_mean",
364 "//build/config/win:nominmax", 364 "//build/config/win:nominmax",
365 "//build/config/win:sdk",
366 "//build/config/win:unicode", 365 "//build/config/win:unicode",
367 "//build/config/win:winver", 366 "//build/config/win:winver",
368 ] 367 ]
369 } 368 }
370 if (current_os == "winrt_81" || current_os == "winrt_81_phone" || 369 if (current_os == "winrt_81" || current_os == "winrt_81_phone" ||
371 current_os == "winrt_10") { 370 current_os == "winrt_10") {
372 _native_compiler_configs += [ "//build/config/win:target_winrt" ] 371 _native_compiler_configs += [ "//build/config/win:target_winrt" ]
373 } 372 }
374 if (is_posix) { 373 if (is_posix) {
375 _native_compiler_configs += [ 374 _native_compiler_configs += [
376 "//build/config/gcc:no_exceptions", 375 "//build/config/gcc:no_exceptions",
377 "//build/config/gcc:symbol_visibility_hidden", 376 "//build/config/gcc:symbol_visibility_hidden",
378 ] 377 ]
379 } 378 }
380 379
381 if (is_linux) {
382 _native_compiler_configs += [ "//build/config/linux:sdk" ]
383 } else if (is_mac) {
384 _native_compiler_configs += [ "//build/config/mac:sdk" ]
385 } else if (is_ios) {
386 _native_compiler_configs += [ "//build/config/ios:sdk" ]
387 } else if (is_android) {
388 _native_compiler_configs += [ "//build/config/android:sdk" ]
389 }
390
391 if (is_android) { 380 if (is_android) {
392 _native_compiler_configs += 381 _native_compiler_configs +=
393 [ "//build/config/android:default_cygprofile_instrumentation" ] 382 [ "//build/config/android:default_cygprofile_instrumentation" ]
394 } 383 }
395 384
396 if (is_clang && !is_nacl) { 385 if (is_clang && !is_nacl) {
397 _native_compiler_configs += [ 386 _native_compiler_configs += [
398 "//build/config/clang:find_bad_constructs", 387 "//build/config/clang:find_bad_constructs",
399 "//build/config/clang:extra_warnings", 388 "//build/config/clang:extra_warnings",
400 ] 389 ]
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 forward_variables_from(invoker, "*") 556 forward_variables_from(invoker, "*")
568 557
569 # All shared libraries must have the sanitizer deps to properly link in 558 # All shared libraries must have the sanitizer deps to properly link in
570 # asan mode (this target will be empty in other cases). 559 # asan mode (this target will be empty in other cases).
571 if (!defined(deps)) { 560 if (!defined(deps)) {
572 deps = [] 561 deps = []
573 } 562 }
574 deps += [ "//build/config/sanitizers:deps" ] 563 deps += [ "//build/config/sanitizers:deps" ]
575 } 564 }
576 } 565 }
OLDNEW
« no previous file with comments | « .gn ('k') | build/config/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698