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

Side by Side Diff: BUILD.gn

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: undo deletion of includes in ui/ozone/common/BUILD.gn Created 3 years, 11 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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 if (is_linux && !is_chromeos && !is_chromecast && !use_ozone) { 370 if (is_linux && !is_chromeos && !is_chromecast && !use_ozone) {
371 # TODO(thomasanderson): Remove this once we build using 371 # TODO(thomasanderson): Remove this once we build using
372 # GTK3 by default. (crbug.com/132847, crbug.com/79722) 372 # GTK3 by default. (crbug.com/132847, crbug.com/79722)
373 deps += [ "//chrome/browser/ui/libgtkui:libgtk3ui" ] 373 deps += [ "//chrome/browser/ui/libgtkui:libgtk3ui" ]
374 } 374 }
375 375
376 if (use_ozone) { 376 if (use_ozone) {
377 deps += [ 377 deps += [
378 "//ui/ozone", 378 "//ui/ozone",
379 "//ui/ozone:ozone_unittests", 379 "//ui/ozone:ozone_unittests",
380 "//ui/ozone/common/mojo:interfaces",
381 "//ui/ozone/common/mojo:ozone_struct_traits_unittests",
kylechar 2017/01/17 21:39:46 Only include this target. It has a dependency on t
thanhph1 2017/01/17 22:30:30 Done.
382 "//ui/ozone/common/mojo:test_interfaces",
380 "//ui/ozone/gl:ozone_gl_unittests", 383 "//ui/ozone/gl:ozone_gl_unittests",
381 ] 384 ]
382 } 385 }
383 386
384 if (use_x11 || ozone_platform_x11) { 387 if (use_x11 || ozone_platform_x11) {
385 deps += [ "//tools/xdisplaycheck" ] 388 deps += [ "//tools/xdisplaycheck" ]
386 } 389 }
387 390
388 if (v8_use_external_startup_data) { 391 if (v8_use_external_startup_data) {
389 deps += [ "//gin:gin_v8_snapshot_fingerprint" ] 392 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 assert(target_name != "") # Mark as used. 1103 assert(target_name != "") # Mark as used.
1101 sources = invoker.actual_sources 1104 sources = invoker.actual_sources
1102 assert( 1105 assert(
1103 sources == invoker.actual_sources, 1106 sources == invoker.actual_sources,
1104 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1107 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1105 } 1108 }
1106 1109
1107 assert_valid_out_dir("_unused") { 1110 assert_valid_out_dir("_unused") {
1108 actual_sources = [ "$root_build_dir/foo" ] 1111 actual_sources = [ "$root_build_dir/foo" ]
1109 } 1112 }
OLDNEW
« no previous file with comments | « no previous file | mojo/public/tools/bindings/chromium_bindings_configuration.gni » ('j') | ui/ozone/common/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698