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

Side by Side Diff: base/base.gypi

Issue 495002: Changes to base/ from a combination of FreeBSD and OpenBSD patches. (Closed)
Patch Set: minor tweaks Created 11 years 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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'base_target': 0, 8 'base_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 'defines': [ 372 'defines': [
373 'LINUX_USE_TCMALLOC', 373 'LINUX_USE_TCMALLOC',
374 ], 374 ],
375 'direct_dependent_settings': { 375 'direct_dependent_settings': {
376 'defines': [ 376 'defines': [
377 'LINUX_USE_TCMALLOC', 377 'LINUX_USE_TCMALLOC',
378 ], 378 ],
379 }, 379 },
380 }, 380 },
381 ], 381 ],
382 [ 'OS == "linux"', {
383 'link_settings': {
384 'libraries': [
385 # We need rt for clock_gettime().
386 '-lrt',
387 ],
388 },
389 }],
382 ], 390 ],
383 'dependencies': [ 391 'dependencies': [
384 '../build/util/build_util.gyp:lastchange', 392 '../build/util/build_util.gyp:lastchange',
385 '../build/linux/system.gyp:gtk', 393 '../build/linux/system.gyp:gtk',
386 '../build/linux/system.gyp:nss', 394 '../build/linux/system.gyp:nss',
387 ], 395 ],
388 'cflags': [ 396 'cflags': [
389 '-Wno-write-strings', 397 '-Wno-write-strings',
390 ], 398 ],
391 'link_settings': {
392 'libraries': [
393 # We need rt for clock_gettime().
394 '-lrt',
395 ],
396 },
397 'export_dependent_settings': [ 399 'export_dependent_settings': [
398 '../build/linux/system.gyp:gtk', 400 '../build/linux/system.gyp:gtk',
399 ], 401 ],
400 },], 402 },],
401 [ 'OS == "freebsd"', { 403 [ 'OS == "freebsd"', {
402 'sources!': [ 404 'sources!': [
403 'directory_watcher_inotify.cc', 405 'directory_watcher_inotify.cc',
404 ], 406 ],
405 'sources': [ 407 'sources': [
406 'directory_watcher_stub.cc', 408 'directory_watcher_stub.cc',
407 ], 409 ],
410 'link_settings': {
411 'libraries': [
412 '-L/usr/local/lib -lexecinfo',
413 ],
414 },
408 }, 415 },
409 ], 416 ],
410 [ 'OS == "mac"', { 417 [ 'OS == "mac"', {
411 'link_settings': { 418 'link_settings': {
412 'libraries': [ 419 'libraries': [
413 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', 420 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
414 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', 421 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
415 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', 422 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
416 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 423 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
417 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', 424 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 'configurations': { 595 'configurations': {
589 'Common': { 596 'Common': {
590 'msvs_target_platform': 'x64', 597 'msvs_target_platform': 'x64',
591 }, 598 },
592 }, 599 },
593 }, 600 },
594 ], 601 ],
595 }], 602 }],
596 ], 603 ],
597 } 604 }
OLDNEW
« no previous file with comments | « base/allocator/allocator.gyp ('k') | base/command_line.h » ('j') | base/command_line.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698