| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//ios/web/js_compile.gni") | 5 import("//ios/web/js_compile.gni") |
| 6 | 6 |
| 7 source_set("web") { | 7 source_set("web") { |
| 8 configs += [ "//build/config/compiler:enable_arc" ] | 8 configs += [ "//build/config/compiler:enable_arc" ] |
| 9 sources = [ | 9 sources = [ |
| 10 "dom_altering_lock.h", | 10 "dom_altering_lock.h", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 ] | 173 ] |
| 174 outputs = [ | 174 outputs = [ |
| 175 "{{bundle_resources_dir}}/{{source_file_part}}", | 175 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 176 ] | 176 ] |
| 177 } | 177 } |
| 178 | 178 |
| 179 js_compile_bundle("chrome_bundle") { | 179 js_compile_bundle("chrome_bundle") { |
| 180 closure_entry_point = "__crWeb.chromeBundle" | 180 closure_entry_point = "__crWeb.chromeBundle" |
| 181 sources = [ | 181 sources = [ |
| 182 "resources/chrome_bundle.js", | 182 "resources/chrome_bundle.js", |
| 183 "resources/print.js", |
| 184 ] |
| 185 |
| 186 deps = [ |
| 187 ":payment_request", |
| 188 ] |
| 189 } |
| 190 |
| 191 js_compile_unchecked("payment_request") { |
| 192 sources = [ |
| 183 "resources/payment_request.js", | 193 "resources/payment_request.js", |
| 184 "resources/print.js", | |
| 185 ] | 194 ] |
| 186 } | 195 } |
| 187 | 196 |
| 188 source_set("web_internal") { | 197 source_set("web_internal") { |
| 189 configs += [ "//build/config/compiler:enable_arc" ] | 198 configs += [ "//build/config/compiler:enable_arc" ] |
| 190 sources = [ | 199 sources = [ |
| 191 "auto_reload_bridge.h", | 200 "auto_reload_bridge.h", |
| 192 "auto_reload_bridge.mm", | 201 "auto_reload_bridge.mm", |
| 193 "auto_reload_controller.h", | 202 "auto_reload_controller.h", |
| 194 "auto_reload_controller.mm", | 203 "auto_reload_controller.mm", |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 "error_page_generator_unittest.mm", | 282 "error_page_generator_unittest.mm", |
| 274 "external_app_launcher_unittest.mm", | 283 "external_app_launcher_unittest.mm", |
| 275 ] | 284 ] |
| 276 deps = [ | 285 deps = [ |
| 277 ":test_support", | 286 ":test_support", |
| 278 ":web_internal", | 287 ":web_internal", |
| 279 "//base", | 288 "//base", |
| 280 "//base/test:test_support", | 289 "//base/test:test_support", |
| 281 "//components/content_settings/core/browser", | 290 "//components/content_settings/core/browser", |
| 282 "//components/infobars/core", | 291 "//components/infobars/core", |
| 292 "//ios/chrome/browser", |
| 283 "//ios/chrome/browser/browser_state:test_support", | 293 "//ios/chrome/browser/browser_state:test_support", |
| 284 "//ios/chrome/browser/content_settings:content_settings", | 294 "//ios/chrome/browser/content_settings:content_settings", |
| 285 "//ios/chrome/browser/find_in_page", | 295 "//ios/chrome/browser/find_in_page", |
| 286 "//ios/chrome/browser/infobars", | 296 "//ios/chrome/browser/infobars", |
| 287 "//ios/chrome/browser/ui", | 297 "//ios/chrome/browser/ui", |
| 288 "//ios/web", | 298 "//ios/web", |
| 289 "//ios/web:test_support", | 299 "//ios/web:test_support", |
| 290 "//net", | 300 "//net", |
| 291 "//testing/gtest", | 301 "//testing/gtest", |
| 292 "//third_party/ocmock", | 302 "//third_party/ocmock", |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 "early_page_script_perftest.mm", | 360 "early_page_script_perftest.mm", |
| 351 ] | 361 ] |
| 352 deps = [ | 362 deps = [ |
| 353 "//base", | 363 "//base", |
| 354 "//ios/chrome/test/base:perf_test_support", | 364 "//ios/chrome/test/base:perf_test_support", |
| 355 "//ios/web", | 365 "//ios/web", |
| 356 "//ios/web:test_support", | 366 "//ios/web:test_support", |
| 357 ] | 367 ] |
| 358 libs = [ "WebKit.framework" ] | 368 libs = [ "WebKit.framework" ] |
| 359 } | 369 } |
| OLD | NEW |