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/BUILD.gn

Issue 1250913002: patch from chinmaygarde@ to make progress on mac, ios. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to #341416 Created 5 years, 4 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
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/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 "m", 387 "m",
388 ] 388 ]
389 } else if (is_mac) { 389 } else if (is_mac) {
390 libs = [ 390 libs = [
391 "AppKit.framework", 391 "AppKit.framework",
392 "ApplicationServices.framework", 392 "ApplicationServices.framework",
393 "Carbon.framework", 393 "Carbon.framework",
394 "CoreFoundation.framework", 394 "CoreFoundation.framework",
395 "Foundation.framework", 395 "Foundation.framework",
396 "IOKit.framework", 396 "IOKit.framework",
397 "OpenGL.framework",
397 "Security.framework", 398 "Security.framework",
398 ] 399 ]
399 } else if (is_ios) { 400 } else if (is_ios) {
401 # The libraries listed here will be specified for both the target and the
402 # host. Only the common ones should be listed here.
400 libs = [ 403 libs = [
401 "CoreFoundation.framework", 404 "CoreFoundation.framework",
402 "CoreGraphics.framework", 405 "CoreGraphics.framework",
403 "CoreText.framework", 406 "CoreText.framework",
404 "Foundation.framework", 407 "Foundation.framework",
405 "UIKit.framework",
406 ] 408 ]
407 } else if (is_linux) { 409 } else if (is_linux) {
408 libs = [ "dl" ] 410 libs = [ "dl" ]
409 } 411 }
410 } 412 }
411 413
412 # Add this config to your target to enable precompiled headers. 414 # Add this config to your target to enable precompiled headers.
413 # 415 #
414 # On Windows, precompiled headers are done on a per-target basis. If you have 416 # On Windows, precompiled headers are done on a per-target basis. If you have
415 # just a couple of files, the time it takes to precompile (~2 seconds) can 417 # just a couple of files, the time it takes to precompile (~2 seconds) can
(...skipping 22 matching lines...) Expand all
438 # with precompiled headers since the source file that's "compiled" for 440 # with precompiled headers since the source file that's "compiled" for
439 # making the precompiled header is empty. 441 # making the precompiled header is empty.
440 # 442 #
441 # This error doesn't happen every time. In VS2013, it seems if the .pch 443 # This error doesn't happen every time. In VS2013, it seems if the .pch
442 # file doesn't exist, no error will be generated (probably MS tested this 444 # file doesn't exist, no error will be generated (probably MS tested this
443 # case but forgot the other one?). To reproduce this error, do a build, 445 # case but forgot the other one?). To reproduce this error, do a build,
444 # then delete the precompile.c.obj file, then build again. 446 # then delete the precompile.c.obj file, then build again.
445 cflags_c = [ "/wd4206" ] 447 cflags_c = [ "/wd4206" ]
446 } 448 }
447 } 449 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698