| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 action("embed_js_in_cpp") { | 8 action("embed_js_in_cpp") { |
| 9 script = "embed_js_in_cpp.py" | 9 script = "embed_js_in_cpp.py" |
| 10 | 10 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 266 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 267 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 267 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 268 | 268 |
| 269 # Also compile the generated version files. | 269 # Also compile the generated version files. |
| 270 sources += get_target_outputs(":embed_version_in_cpp") | 270 sources += get_target_outputs(":embed_version_in_cpp") |
| 271 | 271 |
| 272 # These aren't automatically filtered out. | 272 # These aren't automatically filtered out. |
| 273 if (!use_x11) { | 273 if (!use_x11) { |
| 274 sources -= [ "keycode_text_conversion_x.cc" ] | 274 sources -= [ "keycode_text_conversion_x.cc" ] |
| 275 } | 275 } |
| 276 if (!use_ozone) { | 276 if (!use_ozone && !use_x11) { |
| 277 sources -= [ "keycode_text_conversion_ozone.cc" ] | 277 sources -= [ "keycode_text_conversion_ozone.cc" ] |
| 278 } | 278 } |
| 279 | 279 |
| 280 deps = [ | 280 deps = [ |
| 281 ":automation_client_lib", | 281 ":automation_client_lib", |
| 282 ":embed_version_in_cpp", | 282 ":embed_version_in_cpp", |
| 283 "//base", | 283 "//base", |
| 284 "//base/third_party/dynamic_annotations", | 284 "//base/third_party/dynamic_annotations", |
| 285 "//chrome/common:constants", | 285 "//chrome/common:constants", |
| 286 "//chrome/common:version_header", | 286 "//chrome/common:version_header", |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 "//base", | 402 "//base", |
| 403 "//base/test:run_all_unittests", | 403 "//base/test:run_all_unittests", |
| 404 "//net", | 404 "//net", |
| 405 "//net:http_server", | 405 "//net:http_server", |
| 406 "//net:test_support", | 406 "//net:test_support", |
| 407 "//testing/gtest", | 407 "//testing/gtest", |
| 408 "//ui/events:test_support", | 408 "//ui/events:test_support", |
| 409 "//url", | 409 "//url", |
| 410 ] | 410 ] |
| 411 } | 411 } |
| OLD | NEW |