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

Side by Side Diff: SConstruct

Issue 92068: Move backend specific files to separate directories. (Closed)
Patch Set: Added CPPPATH flag and made all includes use same base path. Created 11 years, 8 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 | « no previous file | src/SConscript » ('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 2008 the V8 project authors. All rights reserved. 1 # Copyright 2008 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 '-Wl,-dynamic-linker,/system/bin/linker', 76 '-Wl,-dynamic-linker,/system/bin/linker',
77 '-Wl,--gc-sections', 77 '-Wl,--gc-sections',
78 '-Wl,-z,nocopyreloc', 78 '-Wl,-z,nocopyreloc',
79 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen eric/obj/lib', 79 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen eric/obj/lib',
80 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin _dynamic.o', 80 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin _dynamic.o',
81 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1 /lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a', 81 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1 /lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a',
82 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a ndroid.o']; 82 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a ndroid.o'];
83 83
84 LIBRARY_FLAGS = { 84 LIBRARY_FLAGS = {
85 'all': { 85 'all': {
86 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'] 86 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'],
87 'CPPPATH': [join(root_dir, 'src')]
87 }, 88 },
88 'gcc': { 89 'gcc': {
89 'all': { 90 'all': {
90 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], 91 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
91 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], 92 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'],
92 }, 93 },
93 'mode:debug': { 94 'mode:debug': {
94 'CCFLAGS': ['-g', '-O0'], 95 'CCFLAGS': ['-g', '-O0'],
95 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], 96 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'],
96 'os:android': { 97 'os:android': {
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 # version of scons. Also, there's a bug in some revisions that 782 # version of scons. Also, there's a bug in some revisions that
782 # doesn't allow this flag to be set, so we swallow any exceptions. 783 # doesn't allow this flag to be set, so we swallow any exceptions.
783 # Lovely. 784 # Lovely.
784 try: 785 try:
785 SetOption('warn', 'no-deprecated') 786 SetOption('warn', 'no-deprecated')
786 except: 787 except:
787 pass 788 pass
788 789
789 790
790 Build() 791 Build()
OLDNEW
« no previous file with comments | « no previous file | src/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698