Commit 50bcf83c authored by thakis's avatar thakis Committed by Commit bot

mac/gn: Build performance_browser_tests

With this, all *tests binaries built in the gyp build are also built
in the gn build on Mac (except remoting).

Also remove an unused js2webui rule in the gyp version of the target:
The target doesn't contain any .js files.

BUG=431177

Review-Url: https://codereview.chromium.org/2035083003
Cr-Commit-Position: refs/heads/master@{#397784}
parent 9a148922
...@@ -2786,43 +2786,6 @@ ...@@ -2786,43 +2786,6 @@
'sources': [ 'sources': [
'<@(performance_browser_tests_sources)', '<@(performance_browser_tests_sources)',
], ],
'rules': [
{
'rule_name': 'js2webui',
'extension': 'js',
'msvs_external_rule': 1,
'variables': {
'conditions': [
['v8_use_external_startup_data==1', {
'external_v8': 'y',
}, {
'external_v8': 'n',
}],
],
},
'inputs': [
'<(gypv8sh)',
'<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
'<(mock_js)',
'<(test_api_js)',
'<(js2gtest)',
],
'outputs': [
'<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc',
'<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
],
'process_outputs_as_sources': 1,
'action': [
'python',
'<@(_inputs)',
'webui',
'--external', '<(external_v8)',
'<(RULE_INPUT_PATH)',
'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
'<@(_outputs)',
],
},
],
'conditions': [ 'conditions': [
['OS=="win"', { ['OS=="win"', {
'sources': [ 'sources': [
......
...@@ -2308,7 +2308,7 @@ if (!is_android) { ...@@ -2308,7 +2308,7 @@ if (!is_android) {
} }
} }
if (is_win || (is_linux && !is_chromeos)) { if (!is_android && !is_ios && !is_chromecast) {
test("performance_browser_tests") { test("performance_browser_tests") {
sources = sources =
rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources, rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment