| 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 import("config.gni") | 5 import("config.gni") |
| 6 if (is_clang) { | 6 if (is_clang) { |
| 7 import("//build/config/clang/clang.gni") | 7 import("//build/config/clang/clang.gni") |
| 8 } | 8 } |
| 9 | 9 |
| 10 visibility = [ "//third_party/WebKit/*" ] | 10 visibility = [ "//third_party/WebKit/*" ] |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 ] | 24 ] |
| 25 } | 25 } |
| 26 | 26 |
| 27 # config ----------------------------------------------------------------------- | 27 # config ----------------------------------------------------------------------- |
| 28 | 28 |
| 29 config("config") { | 29 config("config") { |
| 30 include_dirs = [ | 30 include_dirs = [ |
| 31 ".", | 31 ".", |
| 32 "..", | 32 "..", |
| 33 "$root_gen_dir/blink", | 33 "$root_gen_dir/blink", |
| 34 "$root_gen_dir/third_party/WebKit", |
| 34 ] | 35 ] |
| 35 | 36 |
| 36 cflags = [] | 37 cflags = [] |
| 37 defines = [] | 38 defines = [] |
| 38 | 39 |
| 39 if (is_win) { | 40 if (is_win) { |
| 40 cflags += [ | 41 cflags += [ |
| 41 "/wd4305", # Truncation from 'type1' to 'type2'. | 42 "/wd4305", # Truncation from 'type1' to 'type2'. |
| 42 "/wd4324", # Struct padded due to declspec(align). | 43 "/wd4324", # Struct padded due to declspec(align). |
| 43 "/wd4714", # Function marked forceinline not inlined. | 44 "/wd4714", # Function marked forceinline not inlined. |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 } | 107 } |
| 107 } | 108 } |
| 108 | 109 |
| 109 if (is_mac) { | 110 if (is_mac) { |
| 110 # This sets up precompiled headers for Mac. | 111 # This sets up precompiled headers for Mac. |
| 111 config("mac_precompiled_headers") { | 112 config("mac_precompiled_headers") { |
| 112 precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir) | 113 precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir) |
| 113 precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h" | 114 precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h" |
| 114 } | 115 } |
| 115 } | 116 } |
| OLD | NEW |