OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'browser', | 9 'target_name': 'browser', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 4553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4564 'libraries': [ | 4564 'libraries': [ |
4565 '-lXss', | 4565 '-lXss', |
4566 ], | 4566 ], |
4567 }, | 4567 }, |
4568 }], | 4568 }], |
4569 ['os_posix == 1 and OS != "mac"', { | 4569 ['os_posix == 1 and OS != "mac"', { |
4570 'sources': [ 'browser/crash_handler_host_linuxish.h', ], | 4570 'sources': [ 'browser/crash_handler_host_linuxish.h', ], |
4571 'conditions': [ | 4571 'conditions': [ |
4572 ['linux_breakpad==1', { | 4572 ['linux_breakpad==1', { |
4573 'sources': [ | 4573 'sources': [ |
4574 'app/breakpad_linuxish.cc', | 4574 'app/breakpad_linux.cc', |
4575 'app/breakpad_linuxish.h', | 4575 'app/breakpad_linux.h', |
4576 'browser/crash_handler_host_linuxish.cc', | 4576 'browser/crash_handler_host_linux.cc', |
4577 ], | 4577 ], |
4578 'dependencies': [ | 4578 'dependencies': [ |
4579 '../breakpad/breakpad.gyp:breakpad_client', | 4579 '../breakpad/breakpad.gyp:breakpad_client', |
4580 # make sure file_version_info_linux.h is generated first. | 4580 # make sure file_version_info_linux.h is generated first. |
4581 'common', | 4581 'common', |
4582 ], | 4582 ], |
4583 'include_dirs': [ | 4583 'include_dirs': [ |
4584 # breakpad_linuxish.cc uses generated file_version_info_linux.h. | 4584 # breakpad_linux.cc uses generated file_version_info_linux.h. |
4585 '<(SHARED_INTERMEDIATE_DIR)', | 4585 '<(SHARED_INTERMEDIATE_DIR)', |
4586 '../breakpad/src', | 4586 '../breakpad/src', |
4587 ], | 4587 ], |
4588 }, { # linux_breakpad==0 | 4588 }, { # linux_breakpad==0 |
4589 'sources': [ | 4589 'sources': [ |
4590 'browser/crash_handler_host_linuxish_stub.cc', | 4590 'browser/crash_handler_host_linux_stub.cc', |
4591 ], | 4591 ], |
4592 }], | 4592 }], |
4593 ], | 4593 ], |
4594 }], | 4594 }], |
4595 ['use_aura==0', { | 4595 ['use_aura==0', { |
4596 'sources/': [ | 4596 'sources/': [ |
4597 ['exclude', '^browser/ui/webui/gesture_config_ui.cc'], | 4597 ['exclude', '^browser/ui/webui/gesture_config_ui.cc'], |
4598 ['exclude', '^browser/ui/webui/gesture_config_ui.h'] | 4598 ['exclude', '^browser/ui/webui/gesture_config_ui.h'] |
4599 ], | 4599 ], |
4600 }], | 4600 }], |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5148 ['exclude', '^browser/ui/gtk/select_file_dialog_impl_kde.cc'], | 5148 ['exclude', '^browser/ui/gtk/select_file_dialog_impl_kde.cc'], |
5149 ['include', '^browser/ui/views/select_file_dialog_extension.cc'], | 5149 ['include', '^browser/ui/views/select_file_dialog_extension.cc'], |
5150 ['include', '^browser/ui/views/select_file_dialog_extension.h'], | 5150 ['include', '^browser/ui/views/select_file_dialog_extension.h'], |
5151 ]}, { | 5151 ]}, { |
5152 'sources/': [ | 5152 'sources/': [ |
5153 ['exclude', '^browser/ui/views/select_file_dialog_extension.cc'], | 5153 ['exclude', '^browser/ui/views/select_file_dialog_extension.cc'], |
5154 ['exclude', '^browser/ui/views/select_file_dialog_extension.h'], | 5154 ['exclude', '^browser/ui/views/select_file_dialog_extension.h'], |
5155 ]} | 5155 ]} |
5156 ], | 5156 ], |
5157 ], | 5157 ], |
5158 'target_conditions': [ | |
5159 # We need 'target_conditions' to override default filename_rules | |
5160 # to include the files on Android. | |
5161 ['OS=="android"', { | |
5162 'sources/': [ | |
5163 ['include', '^app/breakpad_linux\\.(cc|h)$'], | |
5164 ['include', '^browser/crash_handler_host_linux\\.(cc|h)$'], | |
5165 ['include', '^browser/crash_handler_host_linux_stub\\.cc$'], | |
jam
2012/06/18 15:34:44
nit: do you really need regular expressions here (
Xianzhu
2012/06/20 07:58:21
Using 'sources/' is important here otherwise I mus
| |
5166 ], | |
5167 }], | |
5168 ], | |
5158 }, | 5169 }, |
5159 { | 5170 { |
5160 'target_name': 'autofill_regexes', | 5171 'target_name': 'autofill_regexes', |
5161 'type': 'none', | 5172 'type': 'none', |
5162 'actions': [{ | 5173 'actions': [{ |
5163 'action_name': 'autofill_regexes', | 5174 'action_name': 'autofill_regexes', |
5164 'inputs': [ | 5175 'inputs': [ |
5165 '<(DEPTH)/build/escape_unicode.py', | 5176 '<(DEPTH)/build/escape_unicode.py', |
5166 'browser/autofill/autofill_regex_constants.cc.utf8', | 5177 'browser/autofill/autofill_regex_constants.cc.utf8', |
5167 ], | 5178 ], |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5248 'browser/metrics/proto/study.proto', | 5259 'browser/metrics/proto/study.proto', |
5249 ], | 5260 ], |
5250 'variables': { | 5261 'variables': { |
5251 'proto_in_dir': 'browser/metrics/proto', | 5262 'proto_in_dir': 'browser/metrics/proto', |
5252 'proto_out_dir': 'chrome/browser/metrics/proto', | 5263 'proto_out_dir': 'chrome/browser/metrics/proto', |
5253 }, | 5264 }, |
5254 'includes': [ '../build/protoc.gypi' ] | 5265 'includes': [ '../build/protoc.gypi' ] |
5255 }, | 5266 }, |
5256 ], | 5267 ], |
5257 } | 5268 } |
OLD | NEW |