Michael was very helpful and pointed out an example of what I'm trying
to do in third_party/icu38/icu38.scons:
need_common_implementation = [
'source/common/ubidi.c',
'source/common/ubidiln.c',
]
for n in need_common_implementation:
common_input_files.remove(n)
o = env.ChromeObject(n, CPPDEFINES = env['CPPDEFINES'] +
['U_COMMON_IMPLEMENTATION',
'U_COMBINED_IMPLEMENTATION'])
common_input_files.append(o)
I'm writing up a similar bit of magic in WebCore.scons to the specific
dirs/files I want to set CCFLAGS for.
On Thu, Jan 29, 2009 at 3:42 PM, Dan Kegel <[email protected]> wrote:
> What I usually do is do a verbose run, turn that into
> a shell script, and then edit the shell script...
>
> On Thu, Jan 29, 2009 at 3:30 PM, Michael Moss <[email protected]> wrote:
>>
>> I'll try to help.
>>
>> On Thu, Jan 29, 2009 at 2:36 PM, James Hawkins <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>> I'm tracking down the layout test failures caused by the debug build
>>> of Linux Webkit. So far I've narrowed it down to the fact that
>>> appending -ffloat-store to CCFLAGS for the WebCore build file
>>> (src/webkit/build/WebCore/SConscript) fixes the failures. What I need
>>> to do now is narrow down my search to specific directories in WebCore
>>> first, then specific files within the offending directory. That means
>>> modifying CCFLAGS for those specific dirs/files. I've read through
>>> the scons 'manual', but I did not find a solution to this particular
>>> problem, especially considering the complexity of our build
>>> configuration. Anyone know if this is feasible?
>>>
>>> Thanks,
>>> James Hawkins
>>>
>>> >
>>>
>>
>> >>
>>
>
--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected]
View archives, change email options, or unsubscribe:
http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---