- 'conditions': [
- ['component=="shared_library"', {
- # In component builds, all targets depend on chrome_redirects by
- # default. Remove it here to avoid a circular dependency.
- 'dependencies!': [
- '../chrome_elf/chrome_elf.gyp:chrome_redirects',
- ],
- }],
+ 'dependencies': [
+ 'chrome_elf_common',
+ '../base/base.gyp:base_static',
+ '../sandbox/sandbox.gyp:sandbox',
+ ],
+ },
+ {
+ 'target_name': 'chrome_elf_constants',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'chrome_elf_constants.cc',
+ 'chrome_elf_constants.h',
+ ],
+ },
+ {
+ 'target_name': 'chrome_elf_common',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'chrome_elf_constants',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'chrome_elf_types.h',
+ 'chrome_elf_util.cc',
+ 'chrome_elf_util.h',
+ 'thunk_getter.cc',
+ 'thunk_getter.h',
+ ],
+ },
+ {
+ 'target_name': 'chrome_elf_breakpad',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ],
+ 'sources': [
+ 'breakpad.cc',
+ 'breakpad.h',
+ ],
+ 'dependencies': [
+ 'chrome_elf_common',
+ '../breakpad/breakpad.gyp:breakpad_handler',
+ '../chrome/chrome.gyp:chrome_version_header',