OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 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 import os | 5 import os |
6 import shutil | 6 import shutil |
7 import sys | 7 import sys |
8 | 8 |
9 | 9 |
10 p = ARGUMENTS.get('PROGRESS') | 10 p = ARGUMENTS.get('PROGRESS') |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 'PERL_INCLUDE_SUFFIX,' | 340 'PERL_INCLUDE_SUFFIX,' |
341 '__env__, RDirs, TARGET, SOURCE)}'), | 341 '__env__, RDirs, TARGET, SOURCE)}'), |
342 | 342 |
343 ICU_LIBS = ['icu'], | 343 ICU_LIBS = ['icu'], |
344 ) | 344 ) |
345 # Build with support for gcov when COVERAGE=1. | 345 # Build with support for gcov when COVERAGE=1. |
346 if ARGUMENTS.get('COVERAGE') == '1': | 346 if ARGUMENTS.get('COVERAGE') == '1': |
347 env.Append(CCFLAGS=['-fprofile-arcs', '-ftest-coverage']) | 347 env.Append(CCFLAGS=['-fprofile-arcs', '-ftest-coverage']) |
348 env.Append(LINKFLAGS=['-fprofile-arcs']) | 348 env.Append(LINKFLAGS=['-fprofile-arcs']) |
349 | 349 |
350 # Build with system-provided NSS and GLib | 350 # Build with system-provided NSS and GTK. |
351 env.ParseConfig('pkg-config --cflags --libs nss') | 351 env.ParseConfig('pkg-config --cflags --libs nss') |
352 env.ParseConfig('pkg-config --cflags --libs glib-2.0') | 352 env.ParseConfig('pkg-config --cflags --libs gtk+-2.0') |
353 | 353 |
354 elif env['PLATFORM'] == 'darwin': | 354 elif env['PLATFORM'] == 'darwin': |
355 | 355 |
356 # For now, mac only loads the components we know work on Mac, by default. | 356 # For now, mac only loads the components we know work on Mac, by default. |
357 load = [ | 357 load = [ |
358 'base', | 358 'base', |
359 #'breakpad', | 359 #'breakpad', |
360 'googleurl', | 360 'googleurl', |
361 'net', | 361 'net', |
362 'sdch', | 362 'sdch', |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 initial_indent = ' '*32, | 563 initial_indent = ' '*32, |
564 subsequent_indent = ' '*32, | 564 subsequent_indent = ' '*32, |
565 ) | 565 ) |
566 components = tw.fill(', '.join(components)) | 566 components = tw.fill(', '.join(components)) |
567 | 567 |
568 Help(help_fmt % components) | 568 Help(help_fmt % components) |
569 | 569 |
570 | 570 |
571 Import('build_component') | 571 Import('build_component') |
572 Default(build_component) | 572 Default(build_component) |
OLD | NEW |