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

Side by Side Diff: build/common.gypi

Issue 387023: Building FFmpeg in tree for arm (Closed)
Patch Set: moved dependencies Created 11 years, 1 month 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 | « build/all.gyp ('k') | third_party/ffmpeg/ffmpeg.gyp » ('j') | 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) 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 # 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 should set chromium_code to 1 if they build Chromium-specific 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 }], 663 }],
664 ], 664 ],
665 'cflags': [ 665 'cflags': [
666 '-m32', 666 '-m32',
667 ], 667 ],
668 'ldflags': [ 668 'ldflags': [
669 '-m32', 669 '-m32',
670 ], 670 ],
671 }], 671 }],
672 ['target_arch=="arm"', { 672 ['target_arch=="arm"', {
673 'target_conditions': [ 673 'conditions': [
674 ['armv7==1 and _toolset=="target"', { 674 ['armv7==1', {
675 'cflags': [ 675 'target_conditions': [
676 '-march=armv7-a', 676 ['_toolset=="target"', {
677 '-mtune=cortex-a8', 677 'cflags': [
678 '-mfpu=neon', 678 '-march=armv7-a',
679 '-mfloat-abi=softfp', 679 '-mtune=cortex-a8',
680 '-mfpu=neon',
681 '-mfloat-abi=softfp',
682 ],
683 }],
680 ], 684 ],
681 }], 685 }],
682 ], 686 ],
683 }], 687 }],
684 ['sysroot!=""', { 688 ['sysroot!=""', {
685 'target_conditions': [ 689 'target_conditions': [
686 ['_toolset=="target"', { 690 ['_toolset=="target"', {
687 'cflags': [ 691 'cflags': [
688 '--sysroot=<(sysroot)', 692 '--sysroot=<(sysroot)',
689 ], 693 ],
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 # and therefore SYMROOT, needs to be set at the project level. 964 # and therefore SYMROOT, needs to be set at the project level.
961 'SYMROOT': '<(DEPTH)/xcodebuild', 965 'SYMROOT': '<(DEPTH)/xcodebuild',
962 }, 966 },
963 } 967 }
964 968
965 # Local Variables: 969 # Local Variables:
966 # tab-width:2 970 # tab-width:2
967 # indent-tabs-mode:nil 971 # indent-tabs-mode:nil
968 # End: 972 # End:
969 # vim: set expandtab tabstop=2 shiftwidth=2: 973 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | third_party/ffmpeg/ffmpeg.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698