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

Side by Side Diff: tools/gn/secondary/third_party/nss/BUILD.gn

Issue 290633012: Fix GN win build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « base/allocator/BUILD.gn ('k') | no next file » | 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 import("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 6
7 if (is_linux) { 7 if (is_linux) {
8 # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL 8 # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL
9 # library but the system NSS libraries. Non-Linux platforms using NSS use the 9 # library but the system NSS libraries. Non-Linux platforms using NSS use the
10 # hermetic one in //third_party/nss. 10 # hermetic one in //third_party/nss.
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 352
353 if (include_nss_root_certs) { 353 if (include_nss_root_certs) {
354 deps += [ ":nssckbi" ] 354 deps += [ ":nssckbi" ]
355 } 355 }
356 356
357 if (component_mode == "shared_library") { 357 if (component_mode == "shared_library") {
358 if (is_mac) { 358 if (is_mac) {
359 cflags = [ "-all_load" ] 359 cflags = [ "-all_load" ]
360 } else if (is_win) { 360 } else if (is_win) {
361 # Pass the def file to the linker. 361 # Pass the def file to the linker.
362 ldflags += [ rebase_path("nss/exports_win.def", root_build_dir) ] 362 ldflags = [ rebase_path("nss/exports_win.def", root_build_dir) ]
363 } 363 }
364 } 364 }
365 365
366 forward_dependent_configs_from = deps 366 forward_dependent_configs_from = deps
367 } 367 }
368 368
369 config("nssckbi_config") { 369 config("nssckbi_config") {
370 include_dirs = [ "nss/lib/ckfw/builtins" ] 370 include_dirs = [ "nss/lib/ckfw/builtins" ]
371 } 371 }
372 372
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 1150
1151 deps = [ 1151 deps = [
1152 ":nspr", 1152 ":nspr",
1153 "//third_party/sqlite", 1153 "//third_party/sqlite",
1154 ] 1154 ]
1155 1155
1156 forward_dependent_configs_from = [ ":nspr" ] 1156 forward_dependent_configs_from = [ ":nspr" ]
1157 } 1157 }
1158 } # Windows/Mac/iOS. 1158 } # Windows/Mac/iOS.
1159 1159
OLDNEW
« no previous file with comments | « base/allocator/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698