OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 2029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2040 '-g', | 2040 '-g', |
2041 ], | 2041 ], |
2042 'conditions' : [ | 2042 'conditions' : [ |
2043 ['OS=="android"', { | 2043 ['OS=="android"', { |
2044 # Some configurations are copied from Release_Base to reduce | 2044 # Some configurations are copied from Release_Base to reduce |
2045 # the binary size. | 2045 # the binary size. |
2046 'variables': { | 2046 'variables': { |
2047 'debug_optimize%': 's', | 2047 'debug_optimize%': 's', |
2048 }, | 2048 }, |
2049 'cflags': [ | 2049 'cflags': [ |
2050 '-fno-ident', | |
2051 '-fomit-frame-pointer', | 2050 '-fomit-frame-pointer', |
2052 '-fdata-sections', | 2051 '-fdata-sections', |
2053 '-ffunction-sections', | 2052 '-ffunction-sections', |
2054 ], | 2053 ], |
2055 'ldflags': [ | 2054 'ldflags': [ |
2056 '-Wl,-O1', | 2055 '-Wl,-O1', |
2057 '-Wl,--as-needed', | 2056 '-Wl,--as-needed', |
2058 '-Wl,--gc-sections', | 2057 '-Wl,--gc-sections', |
2059 ], | 2058 ], |
2060 }], | 2059 }], |
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3393 # settings in target dicts. SYMROOT is a special case, because many other | 3392 # settings in target dicts. SYMROOT is a special case, because many other |
3394 # Xcode variables depend on it, including variables such as | 3393 # Xcode variables depend on it, including variables such as |
3395 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3394 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3396 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3395 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3397 # files to appear (when present) in the UI as actual files and not red | 3396 # files to appear (when present) in the UI as actual files and not red |
3398 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3397 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3399 # and therefore SYMROOT, needs to be set at the project level. | 3398 # and therefore SYMROOT, needs to be set at the project level. |
3400 'SYMROOT': '<(DEPTH)/xcodebuild', | 3399 'SYMROOT': '<(DEPTH)/xcodebuild', |
3401 }, | 3400 }, |
3402 } | 3401 } |
OLD | NEW |