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 4558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4569 'libraries': [ | 4569 'libraries': [ |
4570 '-lXss', | 4570 '-lXss', |
4571 ], | 4571 ], |
4572 }, | 4572 }, |
4573 }], | 4573 }], |
4574 ['os_posix == 1 and OS != "mac"', { | 4574 ['os_posix == 1 and OS != "mac"', { |
4575 'sources': [ 'browser/crash_handler_host_linuxish.h', ], | 4575 'sources': [ 'browser/crash_handler_host_linuxish.h', ], |
4576 'conditions': [ | 4576 'conditions': [ |
4577 ['linux_breakpad==1', { | 4577 ['linux_breakpad==1', { |
4578 'sources': [ | 4578 'sources': [ |
4579 'app/breakpad_linuxish.cc', | 4579 'app/breakpad_linux.cc', |
4580 'app/breakpad_linuxish.h', | 4580 'app/breakpad_linux.h', |
4581 'browser/crash_handler_host_linuxish.cc', | 4581 'browser/crash_handler_host_linux.cc', |
4582 ], | 4582 ], |
4583 'dependencies': [ | 4583 'dependencies': [ |
4584 '../breakpad/breakpad.gyp:breakpad_client', | 4584 '../breakpad/breakpad.gyp:breakpad_client', |
4585 # make sure file_version_info_linux.h is generated first. | 4585 # make sure file_version_info_linux.h is generated first. |
4586 'common', | 4586 'common', |
4587 ], | 4587 ], |
4588 'include_dirs': [ | 4588 'include_dirs': [ |
4589 # breakpad_linuxish.cc uses generated file_version_info_linux.h. | 4589 # breakpad_linux.cc uses generated file_version_info_linux.h. |
4590 '<(SHARED_INTERMEDIATE_DIR)', | 4590 '<(SHARED_INTERMEDIATE_DIR)', |
4591 '../breakpad/src', | 4591 '../breakpad/src', |
4592 ], | 4592 ], |
4593 }, { # linux_breakpad==0 | 4593 }, { # linux_breakpad==0 |
4594 'sources': [ | 4594 'sources': [ |
4595 'browser/crash_handler_host_linuxish_stub.cc', | 4595 'browser/crash_handler_host_linux_stub.cc', |
4596 ], | 4596 ], |
4597 }], | 4597 }], |
4598 ], | 4598 ], |
4599 }], | 4599 }], |
4600 ['use_aura==0', { | 4600 ['use_aura==0', { |
4601 'sources/': [ | 4601 'sources/': [ |
4602 ['exclude', '^browser/ui/webui/gesture_config_ui.cc'], | 4602 ['exclude', '^browser/ui/webui/gesture_config_ui.cc'], |
4603 ['exclude', '^browser/ui/webui/gesture_config_ui.h'] | 4603 ['exclude', '^browser/ui/webui/gesture_config_ui.h'] |
4604 ], | 4604 ], |
4605 }], | 4605 }], |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5151 ['exclude', '^browser/ui/gtk/select_file_dialog_impl_kde.cc'], | 5151 ['exclude', '^browser/ui/gtk/select_file_dialog_impl_kde.cc'], |
5152 ['include', '^browser/ui/views/select_file_dialog_extension.cc'], | 5152 ['include', '^browser/ui/views/select_file_dialog_extension.cc'], |
5153 ['include', '^browser/ui/views/select_file_dialog_extension.h'], | 5153 ['include', '^browser/ui/views/select_file_dialog_extension.h'], |
5154 ]}, { | 5154 ]}, { |
5155 'sources/': [ | 5155 'sources/': [ |
5156 ['exclude', '^browser/ui/views/select_file_dialog_extension.cc'], | 5156 ['exclude', '^browser/ui/views/select_file_dialog_extension.cc'], |
5157 ['exclude', '^browser/ui/views/select_file_dialog_extension.h'], | 5157 ['exclude', '^browser/ui/views/select_file_dialog_extension.h'], |
5158 ]} | 5158 ]} |
5159 ], | 5159 ], |
5160 ], | 5160 ], |
5161 'target_conditions': [ | |
5162 # We need 'target_conditions' to override default filename_rules | |
Mark Mentovai
2012/06/21 14:49:38
Don’t use “we” in comments.
Xianzhu
2012/06/24 04:04:48
Done.
| |
5163 # to include the files on Android. | |
5164 ['OS=="android"', { | |
5165 'sources': [ | |
5166 ['include', '^app/breakpad_linux.cc'], | |
Mark Mentovai
2012/06/21 14:49:38
Since you’re using regular expressions, use proper
Xianzhu
2012/06/24 04:04:48
I used \\. and $ in the previous change set, but n
Mark Mentovai
2012/06/24 12:33:15
Xianzhu wrote:
Xianzhu
2012/06/26 11:49:27
Should we file a bug to add them elsewhere?
On 20
| |
5167 ['include', '^browser/crash_handler_host_linux.cc'], | |
5168 ['include', '^browser/crash_handler_host_linux_stub.cc'], | |
5169 ], | |
5170 }], | |
5171 ], | |
5161 }, | 5172 }, |
5162 { | 5173 { |
5163 'target_name': 'autofill_regexes', | 5174 'target_name': 'autofill_regexes', |
5164 'type': 'none', | 5175 'type': 'none', |
5165 'actions': [{ | 5176 'actions': [{ |
5166 'action_name': 'autofill_regexes', | 5177 'action_name': 'autofill_regexes', |
5167 'inputs': [ | 5178 'inputs': [ |
5168 '<(DEPTH)/build/escape_unicode.py', | 5179 '<(DEPTH)/build/escape_unicode.py', |
5169 'browser/autofill/autofill_regex_constants.cc.utf8', | 5180 'browser/autofill/autofill_regex_constants.cc.utf8', |
5170 ], | 5181 ], |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5251 'browser/metrics/proto/study.proto', | 5262 'browser/metrics/proto/study.proto', |
5252 ], | 5263 ], |
5253 'variables': { | 5264 'variables': { |
5254 'proto_in_dir': 'browser/metrics/proto', | 5265 'proto_in_dir': 'browser/metrics/proto', |
5255 'proto_out_dir': 'chrome/browser/metrics/proto', | 5266 'proto_out_dir': 'chrome/browser/metrics/proto', |
5256 }, | 5267 }, |
5257 'includes': [ '../build/protoc.gypi' ] | 5268 'includes': [ '../build/protoc.gypi' ] |
5258 }, | 5269 }, |
5259 ], | 5270 ], |
5260 } | 5271 } |
OLD | NEW |