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

Side by Side Diff: build/common.gypi

Issue 1366433004: Remove unnecessary crazy_linker order_profiling logic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « base/android/linker/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) 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 4573 matching lines...) Expand 10 before | Expand all | Expand 10 after
4584 ], 4584 ],
4585 }], 4585 }],
4586 ['use_custom_libcxx==1', { 4586 ['use_custom_libcxx==1', {
4587 'dependencies': [ 4587 'dependencies': [
4588 '<(DEPTH)/buildtools/third_party/libc++/libc++.gyp:libcxx_proxy', 4588 '<(DEPTH)/buildtools/third_party/libc++/libc++.gyp:libcxx_proxy',
4589 ], 4589 ],
4590 }], 4590 }],
4591 ['order_profiling!=0 and OS=="android"', { 4591 ['order_profiling!=0 and OS=="android"', {
4592 'target_conditions' : [ 4592 'target_conditions' : [
4593 # crazy_linker has an upstream gyp file we can't edit, and we 4593 # crazy_linker has an upstream gyp file we can't edit, and we
4594 # don't want to instrument it. 4594 # don't want to instrument it.
pasko 2015/09/23 09:54:20 is this comment no longer true? The proper test o
pkotwicz 2015/09/23 18:00:54 I removed the comment. Thank you for noticing! We
4595 ['_toolset=="target" and _target_name!="crazy_linker"', { 4595 ['_toolset=="target"', {
4596 'cflags': [ 4596 'cflags': [
4597 '-finstrument-functions', 4597 '-finstrument-functions',
4598 # Allow mmx intrinsics to inline, so that the 4598 # Allow mmx intrinsics to inline, so that the
4599 # compiler can expand the intrinsics. 4599 # compiler can expand the intrinsics.
4600 '-finstrument-functions-exclude-file-list=mmintrin.h', 4600 '-finstrument-functions-exclude-file-list=mmintrin.h',
4601 ],
4602 'defines': ['CYGPROFILE_INSTRUMENTATION'],
4603 }],
4604 ['_toolset=="target"', {
4605 'cflags': [
4606 # Avoids errors with current NDK: 4601 # Avoids errors with current NDK:
4607 # "third_party/android_tools/ndk/toolchains/arm-linux-androide abi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/a rm_neon.h:3426:3: error: argument must be a constant" 4602 # "third_party/android_tools/ndk/toolchains/arm-linux-androide abi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/a rm_neon.h:3426:3: error: argument must be a constant"
4608 '-finstrument-functions-exclude-file-list=arm_neon.h,Saturated ArithmeticARM.h', 4603 '-finstrument-functions-exclude-file-list=arm_neon.h,Saturated ArithmeticARM.h',
4609 ], 4604 ],
4605 'defines': ['CYGPROFILE_INSTRUMENTATION'],
4610 }], 4606 }],
4611 ], 4607 ],
4612 }], 4608 }],
4613 ['linux_dump_symbols==1', { 4609 ['linux_dump_symbols==1', {
4614 'cflags': [ '-g' ], 4610 'cflags': [ '-g' ],
4615 'conditions': [ 4611 'conditions': [
4616 ['OS=="linux" and host_arch=="ia32" and linux_use_bundled_gold==0' , { 4612 ['OS=="linux" and host_arch=="ia32" and linux_use_bundled_gold==0' , {
4617 'target_conditions': [ 4613 'target_conditions': [
4618 ['_toolset=="target"', { 4614 ['_toolset=="target"', {
4619 'ldflags': [ 4615 'ldflags': [
(...skipping 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after
6285 # settings in target dicts. SYMROOT is a special case, because many other 6281 # settings in target dicts. SYMROOT is a special case, because many other
6286 # Xcode variables depend on it, including variables such as 6282 # Xcode variables depend on it, including variables such as
6287 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6283 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6288 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6284 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6289 # files to appear (when present) in the UI as actual files and not red 6285 # files to appear (when present) in the UI as actual files and not red
6290 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6286 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6291 # and therefore SYMROOT, needs to be set at the project level. 6287 # and therefore SYMROOT, needs to be set at the project level.
6292 'SYMROOT': '<(DEPTH)/xcodebuild', 6288 'SYMROOT': '<(DEPTH)/xcodebuild',
6293 }, 6289 },
6294 } 6290 }
OLDNEW
« no previous file with comments | « base/android/linker/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698