OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 # See http://lwn.net/Articles/192624/ . | 984 # See http://lwn.net/Articles/192624/ . |
985 '-Wl,-O1', | 985 '-Wl,-O1', |
986 '-Wl,--as-needed', | 986 '-Wl,--as-needed', |
987 ], | 987 ], |
988 'conditions' : [ | 988 'conditions' : [ |
989 ['no_gc_sections==0', { | 989 ['no_gc_sections==0', { |
990 'ldflags': [ | 990 'ldflags': [ |
991 '-Wl,--gc-sections', | 991 '-Wl,--gc-sections', |
992 ], | 992 ], |
993 }], | 993 }], |
| 994 ['clang==1', { |
| 995 'cflags!': [ |
| 996 '-fno-ident', |
| 997 ], |
| 998 }], |
994 ] | 999 ] |
995 }, | 1000 }, |
996 }, | 1001 }, |
997 'variants': { | 1002 'variants': { |
998 'coverage': { | 1003 'coverage': { |
999 'cflags': ['-fprofile-arcs', '-ftest-coverage'], | 1004 'cflags': ['-fprofile-arcs', '-ftest-coverage'], |
1000 'ldflags': ['-fprofile-arcs'], | 1005 'ldflags': ['-fprofile-arcs'], |
1001 }, | 1006 }, |
1002 'profile': { | 1007 'profile': { |
1003 'cflags': ['-pg', '-g'], | 1008 'cflags': ['-pg', '-g'], |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1498 # and therefore SYMROOT, needs to be set at the project level. | 1503 # and therefore SYMROOT, needs to be set at the project level. |
1499 'SYMROOT': '<(DEPTH)/xcodebuild', | 1504 'SYMROOT': '<(DEPTH)/xcodebuild', |
1500 }, | 1505 }, |
1501 } | 1506 } |
1502 | 1507 |
1503 # Local Variables: | 1508 # Local Variables: |
1504 # tab-width:2 | 1509 # tab-width:2 |
1505 # indent-tabs-mode:nil | 1510 # indent-tabs-mode:nil |
1506 # End: | 1511 # End: |
1507 # vim: set expandtab tabstop=2 shiftwidth=2: | 1512 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |