summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/debugger.scons
blob: 0045c624d012d19d37f13c923731b7195dd9da8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

Import('env')

env = env.Clone()

env.SConscript([
    '$BREAKPAD_DIR/using_breakpad.scons',
    '$CHROME_DIR/third_party/wtl/using_wtl.scons',
    '$ICU38_DIR/using_icu38.scons',
    '$LIBPNG_DIR/using_libpng.scons',
    '$LIBXML_DIR/using_libxml.scons',
    '$NPAPI_DIR/using_npapi.scons',
    '$SKIA_DIR/using_skia.scons',
    '$ZLIB_DIR/using_zlib.scons',
], {'env':env})

env.Prepend(
    CPPPATH = [
        '$TARGET_ROOT/grit_derived_sources',
        '$CHROME_DIR/app',
        '$CHROME_SRC_DIR',
    ],
)

input_files = [
    'debugger_contents.cc',
    'debugger_host_impl.cpp',
    'debugger_io_socket.cc',
    'debugger_node.cc',
    'debugger_shell.cc',
    'debugger_view.cc',
    'debugger_window.cc',
    'debugger_wrapper.cc',
]

if env.Bit('linux'):
  # TODO(port): Port these.
  remove_list = [
      'debugger_contents.cc',
      'debugger_host_impl.cpp',
      'debugger_node.cc',
      'debugger_shell.cc',
      'debugger_view.cc',
      'debugger_window.cc',
  ]
  for file in remove_list:
    input_files.remove(file)

if env.Bit('mac'):
  # TODO(port): Port these.
  remove_list = [
      'debugger_contents.cc',
      'debugger_host_impl.cpp',
      'debugger_node.cc',
      'debugger_shell.cc',
      'debugger_view.cc',
      'debugger_window.cc',
  ]
  for file in remove_list:
    input_files.remove(file)

if not env.Bit('mac'):
  # TODO(port): Enable for Mac.
  env.ChromeStaticLibrary('debugger', input_files)

env.ChromeMSVSProject('$CHROME_DIR/browser/debugger/debugger.vcproj',
                dependencies = [
                    '$CHROME_DIR/app/generated_resources.vcproj',
                ],
                guid='{57823D8C-A317-4713-9125-2C91FDFD12D6}')