| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Define the common dependencies that contain all the actual | 8 # Define the common dependencies that contain all the actual |
| 9 # Chromium functionality. This list gets pulled in below by | 9 # Chromium functionality. This list gets pulled in below by |
| 10 # the link of the actual chrome (or chromium) executable on | 10 # the link of the actual chrome (or chromium) executable on |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 { | 65 { |
| 66 'rule_name': 'grit', | 66 'rule_name': 'grit', |
| 67 'extension': 'grd', | 67 'extension': 'grd', |
| 68 'variables': { | 68 'variables': { |
| 69 'conditions': [ | 69 'conditions': [ |
| 70 ['branding=="Chrome"', { | 70 ['branding=="Chrome"', { |
| 71 # TODO(mmoss) The .grd files look for _google_chrome, but for | 71 # TODO(mmoss) The .grd files look for _google_chrome, but for |
| 72 # consistency they should look for GOOGLE_CHROME_BUILD like C++. | 72 # consistency they should look for GOOGLE_CHROME_BUILD like C++. |
| 73 # Clean this up when Windows moves to gyp. | 73 # Clean this up when Windows moves to gyp. |
| 74 'chrome_build': '_google_chrome', | 74 'chrome_build': '_google_chrome', |
| 75 » » 'branded_env': 'CHROMIUM_BUILD=google_chrome', | 75 'branded_env': 'CHROMIUM_BUILD=google_chrome', |
| 76 }, { # else: branding!="Chrome" | 76 }, { # else: branding!="Chrome" |
| 77 'chrome_build': '_chromium', | 77 'chrome_build': '_chromium', |
| 78 » » 'branded_env': 'CHROMIUM_BUILD=chromium', | 78 'branded_env': 'CHROMIUM_BUILD=chromium', |
| 79 }], | 79 }], |
| 80 ], | 80 ], |
| 81 }, | 81 }, |
| 82 'inputs': [ | 82 'inputs': [ |
| 83 '../tools/grit/grit.py', | 83 '../tools/grit/grit.py', |
| 84 ], | 84 ], |
| 85 'outputs': [ | 85 'outputs': [ |
| 86 '<(SHARED_INTERMEDIATE_DIR)/chrome/grit/<(RULE_INPUT_ROOT).h', | 86 '<(SHARED_INTERMEDIATE_DIR)/chrome/grit/<(RULE_INPUT_ROOT).h', |
| 87 '<(SHARED_INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_ROOT).pak', | 87 '<(SHARED_INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_ROOT).pak', |
| 88 ], | 88 ], |
| 89 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', | 89 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', |
| 90 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/chrome', | 90 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| 91 '-D', '<(chrome_build)', | 91 '-D', '<(chrome_build)', |
| 92 » '-E', '<(branded_env)', | 92 '-E', '<(branded_env)', |
| 93 » ], | 93 ], |
| 94 'message': 'Generating resources from <(RULE_INPUT_PATH)', | 94 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
| 95 }, | 95 }, |
| 96 ], | 96 ], |
| 97 'sources': [ | 97 'sources': [ |
| 98 # Data resources. | 98 # Data resources. |
| 99 'browser/debugger/resources/debugger_resources.grd', | 99 'browser/debugger/resources/debugger_resources.grd', |
| 100 'browser/browser_resources.grd', | 100 'browser/browser_resources.grd', |
| 101 'common/common_resources.grd', | 101 'common/common_resources.grd', |
| 102 'renderer/renderer_resources.grd', | 102 'renderer/renderer_resources.grd', |
| 103 ], | 103 ], |
| (...skipping 3591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3695 }, | 3695 }, |
| 3696 { | 3696 { |
| 3697 'target_name': 'activex_test_control', | 3697 'target_name': 'activex_test_control', |
| 3698 'type': 'shared_library', | 3698 'type': 'shared_library', |
| 3699 'include_dirs': [ | 3699 'include_dirs': [ |
| 3700 '..', | 3700 '..', |
| 3701 '<(INTERMEDIATE_DIR)', | 3701 '<(INTERMEDIATE_DIR)', |
| 3702 ], | 3702 ], |
| 3703 'link_settings': { | 3703 'link_settings': { |
| 3704 'libraries': [ | 3704 'libraries': [ |
| 3705 » '-lcomsuppw.lib', | 3705 '-lcomsuppw.lib', |
| 3706 ], | 3706 ], |
| 3707 }, | 3707 }, |
| 3708 'sources': [ | 3708 'sources': [ |
| 3709 'test/activex_test_control/activex_test_control.cc', | 3709 'test/activex_test_control/activex_test_control.cc', |
| 3710 'test/activex_test_control/activex_test_control.def', | 3710 'test/activex_test_control/activex_test_control.def', |
| 3711 'test/activex_test_control/activex_test_control.idl', | 3711 'test/activex_test_control/activex_test_control.idl', |
| 3712 'test/activex_test_control/activex_test_control.rc', | 3712 'test/activex_test_control/activex_test_control.rc', |
| 3713 'test/activex_test_control/activex_test_control.rgs', | 3713 'test/activex_test_control/activex_test_control.rgs', |
| 3714 'test/activex_test_control/chrome_test_control.bmp', | 3714 'test/activex_test_control/chrome_test_control.bmp', |
| 3715 'test/activex_test_control/chrome_test_control.cc', | 3715 'test/activex_test_control/chrome_test_control.cc', |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4247 # Use outputs of this action as inputs for the main target build. | 4247 # Use outputs of this action as inputs for the main target build. |
| 4248 # Seems as a misnomer but makes this happy on Linux (scons). | 4248 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4249 'process_outputs_as_sources': 1, | 4249 'process_outputs_as_sources': 1, |
| 4250 }, | 4250 }, |
| 4251 ], # 'actions' | 4251 ], # 'actions' |
| 4252 }, | 4252 }, |
| 4253 ] | 4253 ] |
| 4254 }], | 4254 }], |
| 4255 ], # 'conditions' | 4255 ], # 'conditions' |
| 4256 } | 4256 } |
| OLD | NEW |