| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 'js_compile_bundle.gypi' | 355 'js_compile_bundle.gypi' |
| 356 ], | 356 ], |
| 357 }, | 357 }, |
| 358 { | 358 { |
| 359 # GN version: //ios/web:web_ui_bundle | 359 # GN version: //ios/web:web_ui_bundle |
| 360 'target_name': 'ios_web_ui_js_bundle', | 360 'target_name': 'ios_web_ui_js_bundle', |
| 361 'type': 'none', | 361 'type': 'none', |
| 362 'variables': { | 362 'variables': { |
| 363 'closure_entry_point': '__crWeb.webUIBundle', | 363 'closure_entry_point': '__crWeb.webUIBundle', |
| 364 'js_bundle_files': [ | 364 'js_bundle_files': [ |
| 365 'webui/resources/web_ui_base.js', | 365 '../third_party/requirejs/require.js', |
| 366 'webui/resources/web_ui_base.js', |
| 366 'webui/resources/web_ui_bind.js', | 367 'webui/resources/web_ui_bind.js', |
| 367 'webui/resources/web_ui_bundle.js', | 368 'webui/resources/web_ui_bundle.js', |
| 368 'webui/resources/web_ui_favicons.js', | 369 'webui/resources/web_ui_favicons.js', |
| 370 'webui/resources/web_ui_module_load_notifier.js', |
| 369 'webui/resources/web_ui_send.js', | 371 'webui/resources/web_ui_send.js', |
| 370 ], | 372 ], |
| 371 }, | 373 }, |
| 372 'sources': [ | 374 'sources': [ |
| 373 'webui/resources/web_ui_base.js', | 375 '../third_party/requirejs/require.js', |
| 376 'webui/resources/web_ui_base.js', |
| 374 'webui/resources/web_ui_bind.js', | 377 'webui/resources/web_ui_bind.js', |
| 375 'webui/resources/web_ui_bundle.js', | 378 'webui/resources/web_ui_bundle.js', |
| 376 'webui/resources/web_ui_favicons.js', | 379 'webui/resources/web_ui_favicons.js', |
| 380 'webui/resources/web_ui_module_load_notifier.js', |
| 377 'webui/resources/web_ui_send.js', | 381 'webui/resources/web_ui_send.js', |
| 378 ], | 382 ], |
| 379 '!sources': [ | 383 '!sources': [ |
| 380 # Remove all js files except web_ui_bundle. Those files should not be | 384 # Remove all js files except web_ui_bundle. Those files should not be |
| 381 # copied with the rest of resources, as they just Closure dependencies | 385 # copied with the rest of resources, as they just Closure dependencies |
| 382 # for web_ui_bundle.js. Dependencies were added as sources, so they get | 386 # for web_ui_bundle.js. Dependencies were added as sources, so they get |
| 383 # indexed by Xcode. | 387 # indexed by Xcode. |
| 388 '../third_party/requirejs/require.js', |
| 384 'webui/resources/web_ui_base.js', | 389 'webui/resources/web_ui_base.js', |
| 385 'webui/resources/web_ui_bind.js', | 390 'webui/resources/web_ui_bind.js', |
| 386 'webui/resources/web_ui_favicons.js', | 391 'webui/resources/web_ui_favicons.js', |
| 392 'webui/resources/web_ui_module_load_notifier.js', |
| 387 'webui/resources/web_ui_send.js', | 393 'webui/resources/web_ui_send.js', |
| 388 ], | 394 ], |
| 389 'link_settings': { | 395 'link_settings': { |
| 390 'mac_bundle_resources': [ | 396 'mac_bundle_resources': [ |
| 391 '<(SHARED_INTERMEDIATE_DIR)/web_ui_bundle.js', | 397 '<(SHARED_INTERMEDIATE_DIR)/web_ui_bundle.js', |
| 392 ], | 398 ], |
| 393 }, | 399 }, |
| 394 'includes': [ | 400 'includes': [ |
| 395 'js_compile_bundle.gypi' | 401 'js_compile_bundle.gypi' |
| 396 ], | 402 ], |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 'public/test/test_web_client.h', | 470 'public/test/test_web_client.h', |
| 465 'public/test/test_web_client.mm', | 471 'public/test/test_web_client.mm', |
| 466 'public/test/test_web_state.h', | 472 'public/test/test_web_state.h', |
| 467 'public/test/test_web_state.mm', | 473 'public/test/test_web_state.mm', |
| 468 'public/test/test_web_thread.h', | 474 'public/test/test_web_thread.h', |
| 469 'public/test/test_web_thread_bundle.h', | 475 'public/test/test_web_thread_bundle.h', |
| 470 'public/test/test_web_view_content_view.h', | 476 'public/test/test_web_view_content_view.h', |
| 471 'public/test/test_web_view_content_view.mm', | 477 'public/test/test_web_view_content_view.mm', |
| 472 'test/crw_fake_web_controller_observer.h', | 478 'test/crw_fake_web_controller_observer.h', |
| 473 'test/crw_fake_web_controller_observer.mm', | 479 'test/crw_fake_web_controller_observer.mm', |
| 480 'test/test_url_constants.cc', |
| 481 'test/test_url_constants.h', |
| 474 'test/test_web_thread.cc', | 482 'test/test_web_thread.cc', |
| 475 'test/test_web_thread_bundle.cc', | 483 'test/test_web_thread_bundle.cc', |
| 476 'test/web_int_test.h', | 484 'test/web_int_test.h', |
| 477 'test/web_int_test.mm', | 485 'test/web_int_test.mm', |
| 478 'test/web_test.h', | 486 'test/web_test.h', |
| 479 'test/web_test.mm', | 487 'test/web_test.mm', |
| 480 'test/web_test_suite.cc', | 488 'test/web_test_suite.cc', |
| 481 'test/web_test_suite.h', | 489 'test/web_test_suite.h', |
| 482 'test/wk_web_view_crash_utils.h', | 490 'test/wk_web_view_crash_utils.h', |
| 483 'test/wk_web_view_crash_utils.mm', | 491 'test/wk_web_view_crash_utils.mm', |
| 484 ], | 492 ], |
| 485 }, | 493 }, |
| 486 { | 494 { |
| 487 # GN version: //ios/web:user_agent | 495 # GN version: //ios/web:user_agent |
| 488 'target_name': 'user_agent', | 496 'target_name': 'user_agent', |
| 489 'type': 'static_library', | 497 'type': 'static_library', |
| 490 'include_dirs': [ | 498 'include_dirs': [ |
| 491 '../..', | 499 '../..', |
| 492 ], | 500 ], |
| 493 'dependencies': [ | 501 'dependencies': [ |
| 494 '../../base/base.gyp:base' | 502 '../../base/base.gyp:base' |
| 495 ], | 503 ], |
| 496 'sources': [ | 504 'sources': [ |
| 497 'public/user_agent.h', | 505 'public/user_agent.h', |
| 498 'public/user_agent.mm', | 506 'public/user_agent.mm', |
| 499 ], | 507 ], |
| 500 }, | 508 }, |
| 501 ], | 509 ], |
| 502 } | 510 } |
| OLD | NEW |