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