| 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("//chrome/chrome_tests.gni") | 6 import("//chrome/chrome_tests.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 # GYP version: chrome/chrome_tests.gypi:automation_client_lib | |
| 10 # (embed_js_in_cpp action) | |
| 11 action("embed_js_in_cpp") { | 9 action("embed_js_in_cpp") { |
| 12 script = "embed_js_in_cpp.py" | 10 script = "embed_js_in_cpp.py" |
| 13 | 11 |
| 14 js_files = [ | 12 js_files = [ |
| 15 "js/add_cookie.js", | 13 "js/add_cookie.js", |
| 16 "js/call_function.js", | 14 "js/call_function.js", |
| 17 "js/execute_async_script.js", | 15 "js/execute_async_script.js", |
| 18 "js/focus.js", | 16 "js/focus.js", |
| 19 "js/get_element_region.js", | 17 "js/get_element_region.js", |
| 20 "js/is_option_element_toggleable.js", | 18 "js/is_option_element_toggleable.js", |
| 21 ] | 19 ] |
| 22 | 20 |
| 23 inputs = [ "cpp_source.py" ] + js_files | 21 inputs = [ "cpp_source.py" ] + js_files |
| 24 | 22 |
| 25 outputs = [ | 23 outputs = [ |
| 26 "$target_gen_dir/chrome/js.cc", | 24 "$target_gen_dir/chrome/js.cc", |
| 27 "$target_gen_dir/chrome/js.h", | 25 "$target_gen_dir/chrome/js.h", |
| 28 ] | 26 ] |
| 29 args = [ | 27 args = [ |
| 30 "--directory", | 28 "--directory", |
| 31 rebase_path("$target_gen_dir/chrome", root_build_dir), | 29 rebase_path("$target_gen_dir/chrome", root_build_dir), |
| 32 ] | 30 ] |
| 33 args += rebase_path(js_files, root_build_dir) | 31 args += rebase_path(js_files, root_build_dir) |
| 34 } | 32 } |
| 35 | 33 |
| 36 # GYP version: chrome/chrome_tests.gypi:automation_client_lib | |
| 37 # (embed_user_data_dir_in_cpp action) | |
| 38 action("embed_user_data_dir_in_cpp") { | 34 action("embed_user_data_dir_in_cpp") { |
| 39 script = "embed_user_data_dir_in_cpp.py" | 35 script = "embed_user_data_dir_in_cpp.py" |
| 40 | 36 |
| 41 files = [ | 37 files = [ |
| 42 "chrome/preferences.txt", | 38 "chrome/preferences.txt", |
| 43 "chrome/local_state.txt", | 39 "chrome/local_state.txt", |
| 44 ] | 40 ] |
| 45 | 41 |
| 46 inputs = [ "cpp_source.py" ] + files | 42 inputs = [ "cpp_source.py" ] + files |
| 47 outputs = [ | 43 outputs = [ |
| 48 "$target_gen_dir/chrome/user_data_dir.cc", | 44 "$target_gen_dir/chrome/user_data_dir.cc", |
| 49 "$target_gen_dir/chrome/user_data_dir.h", | 45 "$target_gen_dir/chrome/user_data_dir.h", |
| 50 ] | 46 ] |
| 51 | 47 |
| 52 args = [ | 48 args = [ |
| 53 "--directory", | 49 "--directory", |
| 54 rebase_path("$target_gen_dir/chrome", root_build_dir), | 50 rebase_path("$target_gen_dir/chrome", root_build_dir), |
| 55 ] | 51 ] |
| 56 args += rebase_path(files, root_build_dir) | 52 args += rebase_path(files, root_build_dir) |
| 57 } | 53 } |
| 58 | 54 |
| 59 # GYP version: chrome/chrome_tests.gypi:automation_client_lib | |
| 60 # (embed_extension_in_cpp action) | |
| 61 action("embed_extension_in_cpp") { | 55 action("embed_extension_in_cpp") { |
| 62 script = "embed_extension_in_cpp.py" | 56 script = "embed_extension_in_cpp.py" |
| 63 | 57 |
| 64 files = [ | 58 files = [ |
| 65 "extension/background.js", | 59 "extension/background.js", |
| 66 "extension/manifest.json", | 60 "extension/manifest.json", |
| 67 ] | 61 ] |
| 68 | 62 |
| 69 inputs = [ "cpp_source.py" ] + files | 63 inputs = [ "cpp_source.py" ] + files |
| 70 outputs = [ | 64 outputs = [ |
| 71 "$target_gen_dir/chrome/embedded_automation_extension.cc", | 65 "$target_gen_dir/chrome/embedded_automation_extension.cc", |
| 72 "$target_gen_dir/chrome/embedded_automation_extension.h", | 66 "$target_gen_dir/chrome/embedded_automation_extension.h", |
| 73 ] | 67 ] |
| 74 | 68 |
| 75 args = [ | 69 args = [ |
| 76 "--directory", | 70 "--directory", |
| 77 rebase_path("$target_gen_dir/chrome", root_build_dir), | 71 rebase_path("$target_gen_dir/chrome", root_build_dir), |
| 78 ] | 72 ] |
| 79 args += rebase_path(files, root_build_dir) | 73 args += rebase_path(files, root_build_dir) |
| 80 } | 74 } |
| 81 | 75 |
| 82 # GYP version: chrome/chrome_tests.gypi:automation_client_lib | |
| 83 source_set("automation_client_lib") { | 76 source_set("automation_client_lib") { |
| 84 sources = [ | 77 sources = [ |
| 85 "chrome/adb.h", | 78 "chrome/adb.h", |
| 86 "chrome/adb_impl.cc", | 79 "chrome/adb_impl.cc", |
| 87 "chrome/adb_impl.h", | 80 "chrome/adb_impl.h", |
| 88 "chrome/automation_extension.cc", | 81 "chrome/automation_extension.cc", |
| 89 "chrome/automation_extension.h", | 82 "chrome/automation_extension.h", |
| 90 "chrome/chrome.h", | 83 "chrome/chrome.h", |
| 91 "chrome/chrome_android_impl.cc", | 84 "chrome/chrome_android_impl.cc", |
| 92 "chrome/chrome_android_impl.h", | 85 "chrome/chrome_android_impl.h", |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 "//third_party/zlib:minizip", | 186 "//third_party/zlib:minizip", |
| 194 "//third_party/zlib:zip", | 187 "//third_party/zlib:zip", |
| 195 "//ui/accessibility:ax_gen", | 188 "//ui/accessibility:ax_gen", |
| 196 "//ui/base", | 189 "//ui/base", |
| 197 "//ui/gfx", | 190 "//ui/gfx", |
| 198 "//ui/gfx/geometry", | 191 "//ui/gfx/geometry", |
| 199 "//url", | 192 "//url", |
| 200 ] | 193 ] |
| 201 } | 194 } |
| 202 | 195 |
| 203 # GYP version: chrome/chrome_tests.gypi:chromedriver_lib | |
| 204 # (embed_version_in_cpp action) | |
| 205 action("embed_version_in_cpp") { | 196 action("embed_version_in_cpp") { |
| 206 script = "embed_version_in_cpp.py" | 197 script = "embed_version_in_cpp.py" |
| 207 inputs = [ | 198 inputs = [ |
| 208 "cpp_source.py", | 199 "cpp_source.py", |
| 209 "VERSION", | 200 "VERSION", |
| 210 ] | 201 ] |
| 211 outputs = [ | 202 outputs = [ |
| 212 "$target_gen_dir/version.cc", | 203 "$target_gen_dir/version.cc", |
| 213 "$target_gen_dir/version.h", | 204 "$target_gen_dir/version.h", |
| 214 ] | 205 ] |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 ":lib", | 400 ":lib", |
| 410 "//base", | 401 "//base", |
| 411 "//base/test:run_all_unittests", | 402 "//base/test:run_all_unittests", |
| 412 "//net", | 403 "//net", |
| 413 "//net:http_server", | 404 "//net:http_server", |
| 414 "//net:test_support", | 405 "//net:test_support", |
| 415 "//testing/gtest", | 406 "//testing/gtest", |
| 416 "//url", | 407 "//url", |
| 417 ] | 408 ] |
| 418 } | 409 } |
| OLD | NEW |