| 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 # This config is applied to internal Angle targets (not pushed to dependents). | 5 # This config is applied to internal Angle targets (not pushed to dependents). |
| 6 config("internal_config") { | 6 config("internal_config") { |
| 7 include_dirs = [ | 7 include_dirs = [ |
| 8 "include", | 8 "include", |
| 9 "src", | 9 "src", |
| 10 ] | 10 ] |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 } | 274 } |
| 275 } else { | 275 } else { |
| 276 # While Angle is being updated, we copy a temporary hardcoded commit.h. This | 276 # While Angle is being updated, we copy a temporary hardcoded commit.h. This |
| 277 # is copied both as commit.h and angle_commit.h. The angle roll will rename | 277 # is copied both as commit.h and angle_commit.h. The angle roll will rename |
| 278 # this file from commit.h to angle_commit.h and we don't want to make the | 278 # this file from commit.h to angle_commit.h and we don't want to make the |
| 279 # udpate more complicated than necessary. | 279 # udpate more complicated than necessary. |
| 280 group("commit_id") { | 280 group("commit_id") { |
| 281 deps = [ ":copy_angle_commit_h", ":copy_commit_h" ] | 281 deps = [ ":copy_angle_commit_h", ":copy_commit_h" ] |
| 282 } | 282 } |
| 283 | 283 |
| 284 hardcoded_commit = [ "//tools/gn/secondary/third_party/angle/angle_commit.h" ] | 284 hardcoded_commit = [ "//build/secondary/third_party/angle/angle_commit.h" ] |
| 285 copy("copy_angle_commit_h") { | 285 copy("copy_angle_commit_h") { |
| 286 sources = hardcoded_commit | 286 sources = hardcoded_commit |
| 287 outputs = [ "$root_gen_dir/angle_commit.h" ] | 287 outputs = [ "$root_gen_dir/angle_commit.h" ] |
| 288 } | 288 } |
| 289 copy("copy_commit_h") { | 289 copy("copy_commit_h") { |
| 290 sources = hardcoded_commit | 290 sources = hardcoded_commit |
| 291 outputs = [ "$root_gen_dir/commit.h" ] | 291 outputs = [ "$root_gen_dir/commit.h" ] |
| 292 } | 292 } |
| 293 } | 293 } |
| 294 | 294 |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 include_dirs = [ "src/libGLESv2" ] | 635 include_dirs = [ "src/libGLESv2" ] |
| 636 libs = [ "d3d9.lib" ] | 636 libs = [ "d3d9.lib" ] |
| 637 | 637 |
| 638 deps = [ | 638 deps = [ |
| 639 ":commit_id", | 639 ":commit_id", |
| 640 ":includes", | 640 ":includes", |
| 641 ":libGLESv2", | 641 ":libGLESv2", |
| 642 ] | 642 ] |
| 643 } | 643 } |
| 644 } # is_win | 644 } # is_win |
| OLD | NEW |