Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Side by Side Diff: ios/web/ios_web.gyp

Issue 1393303003: [iOS][GN] Port ios_web_unittests to build with gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios_third_party_blink
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 23 matching lines...) Expand all
34 'public/app/web_main_delegate.h', 34 'public/app/web_main_delegate.h',
35 'public/app/web_main_parts.h', 35 'public/app/web_main_parts.h',
36 'public/app/web_main_parts.mm', 36 'public/app/web_main_parts.mm',
37 ], 37 ],
38 }, 38 },
39 # Note: any embedder using ios_web will for now need to include either 39 # Note: any embedder using ios_web will for now need to include either
40 # ios_web_thread (any new embedder) or ios_web_content_thread_shim (Chrome). 40 # ios_web_thread (any new embedder) or ios_web_content_thread_shim (Chrome).
41 # This will become unnecessary once Chrome switches to using ios_web_thread, 41 # This will become unnecessary once Chrome switches to using ios_web_thread,
42 # at which point that will be folded into this target. 42 # at which point that will be folded into this target.
43 { 43 {
44 # GN version: //ios/web
44 'target_name': 'ios_web', 45 'target_name': 'ios_web',
45 'type': 'static_library', 46 'type': 'static_library',
46 'include_dirs': [ 47 'include_dirs': [
47 '../..', 48 '../..',
48 ], 49 ],
49 'dependencies': [ 50 'dependencies': [
50 'ios_web_core', 51 'ios_web_core',
51 'js_resources', 52 'js_resources',
52 'user_agent', 53 'user_agent',
53 '../../base/base.gyp:base', 54 '../../base/base.gyp:base',
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 'public/navigation_manager.h', 168 'public/navigation_manager.h',
168 'public/referrer.h', 169 'public/referrer.h',
169 'public/referrer_util.cc', 170 'public/referrer_util.cc',
170 'public/referrer_util.h', 171 'public/referrer_util.h',
171 'public/security_style.h', 172 'public/security_style.h',
172 'public/ssl_status.cc', 173 'public/ssl_status.cc',
173 'public/ssl_status.h', 174 'public/ssl_status.h',
174 'public/string_util.h', 175 'public/string_util.h',
175 'public/url_scheme_util.h', 176 'public/url_scheme_util.h',
176 'public/url_util.h', 177 'public/url_util.h',
177 'public/user_agent.h',
178 'public/user_agent.mm',
179 'public/user_metrics.h', 178 'public/user_metrics.h',
180 'public/web/url_data_source_ios.h', 179 'public/web/url_data_source_ios.h',
181 'public/web_client.h', 180 'public/web_client.h',
182 'public/web_client.mm', 181 'public/web_client.mm',
183 'public/web_controller_factory.h', 182 'public/web_controller_factory.h',
184 'public/web_controller_factory.mm', 183 'public/web_controller_factory.mm',
185 'public/web_kit_constants.h', 184 'public/web_kit_constants.h',
186 'public/web_state/credential.h', 185 'public/web_state/credential.h',
187 'public/web_state/crw_web_controller_observer.h', 186 'public/web_state/crw_web_controller_observer.h',
188 'public/web_state/crw_web_user_interface_delegate.h', 187 'public/web_state/crw_web_user_interface_delegate.h',
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 'include_dirs': [ 357 'include_dirs': [
359 '../..', 358 '../..',
360 ], 359 ],
361 'sources': [ 360 'sources': [
362 'web_thread_adapter.cc', 361 'web_thread_adapter.cc',
363 'web_thread_adapter.h', 362 'web_thread_adapter.h',
364 ], 363 ],
365 }, 364 },
366 # Target shared by ios_web and CrNet. 365 # Target shared by ios_web and CrNet.
367 { 366 {
367 # GN version: //ios/web:core
368 'target_name': 'ios_web_core', 368 'target_name': 'ios_web_core',
369 'type': 'static_library', 369 'type': 'static_library',
370 'dependencies': [ 370 'dependencies': [
371 '../../base/base.gyp:base', 371 '../../base/base.gyp:base',
372 ], 372 ],
373 'include_dirs': [ 373 'include_dirs': [
374 '../..', 374 '../..',
375 ], 375 ],
376 'sources': [ 376 'sources': [
377 'crw_network_activity_indicator_manager.h', 377 'crw_network_activity_indicator_manager.h',
378 'crw_network_activity_indicator_manager.mm', 378 'crw_network_activity_indicator_manager.mm',
379 'history_state_util.h', 379 'history_state_util.h',
380 'history_state_util.mm', 380 'history_state_util.mm',
381 ], 381 ],
382 }, 382 },
383 { 383 {
384 # GN version: //ios/web:web_bundle_ui
384 'target_name': 'ios_web_js_bundle_ui', 385 'target_name': 'ios_web_js_bundle_ui',
385 'type': 'none', 386 'type': 'none',
386 'variables': { 387 'variables': {
387 'closure_entry_point': '__crWeb.webBundle', 388 'closure_entry_point': '__crWeb.webBundle',
388 'js_bundle_files': [ 389 'js_bundle_files': [
389 'web_state/js/resources/base.js', 390 'web_state/js/resources/base.js',
390 'web_state/js/resources/common.js', 391 'web_state/js/resources/common.js',
391 'web_state/js/resources/console.js', 392 'web_state/js/resources/console.js',
392 'web_state/js/resources/core.js', 393 'web_state/js/resources/core.js',
393 'web_state/js/resources/core_dynamic_ui.js', 394 'web_state/js/resources/core_dynamic_ui.js',
(...skipping 10 matching lines...) Expand all
404 'link_settings': { 405 'link_settings': {
405 'mac_bundle_resources': [ 406 'mac_bundle_resources': [
406 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_ui.js', 407 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_ui.js',
407 ], 408 ],
408 }, 409 },
409 'includes': [ 410 'includes': [
410 'js_compile_bundle.gypi' 411 'js_compile_bundle.gypi'
411 ], 412 ],
412 }, 413 },
413 { 414 {
415 # GN version: //ios/web:web_bundle_wk
414 'target_name': 'ios_web_js_bundle_wk', 416 'target_name': 'ios_web_js_bundle_wk',
415 'type': 'none', 417 'type': 'none',
416 'variables': { 418 'variables': {
417 'closure_entry_point': '__crWeb.webBundle', 419 'closure_entry_point': '__crWeb.webBundle',
418 'js_bundle_files': [ 420 'js_bundle_files': [
419 'web_state/js/resources/base.js', 421 'web_state/js/resources/base.js',
420 'web_state/js/resources/common.js', 422 'web_state/js/resources/common.js',
421 'web_state/js/resources/console.js', 423 'web_state/js/resources/console.js',
422 'web_state/js/resources/core.js', 424 'web_state/js/resources/core.js',
423 'web_state/js/resources/core_dynamic_wk.js', 425 'web_state/js/resources/core_dynamic_wk.js',
(...skipping 10 matching lines...) Expand all
434 'link_settings': { 436 'link_settings': {
435 'mac_bundle_resources': [ 437 'mac_bundle_resources': [
436 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_wk.js', 438 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_wk.js',
437 ], 439 ],
438 }, 440 },
439 'includes': [ 441 'includes': [
440 'js_compile_bundle.gypi' 442 'js_compile_bundle.gypi'
441 ], 443 ],
442 }, 444 },
443 { 445 {
446 # GN version: //ios/web:js_resources
444 'target_name': 'js_resources', 447 'target_name': 'js_resources',
445 'type': 'none', 448 'type': 'none',
446 'dependencies': [ 449 'dependencies': [
447 'ios_web_js_bundle_ui', 450 'ios_web_js_bundle_ui',
448 'ios_web_js_bundle_wk', 451 'ios_web_js_bundle_wk',
449 ], 452 ],
450 'sources': [ 453 'sources': [
451 'web_state/js/resources/plugin_placeholder.js', 454 'web_state/js/resources/plugin_placeholder.js',
452 'web_state/js/resources/window_id.js', 455 'web_state/js/resources/window_id.js',
453 'webui/resources/web_ui.js', 456 'webui/resources/web_ui.js',
454 ], 457 ],
455 'link_settings': { 458 'link_settings': {
456 'mac_bundle_resources': [ 459 'mac_bundle_resources': [
457 '<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js', 460 '<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js',
458 '<(SHARED_INTERMEDIATE_DIR)/window_id.js', 461 '<(SHARED_INTERMEDIATE_DIR)/window_id.js',
459 '<(SHARED_INTERMEDIATE_DIR)/web_ui.js', 462 '<(SHARED_INTERMEDIATE_DIR)/web_ui.js',
460 ], 463 ],
461 }, 464 },
462 'includes': [ 465 'includes': [
463 'js_compile_checked.gypi' 466 'js_compile_checked.gypi'
464 ], 467 ],
465 }, 468 },
466 { 469 {
470 # GN version: //ios/web:test_support
467 'target_name': 'test_support_ios_web', 471 'target_name': 'test_support_ios_web',
468 'type': 'static_library', 472 'type': 'static_library',
469 'dependencies': [ 473 'dependencies': [
470 'ios_web_thread', 474 'ios_web_thread',
471 'test_support_ios_web_without_threads', 475 'test_support_ios_web_without_threads',
472 ], 476 ],
473 'include_dirs': [ 477 'include_dirs': [
474 '../..', 478 '../..',
475 ], 479 ],
476 'sources': [ 480 'sources': [
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 'test/crw_fake_web_controller_observer.mm', 547 'test/crw_fake_web_controller_observer.mm',
544 'test/web_test.h', 548 'test/web_test.h',
545 'test/web_test.mm', 549 'test/web_test.mm',
546 'test/web_test_suite.cc', 550 'test/web_test_suite.cc',
547 'test/web_test_suite.h', 551 'test/web_test_suite.h',
548 'test/wk_web_view_crash_utils.h', 552 'test/wk_web_view_crash_utils.h',
549 'test/wk_web_view_crash_utils.mm', 553 'test/wk_web_view_crash_utils.mm',
550 ], 554 ],
551 }, 555 },
552 { 556 {
557 # GN version: //ios/web:user_agent
553 'target_name': 'user_agent', 558 'target_name': 'user_agent',
554 'type': 'static_library', 559 'type': 'static_library',
555 'include_dirs': [ 560 'include_dirs': [
556 '../..', 561 '../..',
557 ], 562 ],
558 'dependencies': [ 563 'dependencies': [
559 '../../base/base.gyp:base' 564 '../../base/base.gyp:base'
560 ], 565 ],
561 'sources': [ 566 'sources': [
562 'public/user_agent.h', 567 'public/user_agent.h',
563 'public/user_agent.mm', 568 'public/user_agent.mm',
564 ], 569 ],
565 }, 570 },
566 ], 571 ],
567 } 572 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698